[Unbound-users] Talking directly to root servers

W.C.A. Wijngaards wouter at nlnetlabs.nl
Fri Aug 17 06:55:17 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Murray,

On 08/17/2012 08:43 AM, Murray S. Kucherawy wrote:
> 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?

Yes.  It uses the root servers.  If you call resolvconf() it uses
resolv.conf.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQLerVAAoJEJ9vHC1+BF+NveMQAK7cHeSMb0koKQeoEATG5sTW
4yE+m4FwYiAb0JAa02UusfEt8gZHdDbL2emhrrwAQFuU6WQb/b8DyuEUGjqhWzlK
OBbaHXY9F56GL2wgB/CLdQSc+mh455/SW9VHY0ZYaDnBmRtYLxpKLcjiF8R5WIOn
4qfcDWaXyz+7RiVlXorTTL9EMtqAK+pe9hS+6EdGM90VM0TiyieOIMJw8cSuRU0O
GZrK4sfb/SkfcjoHWolDuI8DZI6NDP+a3CmvwyF+0krxiR332ewYg0WvRdl9269Z
3aZ8ZzdJxaltA5PllzN+M6e2UaAwZJ40hWwQovmBCTTF6dIECCwSCRYcpv2QQka8
Cm9GigJAOws8s002B0PCz02if8bDHn0UGn1kYuObhBToJ0SRou9APqI3gS2FSK5m
+HSnLCn4cPHYMQ9RiwvSbpG4syf+uvARIGURrU7LNTw9aommQf/Yb0ymY8WpFWVT
nhllh7+uncJMbtFAQjj6MSb5Nm3ef8Ee01IVgS58KfPHNhC4RKY5MGcZ/5BRiufl
mvTEgnOVkChFBbMnjUAwr9kNhkIjAeeUYuh2wovGNpHEs4nXqVZvrlsagIvhkvJm
L5NSefHl4nZ58QK4T/IH8ERNVJ3wtNMlL4C5r9FFCtKm/CpElz6ZtbqQFWDoVwep
Hzl5S5QhPssJ62hGaBw5
=m+rU
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list