I've got a server with a bind9 server installed on it. I want to use itself as as DNS to resolve local addresses and forward other traffic to other DNSs.
I know that I've got to change the file
/etc/resolv.conf that looks like this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1
If I add itself (this server's IP is 10.32.0.2) as a nameserver, it works fine. However, when reboot the file gets overwritten (just as it says), how can I change this setting permanently?