How to use included DNS/unbound? #921
|
I'm unsure how to make use of the included DNS / unbound feature and couldn't find it documented anywhere besides setting a bunch of DNS options: https://github.com/qdm12/gluetun/wiki/DNS-options Is this DNS supposed to be internal to the container, i.e. used by the VPN? Should I use the DNS from other containers - if so, wouldn't I need to set the DNS server explicitly in the docker-compose of these other containers since otherwise it would default to A lot of basic questions, but I am really unsure what to do with the DNS, though it sounds interesting. |
Replies: 1 comment 2 replies
|
You can just leave it as default. The unbound server runs and listens on port 53, so the default uses DNS_ADDRESS=127.0.0.1:53 in order to use that server. You could publish port 53 from gluetun to have your home/local DNS go through the vpn + dns over tls if you want. You may want to subscribe to #137 which will use https://github.com/qdm12/dns/tree/v2.0.0-beta which I have coded from scratch. I'm currently working on it now so it should be done soon. It offers a few things to on top of Unbound, notably less memory usage when blocking some lists. |
You can just leave it as default. The unbound server runs and listens on port 53, so the default uses DNS_ADDRESS=127.0.0.1:53 in order to use that server.
You could publish port 53 from gluetun to have your home/local DNS go through the vpn + dns over tls if you want.
You may want to subscribe to #137 which will use https://github.com/qdm12/dns/tree/v2.0.0-beta which I have coded from scratch. I'm currently working on it now so it should be done soon. It offers a few things to on top of Unbound, notably less memory usage when blocking some lists.