options {
directory “/var/named”;
forwarders {172.16.10.1; 172.16.10.2;};
forward only;
};
I had to setup a forwarding DNS servers today and since I had never done it before I was looking for a quick way.
I installed the bind rpm package that comes with RHEL5 and was puzzled since it did not create the /etc/named.conf. So I created one with this content:
options {
directory “/var/named”;
forwarders {10.1.1.1; 10.1.1.2;};
forward only;
};
Changed the ownership to named:named and started the service.
Quite simple and in our lab it is a simple way to address an issue with routes to access a DNS Server.