Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-18-2005, 12:51 AM
|
#1
|
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Rep:
|
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
|
|
|
04-18-2005, 02:42 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
Could you post here your primary's and secondary's DNS named.conf files, so we can help you?
Regards
|
|
|
04-18-2005, 06:27 AM
|
#3
|
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Original Poster
Rep:
|
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";
|
|
|
04-18-2005, 07:19 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
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
|
|
|
04-18-2005, 11:14 PM
|
#5
|
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Original Poster
Rep:
|
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
|
|
|
04-19-2005, 01:57 AM
|
#6
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
According to bind messages "example_bcp.in.example.com" is an invalid hostname. Check the zone file to correct it.
|
|
|
04-19-2005, 04:54 AM
|
#7
|
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Original Poster
Rep:
|
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.
|
|
|
04-19-2005, 05:59 AM
|
#8
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
You're right. According to rfc 952 "_" is not permitted in a hostname
|
|
|
04-19-2005, 11:23 AM
|
#9
|
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Original Poster
Rep:
|
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
|
|
|
04-20-2005, 01:55 AM
|
#10
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
I personally use this and
this links. You may find other using google
Regards
|
|
|
All times are GMT -5. The time now is 02:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|