DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 9th, 2003, 12:54 AM
st0n3wall st0n3wall is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 st0n3wall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Need help with BIND

Hi all,

I am new to BIND. I have BIND 9 installed on my OpenBSD 3.3 box. I already have BIND 8 running on another OpenBSD box as my primary DNS server. Now my question is, will BIND 9 work with BIND 8? I want to be able to setup my BIND 9 OpenBSD box as a secondary DNS server. Or do I have to downgrade my BIND to BIND 8 to get them to work together?

Thanks in advance.

Reply With Quote
  #2  
Old September 9th, 2003, 02:31 PM
Prime Mover Prime Mover is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Jersey
Posts: 64 Prime Mover User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Define 'work together'.

If you mean, the one needs to replicate zone files from the other because it's secondary, then BIND 9 should be compatible with 8, and should be able to perform replication just fine.

If you mean, run BIND 8 and 9 on the same box/ip, then no, obviously that will not work.

Head here:

http://www.isc.org/products/BIND/

The FAQ can answer some questions, and they've got PDF docs about 9 and I would assume that it covers dealing with different versions.

Reply With Quote
  #3  
Old September 9th, 2003, 11:08 PM
st0n3wall st0n3wall is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 st0n3wall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the tip. I just found out that the primary server is using BIND 4. Maybe I am being lazy here (to sift thru countless information on the net), but can I just change the format of the information in named.boot to BIND 9 format and save it on my slave server as named.conf?

eg. (in named.boot on my primary server)
primary test.com test.com

becomes: (in named.conf in my slave server)
zone "test.com" {
type slave;
file "slave/test.com";
masters {
111.222.333.13;
};
};

Will this work?

Reply With Quote
  #4  
Old September 10th, 2003, 08:43 AM
Prime Mover Prime Mover is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Jersey
Posts: 64 Prime Mover User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Will,

I run bind 8 nameservers, but I think the bind 9 configs are similar... if that's not the case, someone chime in and let me know.

You should be able to get yours working as is, I've had bind 8 secondary servers pulling off of bind 4 servers in the past. It should just be a config similar to yours.

My secondary zone conf lines look like so, which appear to be pretty much exactly what you've found:

zone "domain.com" {
type slave;
file "secondary/domain.com.sec";
masters {
192.168.0.10;
};
};

For personal readability, I like to tab out the colums, it's easier to find out what belongs where.

Also, I like to name my secondary zone files with .sec, again, for readability, and to be able to distinguish secondaried zones from primary zones.

-Gary
__________________
Trying to change its program
Trying to change the mode...crack the code
Images conflicting into data overload

Reply With Quote
  #5  
Old September 10th, 2003, 08:43 AM
Prime Mover Prime Mover is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Jersey
Posts: 64 Prime Mover User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Heh, I just read my post, and it looks like the forum is stripping out the tabs...

Ok, so yeah, you're dead on.

-Gary

Reply With Quote
  #6  
Old October 1st, 2003, 05:39 PM
st0n3wall st0n3wall is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 st0n3wall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Gary,

I finally got my slave server up and running. I suppose I went about this the wrong way at the beginning. Lots of work configuring bind 4 and bind 8 compared to bind 9. All I had to do was to install and just update the named.conf file.



But I ran into a problem. I created a bogus domain on my primary server, updated named.conf on both server. I changed the ip address in the domain record on the master to see if my slave dns server will update the record. But I left the secondary server for a day now, and it's still pointing to the old ip address. How do you make the slave server check if the record has been updated?

Reply With Quote
  #7  
Old October 1st, 2003, 08:55 PM
st0n3wall st0n3wall is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 st0n3wall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry. It just updated. So everything is cool.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Need help with BIND


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway