BIND DNS replication


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers BIND DNS replication
# 1  
Old 10-23-2002
BIND DNS replication

I have a RedHat 7.1 box that we use for DNS in our System Engineering lab. We have a Windows 2000 box that handles DNS in our main office. The Microsoft Admin and I have been given the task of making both of our domains accessible to each other. I had originally made his domain my forwarder, so my domain could ping workstations on his domain via hostnames, but his workstations cannot ping my machines via hostnames.

The Microsoft Admin stated that he would not be able to make my domain a forwarder for his(my domain is technically the child), so he suggested that both domains be replication partners for each other. The Microsoft Admin has set up his DNS machine as a replication partner for my server, but I am having problems setting up my RedHat box as a replication partner for his. I do have a copy of A and NS records on my DNS server from the office domain, but I do not know what I need to type into /etc/named.conf. I tried typing in :

zone"mymachine.mydomain.com"{
allow-transfer {x.x.x.x;} ;
};
for my zone and his, but that did nothing. I also tried typing in:

zone "mymachine.mydomain.com" {
type slave;
file "master/mydomain.com";
masters {x.x.x.x;};
};
for both zones, once again, but to no avail. I am using BIND 8.x, which I am not sure supports multimaster replication or just does master-slave replication.

Any help I get will be greatly appreciated, and as always, make all smart a@@ comments funny, so that I may laugh as well!!

Last edited by Jody; 10-24-2002 at 12:08 AM..
# 2  
Old 10-24-2002
From your post I can not figure out the structure - please post the two domains you are dealing with. If you don't want to post the real names, then post examples that corelate to the names.

Example - if your domain is allunix.company.com and the W2k server is company.com then show it as allunix.mycom.com and mycom.com. From your post I only see the one domain since you use "mymachine" which suggest a host, not a sub-domain.

If you are looking to be a slave to the parent domain but a master of the sub-domain, then the parent needs to delegate the sub-domain to you. Look at delegation at Mr. DNS delegation question.
Once that is set up, then you can forward your request to the parent domain and everything should work correctly (since the parent will know that the sub-domain answers will come from your server). Also, your MS admin was correct - setting both servers to be forward to each other would set up a loop that would cause you to lose the function of looking up other domains (and possibly slow your network down too!)

If you are a completely different domain (hidden internally) then you have a different problem.

And, as Mr. DNS states on his page:

When you're down and troubled
and you need a helping hand...
Seek psychiatric help. I just do DNS

(That's the laugh for you)
# 3  
Old 10-24-2002
Ha,ha,hah! Thanks for the laugh! By the way, do you think Mr DNS could tell me how to force replication from my side?
# 4  
Old 10-25-2002
If you haven't bought or borrowed the "DNS and Bind" book from O'Reilly, Mr. DNS doesn't always answer the question (especially if your question can be found in the book). Hey, he needs to make a living too! DNS and Bind book

If you first search through the FAQ section on his site, you may find answers to many of your questions. If you post back the info asked for, myself or one of the other admins helping on this site can probably get you through this.
# 5  
Old 10-25-2002
The 2 domains are jodyx.com( the MS admin) and lab.jodyx.com(Aliases are being used to protect the innocent). I went ahead and used that first Mr DNS link that you gave me and had the MS admin put in NS and A records for my name server. One of my machines had replicated over to the MS admin's DNS machine, which means I have about 15 machines left that need to go over. I also listed his DNS server as an NS record in my DNS box. My replication question, to be more precise than I was, deals with whether or not I can force BIND 8.x to push a copy of a zone to another DNS server, specifically a Windows 2000 server. I do have a friend with a copy of the O'Reilly book, but I did not see anything in there about forcing the replication. Of course, I may not have looked hard enough, either so I may look again just to be sure. Due to the fact that I entered the UNIX/LINUX world on May 20 of this year (ie I am a rookie!!), I am grateful for the help.
# 6  
Old 10-25-2002
From the FAQ on ask Mr DNS

Quote:
> We have a master DNS server A that is not accessible to the public and have
> another DNS server B which our users can use.
> Now we want a third DNS server C to be authoriative for our zone. But C is
> found on another network and cannot reach the master DNS A but can reach B
> So C will have as master the server B.
>
> When a change is made in A, B will get notified by A and perform a zone
> transfer with A. How about C? Can C be notified by B or will it have to
> periodically check B for any change?


C will be notified by B after it transfers the zone from A successfully and loads it. All servers, whether slave or master, will send out NOTIFY messages to all the other "official" name servers (those in the NS RRset) when it successfully loads a zone.

(Unless B is running a BIND 8 version previous to 8.2.3... it didn't following the NOTIFY protocol spec, i.e., slaves wouldn't send NOTIFY messages, only the master would.)
You cannot force a load - you can force the notify by either stopping and starting or reloading bind. Once either the slave or master gets the notify then the changes will be sent.


Some other FAQs that may help:
forwarders, secondary

DHCP, DNS, WINS, can't we all just get along?



Sub-domain or Virtual domain
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Bind (DNS) error on EL 6.4

Gurus I have configured bind 9 on Red hat EL 6.4, it can resolve from hostname i.e from domain name (like cnn.com, bbc.com)but through IP its shows following error. Need your expert opinion to solve it. error 84.23.97.31 Server: 192.168.31.24 Address: 192.168.31.24#53 ** server can't... (1 Reply)
Discussion started by: smazshah
1 Replies

2. Red Hat

Public dns bind 9

Hi Friends, I need help to understand how to publish my public dns to internet. I have configured bind 9 on thel5 server and it working fine. My question is, as i donot want to expose my orginal hostname to outside and my zone files are configured with the NS recorde of the orginal hostname,... (5 Replies)
Discussion started by: arumon
5 Replies

3. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

4. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ns1.website.com. admin@website.com. ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like mysite.com IN A 1.2.3.4 So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

5. Solaris

solaris - BIND / DNS

hi all forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file. so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies

6. UNIX for Dummies Questions & Answers

Dns/bind

Hi, Does anyone know anything about DNS/BIND? I need to tell my dns for every sub-domain foward on to my main domain.... so *.example.com gets sent to exmaple.com. Any ideas. I've looked at bind on my machine and theres about 10 files....i just don't know where to put the rule or exactly... (2 Replies)
Discussion started by: elduderino
2 Replies

7. UNIX for Dummies Questions & Answers

FTP, DNS & BIND

Hi GURUs, I have two queries. 1)I know I can use FTP clients for my File transfer needs, but I want to learn FTP thru command line, any one can point me to some good online resource available to learn FTP command line with examples, of course free except UNIX man pages. 2) Our company has... (4 Replies)
Discussion started by: patras
4 Replies

8. IP Networking

Question on DNS/BIND

I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies

9. UNIX for Dummies Questions & Answers

DNS/BIND question, is it ze germans?

First some back ground info: I am working on a computer running SuSE 7.3 I am still trying to set up a DNS I downloaded BIND 9.2.1 and was following a tutorial about BIND. It said at virtually the start of the tutorial that I should find a file called named.conf in my /etc directory. Yes, I... (1 Reply)
Discussion started by: ignus7
1 Replies

10. UNIX for Advanced & Expert Users

dns replication

my primary dns server is not replicating to secondary. i dont know why. i am running solaris 2.6 on both servers. what should i do?:confused: (2 Replies)
Discussion started by: lealyz
2 Replies
Login or Register to Ask a Question