I'd like to install on Ubuntu 12.04 a DNS server using BIND9. As a first step, I'd just like to configure it as a forwarder for my box only. This is what I do:
1. I deactivate `dnsmasq` editing `/etc/NetworkManager/NetworkManager.conf` by commenting the `dns=dnsmasq` line. Before, the `/etc/resolv.conf` file contained a `nameserver 127.0.0.1` line, and now there is a `nameserver 10.0.2.3` line (my actual DNS server working in a VirtualBox environment). I think it's right, and name resolution (using `dig`) still works. 2. I download BIND9 and the suggested packages with `sudo apt-get install bind9 bind9utils bind9-doc` 3. In `/etc/bind/named.conf.options` I edit the // forwarders { // 0.0.0.0; // }; block with the forwarders { 10.0.2.3; }; block. 4. In `/etc/dhcp/dhclient.conf` I de-comment the `#prepend domain-name-servers 127.0.0.1;` line; using DHCP for my network interface, this allows to have `nameserver 127.0.0.1` as first line on `/etc/resolv.conf`; if I had a static configuration, I would just add a `dns-nameservers 127.0.0.1` line in `/etc/network/interfaces`. 5. Now I restart all services (resolvconf, dhclient, bind9). Well, from this point nothing works. Using Wireshark I can see a lot of DNS queries to/from 10.0.2.3 and also to/from root-servers, but `dig` continues to fail with `status: SERVFAIL`. Why?
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users