On Jan 2, 2012, at 2:16 PM, Barry Margolin wrote:
> If the system resolver is good enough for every other application
> running on the system, it should be good enough for BIND.
>
> Why not at least allow this as an option?

In article <mailman.656.1325532888.68562.bind-us...@lists.isc.org>,
Chuck Swiger <cswi...@mac.com> wrote:
The system resolver will happily provide answers based upon data from
/etc/hosts, YP/NIS, and LDAP which have no relationship to what is in the
DNS.

On 02.01.12 17:03, Barry Margolin wrote:
In that case, you probably shouldn't enable the option.  I'm not even
suggesting that the option be on by default.

Actually, does libresolv really use those other facilities?

highly depends on configuration of host.conf or nsswitch.conf, but afaik hosts are preferred by default on most of systems.

gethostbyname() does, but BIND probably shouldn't use that, because it
loses data like TTLs.

and that is one of reasons why BIND does not (and apparently even should not) use system libresolv and gethost* functions.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Reply via email to