resolv.conf, bind9 and unresolvable local address





I have a machine in intranet (hostname phoenix.local, ip=10.1.1.214)
with bind9 here and it has a zone for a domain called "local" (and the proper reverse-zone), which holds names only valid in the intranet like "imap.local", "smtp.local" ... and "server.local" that points to the machine itself (10.1.1.214)

my resolv.conf holds nameserver 127.0.0.1 and no search- or domain-parameters.

and now troubles begins, cause on the server itself I can only ping the local hostnames when *not* using the FQDN like "imap.local" but only when using the first name like "imap"

#ping imap.local
ping: unknown host imap.local

*but:*

# dig +short imap.local
10.1.1.214

# dig +short @127.0.0.1 imap.local
10.1.1.214

*and:*

# ping imap
PING imap.local (10.1.1.214) 56(84) bytes of data.
64 bytes from phoenix.local (10.1.1.214): icmp_seq=1 ttl=64 time=0.018 ms
64 bytes from phoenix.local (10.1.1.214): icmp_seq=2 ttl=64 time=0.026
ms

why the hell does my local system not know its own full names !!!?????

the only thing that works is pinging the hostname as FQDN

#ping phoenix.local is fine !!


any help appreatiated (and all configs below)

thnx,
peter


# cat /etc/resolv.conf
nameserver 127.0.0.1

# cat named.conf
<skip>
zone "local" {
type master;
file "/etc/bind/db.local";
};

zone "1.1.10.in-addr.arpa" {
type master;
file "/etc/bind/db.10.1.1.rev";
};
<skip>

# cat db.local
$TTL 604800
@ IN SOA localhost. root.localhost. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
NS ns1.local.
MX 5 server.local.
;
server IN A 10.1.1.214
phoenix IN A 10.1.1.214
ns1 IN A 10.1.1.214
ns2 IN A 10.1.1.214
imap IN A 10.1.1.214
smtp IN A 10.1.1.214


# cat db.10.1.1.rev
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
NS localhost.
;

214 PTR phoenix.local.


















.



Relevant Pages

  • Re: adding a second nic
    ... > internal Active Directory domain zone. ... with a gateway of 192.168.1.1 and assign it in DNS as a domain name ... and use that as my internet connection ... on 192.168.1.200 called outside, with hostname ohostname. ...
    (microsoft.public.win2000.dns)
  • Re: Strange problem with linux samba
    ... > When I ping -c1 silvermountain ... hostname resolution is performed through standard ... services that talk to a DNS server. ... will talk to DNS to look for a DNS ...
    (comp.protocols.smb)
  • Perplexing Ultra 60 networking issue
    ... address was bound to the on-board 100 basetT Ethernet port, hme0. ... The plan is to migrate to using rge0, ... hostname in it, just in case, and added the new IP ... On another machine, I run ping -s 192.168.0.5, which should send a steady stream ...
    (comp.unix.solaris)
  • Re: Need help on a strange dns client issue
    ... Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net ... but it can ping the same computer by IP address. ... When pinging by hostname, I get the "Unknown host" message. ... If I stop the DNS Client service however, I can ping the host by ...
    (microsoft.public.windows.server.networking)
  • Re: can not ping hostnames of other subnet
    ... Thanks i can ping when i write hostnames but still i can not add member ... i can ping dns server with ip and hostname ... It can not find the domain name from other subnet so i can not add member ... > Anytime you are trying to ping by hostname, the name needs to be resolved ...
    (microsoft.public.win2000.ras_routing)