Re: Odd name resolution
On Fri, 28 May 2010 22:44:37 -0400, vr wrote:
> On my host I'm not sure why I'm able to ping "hostname.local" and get a
> reply from my local IP. For example, the hosts name in question is
> sager.mydomain.tld.
(...)
Do you have avahi daemon running in that host?
stt008:~# hostname -f
stt008.linux.site
stt008:~# ping -c 3 stt008.local
PING stt008.local (192.168.0.8) 56(84) bytes of data.
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=1 ttl=64 time=0.012 ms
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=2 ttl=64 time=0.009 ms
64 bytes from stt008.linux.site (192.168.0.8): icmp_seq=3 ttl=64 time=0.014 ms
--- stt008.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.009/0.011/0.014/0.004 ms
stt008:~# /etc/init.d/avahi-daemon stop
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
stt008:~# ping -c 3 stt008.local
ping: unknown host stt008.local
Greetings,
--
Camaleón
Reply to: