2

I just switched from systemd-resolved to Unbound as described here to fix some DNS problems with systemd-resolved in Ubuntu 17.10.

How can I just set up a list of preferred dns servers with unbound? Something like nameserver 8.8.8.8, 8.8.4.4.

And how can I check which servers are actually used?

1

Just add this into your unbound.conf

 # Dns over TLS
    forward-zone:
            name: "."
            forward-addr: 1.0.0.1@853
            forward-addr: 9.9.9.9@853
            forward-ssl-upstream: yes
            forward-addr: 1.0.0.1
            forward-addr: 9.9.9.9

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.