FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-29-2010, 02:44 AM
vr
 
Default Odd name resolution

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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: eb68d8fd7fcde1a6d198a142aec57323@192.168.0.66">htt p://lists.debian.org/eb68d8fd7fcde1a6d198a142aec57323@192.168.0.66
 
Old 05-29-2010, 08:57 AM
Camaleón
 
Default 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.05.29.08.57.28@gmail.com">http://lists.debian.org/pan.2010.05.29.08.57.28@gmail.com
 
Old 05-30-2010, 01:28 PM
vr
 
Default Odd name resolution

On Sat, 29 May 2010 08:57:28 +0000 (UTC), Camaleón <noelamac@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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: c1a84cfef6b9f79d189d9943a0e3c9ea@192.168.0.66">htt p://lists.debian.org/c1a84cfef6b9f79d189d9943a0e3c9ea@192.168.0.66
 

Thread Tools




All times are GMT. The time now is 07:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org