named and use of resolv.conf? - how to "learn" this

Lightner, Jeffrey JLightner at dsservices.com
Tue Aug 2 21:06:10 UTC 2016


On the server running BIND if you're trying to resolve addresses with many commands it will use /etc/nsswitch.conf which usually will say to go to "dns" first then to "files" if that doesn't work.   The "dns" tells it to use /etc/resolv.conf.   Therefore you'd want to add 127.0.0.1 to your list of servers in resolv.conf so the sever knows to resolve from "localhost" when you're running commands on the local host that is running BIND.   Other servers you'd add the public IP of the this server to resolv.conf.



-----Original Message-----
From: bind-users [mailto:bind-users-bounces at lists.isc.org] On Behalf Of Darcy Kevin (FCA)
Sent: Tuesday, August 02, 2016 4:19 PM
To: bind-users at lists.isc.org
Subject: RE: named and use of resolv.conf? - how to "learn" this

Is it really necessary to document everything that *isn't* true? That could fill volumes...

named is the thing that resolves stuff; /etc/resolv.conf tells processes whom to talk to if they want to resolve stuff. Put those things together, why would named need /etc/resolv.conf? To talk to *itself*?

												- Kevin



-----Original Message-----
From: bind-users [mailto:bind-users-bounces at lists.isc.org] On Behalf Of Spumonti Spumonti
Sent: Tuesday, August 02, 2016 12:26 PM
To: bind-users at lists.isc.org
Subject: named and use of resolv.conf? - how to "learn" this

(I've done several searches for this first but the general nature of some of these terms returned way too many non-relevant responses)

I was recently told that named does not use resolv.conf when resolving names. This was not something I was aware of but at this point I accept that. The system in question is an authoritative only server, no recursion enabled, that for some zones it hosts, lists secondary name servers in other organizations (in other words these name servers are in zones NOT hosted on this server)

My real question is: where is this documented? I've read DNS books and scoured different sites but couldn't find anything stating this was how named behaved. Maybe I just suck at searching for things or was using imprecise terms.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


More information about the bind-users mailing list