From: vr on
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.

nslookup sager.mydomain.tld works as I'd expect.

nslookup sager.local returns NXDOMAIN.

I have my own DNS server and I don't have a .local zone defined anywhere
that I'm aware of or could find tucked away.

I don't have extra stuff in hosts:
cat /etc/hosts
127.0.0.1 localhost

I don't have a mailname file:
cat /etc/mailname
cat: /etc/mailname: No such file or directory

and my hostname output looks correct:
hostname -f
sager.mydomain.tld

Any ideas where hostname.local comes in?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/eb68d8fd7fcde1a6d198a142aec57323(a)192.168.0.66
From: Camaleón on
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


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.05.29.08.57.28(a)gmail.com
From: vr on
On Sat, 29 May 2010 08:57:28 +0000 (UTC), Camaleón <noelamac(a)gmail.com>
wrote:
> Do you have avahi daemon running in that host?
>

Evidently I do. Thank you for pointing me in the right direction!


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/c1a84cfef6b9f79d189d9943a0e3c9ea(a)192.168.0.66