I am installing my second server in the datacenter but having problems getting to the net with it. I am going to use it as a KVMvirt host and do not want to run bind on its base OS.
My thought was to just refer to it in the bind zones as an additional record (main.example.com is the working server now, main2.example.com is the new one).
I cannot get the new one to reach out to the net, is there something I have to do on the new server to make it resolve correctly (I have listed my nameservers and hosts file and all that)? I think I have to allow my original server, the one hosting the nameservers, to allow the new server access to query, is that right?
or do I just need to add the IN A record with the ip, main2.example.com. IN A xxx.x..x...x..?
this is the first time I ever went with two servers and a bit confused as to proper resolution on the second server without having bind on it...
any help appreciated.
happy friday all
Going to test tomorrow after install, but this is what I am thinking may work
in my example.com, located on main.example.com, /named/db.example.com I am adding main2.example.com. IN A xx.xxx.xxx.xxx (this is the second server's ip address)
in my example.com, located on main.example.com, /named/db.xxx.xxx.xxx.xxx.in-addr.arpa I am adding IN PTR main2.example.com.
In the named.conf, located on main.example.com, I am adding my entire 16 IP block of addresses along with my localhost options { allow-recursion { localhost; xxx.xxx.xxx.xxx /29;}; allow-query { localhost; xxx.xxx.xxx.xxx/29; }; };
I am assuming this will allow the new server to resolve correctly and allow it to reach out to the net to find domain names (so I can use yum update, ssh to it, etc)...and will use this for the KVM guests to resolve in the future too.
any help appreciated.. centos 6 by the way.
On Friday 07 October 2011 06:25, the following was written:
In the named.conf, located on main.example.com, I am adding my entire 16 IP block of addresses along with my localhost options { allow-recursion { localhost; xxx.xxx.xxx.xxx /29;}; allow-query { localhost; xxx.xxx.xxx.xxx/29; }; };
Maybe I am missing something here but if you are only allowing your entire 16 block to query/resolve on your DNS server why are you even running a DNS server? Sounds like an over kill to me. Why not just setup the resolv.conf file to use your Datacenter, Google or some other open DNS server to resolve for YUM?