LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-18-2005, 12:51 AM   #1
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Rep: Reputation: 15
DNS problem


Hello all..


In my company, i configured the mailserver. That server DNS is the slave DNS server. So i put the records in the Master DNS properly. The Master DNS bind version is bind-8.1.2-5 ( Redhat 7.0). And the slave DNS bind version is bind-9.2.1-16 ( redhat 9.0).

I configured the master DNS properly. But it is not updated the slave files in all slave servers.

But i manually copied slave file from another Slave DNS server and put the system record in that slave file. Then restart the named. DNS is resolving successfully(but not all the system).

The host name of new slave server is "example_bcp.in.example.com".

Kindly please help for this issue.

Thanks
 
Old 04-18-2005, 02:42 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Could you post here your primary's and secondary's DNS named.conf files, so we can help you?

Regards
 
Old 04-18-2005, 06:27 AM   #3
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Original Poster
Rep: Reputation: 15
Dear all..

Really sorry for the Duplicate.

Master named.conf file content
---------------------------------------
// generated by named-bootconf.pl

options {
directory "/var/named";

};

/*zone "." {
type hints;
file "named.ca";
};*/


zone "0.0.127.in-addr.arpa" {
notify yes;
type master;
file "named.local";
};

zone "example.com" {
type master;
file "example.com.hosts";
};

zone "in.example.com" {
notify yes;
type master;
file "named.hosts";
};

zone "16.172.in-addr.arpa" {
notify yes;
type master;
file "named.rev";
};

zone "xxx.org" {
notify yes;
type master;
file "xxx.org.hosts";
};

zone "123.10.in-addr.arpa" {
notify yes;
type master;
file "named.rev.dmz";
};


Slave named.conf file content
---------------------------------------

options {
directory "/var/named";

};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

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

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

zone "in.example.com" IN {
type slave;
file "named.hosts.slave";
masters {172.16.2.1;};
};

zone "example.com" IN {
type slave;
file "example.slave";
masters {172.16.2.1;};
};

zone "16.172.in-addr.arpa" IN {
type slave;
file "named.rev.slave";
masters {172.16.2.1;};
};

//include "/etc/rndc.key";
 
Old 04-18-2005, 07:19 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Put:
allow-transfer { ns1-IP; ns2-IP;... };
in the options section of your primary named.conf.
You can take a look at /var/log/messages to see if the primary notifies the secondaries about changes and/or if it refuses zone transfers.

Regards
 
Old 04-18-2005, 11:14 PM   #5
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Original Poster
Rep: Reputation: 15
hi

I tracked the messages file. It shows like..

"unapproved update from [172.16.2.3].1045 for 16.172.in-addr.arpa"
.....
.....
....
"host name "example_bcp.in.example.com" (owner "xxx.org") IN (primary) is invalid - rejecting"


Thanks
 
Old 04-19-2005, 01:57 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
According to bind messages "example_bcp.in.example.com" is an invalid hostname. Check the zone file to correct it.
 
Old 04-19-2005, 04:54 AM   #7
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Original Poster
Rep: Reputation: 15
Hi..

Thanks for your mail. I did give the real company host name. that is just example only. Kindly tell me, is "_" not acceptable in hostname.
 
Old 04-19-2005, 05:59 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
You're right. According to rfc 952 "_" is not permitted in a hostname
 
Old 04-19-2005, 11:23 AM   #9
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Original Poster
Rep: Reputation: 15
Hi

Thanking you very much. now it gives the successful result.

I want RFC standards(like RFC 952) guide. If you know any favorite link kindly tell me.

Thanks
 
Old 04-20-2005, 01:55 AM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
I personally use this and
this links. You may find other using google

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM
DNS problem please help me bruse Linux - Networking 3 04-05-2005 06:59 AM
Possible DNS Problem? Hootah Linux - Networking 2 07-04-2004 02:12 PM
dns problem socket9001 Linux - Networking 1 06-12-2004 07:52 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration