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

Re: Why is FQDN not found?



On Fri, 27 Jul 2012 13:33:07 -0500, Kent West wrote:

> On 07/27/2012 11:35 AM, Camaleón wrote:

(...)

>> I remember something related to the "/etc/nsswitch.conf" file, the
>> order of the queried facilities and also the avahi issue with ".local"
>> domains...
(...)
>> Just for testing purposes yo can try with:
(...)
>> Or:
>>
>> hosts:          files dns mdns4_minimal [NOTFOUND=return] mdns4

(...)

> Changing the order of the hosts: line to:
> 
> hosts:          files dns mdns4_minimal [NOTFOUND=return] mdns4
> 
> as you suggested above, seems to have solved the problem:
> 
> westk@westek:~$ ping k1000.acu.local
> 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.126 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 5001ms rtt min/avg/max/mdev =
> 0.126/0.132/0.138/0.006 ms

(...)

Ah, good!

> Will this cause me any problems?

There shouldn't be any problems as you are only prorizing the order of 
the queried mechanisms. What you should avoid is using a ".local" address 
as the domain name becasuse that's Avahi's realm¹ (I use ".site" 
instead) :-)

¹http://en.wikipedia.org/wiki/.local

Greetings,

-- 
Camaleón


Reply to: