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

Re: Weird DNS error?



On Mon, Oct 24, 2011 at 8:58 PM, Bob Proulx <bob@proulx.com> wrote:
> Greg van Anders wrote:
>>
>> # grep hosts /etc/nsswitch.conf
>> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
>
> I have never seen the mdns4 parts installed upon a pristine install of
> Debian.  I can only guess that something you installed edited that
> file and made those changes.  Probably related to avahi or zeroconf or
> some such.
>
> That mdns_minimal4 [NOTFOUND=return] part bothers me because it says
> that if the domain is a multicast domain (by default .local) and it
> isn't found in the multicast lookup then return immediately host not
> found and stop looking and never look in dns for it.
>
> If you don't have mdns setup then you don't need that configuration.
> And if you do have it setup then you already don't need it since you
> would already know enough to set up your own domain normally.  Saying
> this will bring all of the people who love mdns out of hiding and they
> will post how good it is for them here.  I know this but will say it
> anyway.  Regardless it will help narrow down the problem.
>
> Edit that line and make it like this:
>
>  hosts:          files dns

I'd suggested just deleting the "[NOTFOUND...]" part but the above
might make your DNS queries faster because no multicast DNS request
will be made. That's OK as long as you're not using avahi to resolve
hostnames for some services.


Reply to: