I am crating a DNS environment with FreeBSD 9 boxes. I made a primary and secondary server and the secondary doesn't seem to be getting any zone information from the primary.
I have the named.conf file set up on the primary server like this:
And here is the named.conf file for the secondary server:
The primary DNS IP address is 192.168.1.77
The secondary is 192.168.1.66
So now I started running nslookup commands, When I attempted to run an nslookup to my primary DNS server I get an error. It says that the server can't be found even though I am able to ping the primary DNS from the secondary. What could be wrong here?
I have the named.conf file set up on the primary server like this:
Code:
options {
directory "/etc/namedb";
allow-query { any; };
listen-on port 53 { any; };
};
zone "baronobeefdip.com: {
type master;
file "zones/baronobeefdip.com";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "zones/192.168.1.db";
};
Code:
options {
directory "/etc/namedb";
allow-query { any; };
listen-on port 53 { any; };
};
zone "ns2.baronobeefdip.com: {
type slave;
file "zones/baronobeefdip.com";
masters { 192.168.1.77;};
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "zones/192.168.1.db";
masters { 192.168.1.77; };
};
The secondary is 192.168.1.66
So now I started running nslookup commands, When I attempted to run an nslookup to my primary DNS server I get an error. It says that the server can't be found even though I am able to ping the primary DNS from the secondary. What could be wrong here?