Question about DNS server address definition
paul at nohats.ca
Wed Aug 19 14:21:32 UTC 2015
On Wed, 19 Aug 2015, Rafael Santiago de Souza Netto via Unbound-users wrote:
> I'm new on libunbound. I tried to find in documentation some info about
> how to specify the exact DNS server to be queried when ub_resolve() is
> called but I was not able to found anything related. Is there a way to
> do it?
ugh = ub_ctx_resolvconf(ctx, "/etc/resolv.conf");
You can use a tmp file and specify nameserver 184.108.40.206 in it.
There might be an easier way to do this, but we use the system's
nameserver as forwarder.
More information about the Unbound-users