LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-17-2009, 10:26 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Unhappy 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.

Cheers!
DB

Last edited by deibertine; 08-18-2009 at 01:01 PM. Reason: added info
 
Old 08-17-2009, 11:00 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 08-18-2009, 12:31 AM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by chrism01 View Post
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
 
  


Reply

Tags
bind9, dns, named



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bind installation problem soumalya Linux - Server 2 08-14-2008 05:07 PM
BIND Help - RPM Installation imahen Linux - General 10 02-06-2005 07:41 AM
testing bind installation zzero Linux - Networking 2 03-15-2004 11:10 AM
BIND - Installation and Configuration BenChase Slackware 11 12-18-2003 12:02 AM
Problems with bind installation TransAmJugo Linux - General 1 09-02-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration