[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is FQDN not found?



On Vi, 27 iul 12, 09:45:02, Kent West wrote:
> Why can I ping the hostname, but not the fully-qualified domain name
> of a box?
> 
> 
> westk@westek:~$ ping k1000
> PING k1000.acu.local (150.252.149.1) 56(84) bytes of data.
> 64 bytes from 150.252.149.1: icmp_req=1 ttl=62 time=0.128 ms
> ^C64 bytes from 150.252.149.1: icmp_req=2 ttl=62 time=0.138 ms
> 
> --- k1000.acu.local ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 5002ms
> rtt min/avg/max/mdev = 0.128/0.133/0.138/0.005 ms
> 
> 
> westk@westek:~$ ping k1000.acu.local
> ping: unknown host k1000.acu.local
> 
> 
> westk@westek:~$ cat /etc/resolv.conf
> # Generated by NetworkManager
> domain acu.local
> search acu.local

As far as I know "local" should be the domain name, not "xxxx.local", 
but for zeroconf you wouldn't need to specify it anyway...

> nameserver 150.252.134.8
> nameserver 150.252.134.159
> nameserver 150.252.228.8
> nameserver 150.252.135.4

Is this system configured by DHCP? Are these your machines or your ISPs?

> westk@westek:~$ nslookup k1000
> Server:         150.252.134.8
> Address:        150.252.134.8#53
> 
> Name:   k1000.acu.local
> Address: 150.252.149.1
> 
> westk@westek:~$ nslookup k1000.acu.local
> Server:         150.252.134.8
> Address:        150.252.134.8#53
> 
> Name:   k1000.acu.local
> Address: 150.252.149.1
> 
> 
> I googled for this problem and found instructions to change 1 to 0
> in the /etc/default/avahi-daemon file (after which I did a "sudo
> /etc/init.d/avahi-daemon restart" command), but that didn't solve
> the problem (so I put the /etc/default/avahi-daemon file back to the
> way it was).

Normally "local" is used for mdns a.k.a. zeroconf, for which you 
definitely need avahi-daemon running. Please post also your /etc/hosts, 
/etc/nsswitch.conf and output of 'dpkg -l *avahi*' and 'dpkg -l *mdns*'

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: