Question about DNS server address definition

Hi,

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?

Thanks!
Best regards,
Rafael Santiago

ugh = ub_ctx_resolvconf(ctx, "/etc/resolv.conf");

You can use a tmp file and specify nameserver 1.2.3.4 in it.

There might be an easier way to do this, but we use the system's
nameserver as forwarder.

Paul