Use Bind of your YunoHost instance as your DNS resolver

Hi everyone !

If you want to use Bind of your YunoHost instance as your DNS resolver (local in my case), @roust gave me the how-to, so i’m sharing it for people interested.

you have to edit this file :

/etc/bind/named.conf.options

and add the ip’s of your local machines with (example) :

allow-recursion { 127.0.0.1; ::1; 192.168.x.y; etc; };

Here it is, simple as that !

2 links for more details about this :

http://www.zytrax.com/books/dns/ch7/queries.html#allow-recursion
http://wiki.goldzoneweb.info/quelques_options_de_configuration

I did not try to allow recursion for machines outside my local network and don’t know if this works differently (or if this impact security), so if anyone wants to share about this, feel free to do so !

PS : thanks a lot to @roust for this “trick” and yes, it works fine !