Maintained by: NLnet Labs

[Unbound-users] Talking directly to root servers

Murray S. Kucherawy
Fri Aug 17 08:43:43 CEST 2012


Hi,

I have an application linked against libunbound-1.4.12.  Although
resolv.conf does list some local nameservers, including 127.0.0.1,
strace shows libunbound talking directly to the various
root-servers.net hosts looking for answers.

The online documentation appears to suggest /etc/resolv.conf will be
read and used if ub_ctx_resolvconf() is passed a NULL filename (or, of
course, if it's passed "/etc/resolv.conf"), but it's unclear what
happens if this is never called.  Is it the case that I have to call
this to use resolv.conf and a hard-coded list of root servers is used
otherwise?

Thanks,
-MSK