- Farooq Mohammed Ahmed
- Raspbian (Debian Wheezy)
- Hits: 1697
It’s possible to enable DNS forwarding using BIND and including reverse lookup for the zone. Once you are done with the config of a basic bind server, all you need to do is configure "/etc/bind/named.conf.options and conf.local" with the following options and restart the service.
In this example we have got 2 DNS server's resolving.
SERVER1 = raspi-qud.hm.local = domain : HM.LOCAL : IP: 172.16.64.1
SERVER 2 = viz-raspi-st.dev.local = domain : DEV.LOCAL :IP: 172.16.66.212
We need to resolve local requests for "hm.local" on SERVER 1 and forward any "dev.local" domain requests (forward and reverse lookups) to SERVER 2 and hence need to configure SERVER 1 to achieve this.
To start with add the zone dev.local to "/etc/bind/named.conf.local" and add the forward zone to the config file.Add a comment