Migrating DNS server to Linux
by fawaz25 from LinuxQuestions.org on (#4Z3GS)
Hello everyone.
We are using INFOBLOX device in our company as our DHCP/dns server but this device is giving us some issues related to dns resolvers.*
We are a big environment, and have planned to setup a dns server on CentOS linux migrating it from infoblox device.*
I have seen linux dns servers in small and medium environments. But I am still thinking to give it a try in our environment thinking of the possible repercussions. We have multiple vlans and domains configured.*
I found one dns file from infoblox device which has the following configuration: (just attaching a part of it)*
Code:zone "1.x.x.in-addr.arpa" in { # 1.x.x.in-addr.arpa
* *type master;
* *allow-update { key DHCP_UPDATER_default;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
* *zone "3.x.x.in-addr.arpa" in { # 3.x.x.in-addr.arpa
* *type master;
* *allow-update { key DHCP_UPDATER_default;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
zone "example.com" in { # example.com
* *type slave;
* *masters { x.x.x.x; };
* *allow-update-forwarding { key DHCP_UPDATER_default;* none; };
* *allow-query { any;};
* *allow-transfer { x.x.x.x; x.x.x.x; };
* *file "db.example.com._default";
* *notify explicit;
* *};
* *zone "mydomain.com" in { # mydomain.com
* *type master;
* *allow-update { key DHCP_UPDATER_default; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
* *zone "_sub.mydomain.com" in { # _sub.mydomain.com
* *type master;
* *allow-update { x.x.x.x; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
zone "newdomain.com" in { # newdomain.com
* *type master;
* *allow-update { key DHCP_UPDATER_default; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};As you can see from above configuration file, we have multiple domains and subdomains as forward entries and multiple subnet vlans in reverse entries.*
Can I add all the above configuration in single dns server on centos?
What do you suggest?? And what sort of configuration should be followed?? Should I have 2 separate physical servers one master and other slave?
Please advice.


We are using INFOBLOX device in our company as our DHCP/dns server but this device is giving us some issues related to dns resolvers.*
We are a big environment, and have planned to setup a dns server on CentOS linux migrating it from infoblox device.*
I have seen linux dns servers in small and medium environments. But I am still thinking to give it a try in our environment thinking of the possible repercussions. We have multiple vlans and domains configured.*
I found one dns file from infoblox device which has the following configuration: (just attaching a part of it)*
Code:zone "1.x.x.in-addr.arpa" in { # 1.x.x.in-addr.arpa
* *type master;
* *allow-update { key DHCP_UPDATER_default;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
* *zone "3.x.x.in-addr.arpa" in { # 3.x.x.in-addr.arpa
* *type master;
* *allow-update { key DHCP_UPDATER_default;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
zone "example.com" in { # example.com
* *type slave;
* *masters { x.x.x.x; };
* *allow-update-forwarding { key DHCP_UPDATER_default;* none; };
* *allow-query { any;};
* *allow-transfer { x.x.x.x; x.x.x.x; };
* *file "db.example.com._default";
* *notify explicit;
* *};
* *zone "mydomain.com" in { # mydomain.com
* *type master;
* *allow-update { key DHCP_UPDATER_default; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};
* *zone "_sub.mydomain.com" in { # _sub.mydomain.com
* *type master;
* *allow-update { x.x.x.x; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
zone "newdomain.com" in { # newdomain.com
* *type master;
* *allow-update { key DHCP_UPDATER_default; x.x.x.x; x.x.x.x;* };
* *allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x; };
* *notify yes;
* *};As you can see from above configuration file, we have multiple domains and subdomains as forward entries and multiple subnet vlans in reverse entries.*
Can I add all the above configuration in single dns server on centos?
What do you suggest?? And what sort of configuration should be followed?? Should I have 2 separate physical servers one master and other slave?
Please advice.