LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Installation of new Bind (https://www.linuxquestions.org/questions/linux-server-73/installation-of-new-bind-748308/)

deibertine 08-17-2009 10:26 PM

Installation of new Bind
 
I have installed two new BIND9 servers in my network.

One will act as a primary (10.10.1.15) and the other as secondary (10.10.1.16).

After setting up all bind configs and inputting all of my host machines, clients are unable to resolve names for some reason.

They can go out the internet fine, no problem.

However when I do an nslookup on all of our internal servers, it's giving me this error:
Unknown: Cant find bothandns1.csaa.com: Non-Existent Domain

Also when I start nslookup, it gives me this:
Cant find server name for address 10.10.1.15 Non existent domain. Default servers are not available.

If I do a ping of the server host name, it will error:
The ping request could not find host bothandns1.csaa.com Please check the name and try again.

I have setup a testxp machine and placed all of the new DNS parameters but still having issues.

Can anyone please advise on what have I possibly missed?

I would appreciate it if someone out there can get me out of this dilemma. :cry: :banghead:

Cheers!
DB

chrism01 08-17-2009 11:00 PM

Check your /etc/hosts, /etc/resolv.conf files. Can you ping by ip address? How about firewall settings?

If that doesn't help, you could post your bind configs or maybe attach them if large.

deibertine 08-18-2009 12:31 AM

Quote:

Originally Posted by chrism01 (Post 3647431)
Check your /etc/hosts, /etc/resolv.conf files. Can you ping by ip address? How about firewall settings?

If that doesn't help, you could post your bind configs or maybe attach them if large.

Yes I can ping successfully via IP address to anywhere.
Firewall settings? Not sure which one are you referring to (local or cisco)?

/etc/hosts:
127.0.0.1 localhost bothandns1 mbothandns1.csaa.com
10.10.1.15 bothandns1.csaa.com bothandns1
10.10.1.16 bothandns2.csaa.com
::1 localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/resolv.conf:

search csaa.com
nameserver 10.10.1.15
nameserver 10.10.1.16
nameserver 72.32.166.153
nameserver 72.32.166.154

named.conf:
options {
directory "/etc/bind";
dump-file "/etc/bind/data/cache_dump.db";
statistics-file "/etc/bind/data/named_stats.txt";
allow-transfer { 10.10.1.16; };
/*
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "csaa.com" IN {
type master;
file "pri.csaa.com";
allow-update { none; };
};

zone "nv.csaa.com" IN {
type master;
file "pri.nv.csaa.com";
allow-update { none; };
};

zone "sf.csaa.com" IN {
type master;
file "pri.sf.csaa.com";
allow-update { none; };
};

zone "ca.csaa.com" IN {
type master;
file "pri.ca.csaa.com";
allow-update { none; };
};

zone "vpn.csaa.com" IN {
type master;
file "pri.vpn.csaa.com";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};

zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};

zone "1.11.10.in-addr.arpa" IN {
type master;
file "pri.1.10.10.in-addr.arpa";
allow-update { none; };
};

zone "12.10.10.in-addr.arpa" IN {
type master;
file "pri.12.10.10.in-addr.arpa";
allow-update { none; };
};

zone "10.10.10.in-addr.arpa" IN {
type master;
file "pri.10.10.10.in-addr.arpa";
allow-update { none; };
};

zone "13.10.10.in-addr.arpa" IN {
type master;
file "pri.13.10.10.in-addr.arpa";
allow-update { none; };
};

zone "11.10.10.in-addr.arpa" IN {
type master;
file "pri.11.10.10.in-addr.arpa";
allow-update { none; };
};

zone "8.10.10.in-addr.arpa" IN {
type master;
file "pri.8.10.10.in-addr.arpa";
allow-update { none; };
};

zone "6.10.10.in-addr.arpa" IN {
type master;
file "pri.6.10.10.in-addr.arpa";
allow-update { none; };
};

zone "7.10.10.in-addr.arpa" IN {
type master;
file "pri.7.10.10.in-addr.arpa";
allow-update { none; };
};

include "/etc/bind/rndc.key";

Cheers!
DB


All times are GMT -5. The time now is 12:58 AM.