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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 15th, 2003, 03:21 PM
moogman moogman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 47 moogman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Bind setup

I already have one server up and running and I am using bind 9, I also have a second server up and running and ready to go on line, it is a duplicate of the first server, on a second ip address. My question is about bind do I set up bind on that computer exactly as it is on the first comuter except for the ip address change? I already have my second ns2.mydomain.com pointing at the second ip address.

Reply With Quote
  #2  
Old December 15th, 2003, 04:10 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
That's your choice. Either keep the 2 servers identical by yourself, or configure the second DNS server to keep itself up-to-date based on the first DNS server.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old December 15th, 2003, 04:23 PM
moogman moogman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 47 moogman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
if I wanted to keep it up to date myself should I setup bind exactly as it is on the first one?

Reply With Quote
  #4  
Old December 15th, 2003, 05:05 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I already told you that was one way you can do it, so yes.

Reply With Quote
  #5  
Old December 15th, 2003, 05:37 PM
moogman moogman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 47 moogman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
still cannot get it to work

this is the way I have my zone file setup on the server that works
$TTL 3600
$ORIGIN barnzee.com.

@ IN SOA ns1 administrator (
10 ; Serial
10800 ; Refresh after 3 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400 ) ; Minimum TTL of one day

A 68.209.192.252
NS ns1
NS ns2
MX 10 mail

localhost A 68.209.192.252
ns1 A 68.209.192.252
ns2 A 68.59.110.238
www A 68.209.192.252
mail A 68.209.192.252



now this is the way I have it on the second computer

$TTL 3600
$ORIGIN barnzee.com.

@ IN SOA ns1 administrator (
10 ; Serial
10800 ; Refresh after 3 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400 ) ; Minimum TTL of one day

A 68.59.110.238
NS ns1
NS ns2
MX 10 mail

localhost A 68.59.110.238
ns1 A 68.209.192.252
ns2 A 68.59.110.238
www A 68.59.110.238
mail A 68.209.192.252

What I thought would happen is if the first server is down the second one would pick up the traffic since I have my name servers set up as ns1.barnzee.com 68.209.192.252
and ns2.barnzee.com 68.59.110.238
and registered this way with godaddy.

However if I shut the main server on ns1 down the second one never seems to have the traffic come its way.

Reply With Quote
  #6  
Old December 15th, 2003, 08:14 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
That's right. Theoretically resolvers should try another host dns server when one is down, but all too frequently I see a single downed dns server ruining traffic. Sometimes your domain will resolve and sometimes it won't. So, while multiple dns servers will help distribute load, it does not provide good redundancy in the case one is down.

So make sure your host servers are always up.

Reply With Quote
  #7  
Old December 15th, 2003, 08:55 PM
moogman moogman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 47 moogman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
thanks

It seems to be working now it just was a little slow picking up the 2nd dns

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Bind setup


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 | 
  
 

IBM developerWorks




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