Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

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:
  #1  
Old July 12th, 2012, 12:24 AM
onlinegamesnz onlinegamesnz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 140 onlinegamesnz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 21 m 53 sec
Reputation Power: 6
Question regarding proporgating DNS records

Hi, quick question.

I have a domain www.domain.com and i have it pointing to

ns1.hostingcompany.com
ns2.hostingcompany.com

My question is,

can i set up a DNS zone www.domain.com and set all records to point to one IP. So ns1 will point point all A records for domain.com to 123.xxx.xxx.12

and then setup the same zone www.domain.com on ns2, but this time point all A records for this zone to a different IP like 123.xxx.xxx.66

Thus mean, if NS1 servers go down, i can use NS2 to direct all DNS queries to a different server thus providing redundancy.

Quick EG:

ns1.hostingcompany.com

ZONE: mydomain.com

www (A) - 123.xxx.xxx.12
ftp (A) - 123.xxx.xxx.12
(A) - 123.xxx.xxx.12
mail (A) - 123.xxx.xxx.12
etc

ns2.hostingcompany.com

ZONE: mydomain.com

www (A) - 123.xxx.xxx.66
ftp (A) - 123.xxx.xxx.66
(A) - 123.xxx.xxx.66
mail (A) - 123.xxx.xxx.66
etc


Thanks guys!!

Last edited by onlinegamesnz : July 12th, 2012 at 12:27 AM.

Reply With Quote
  #2  
Old July 12th, 2012, 12:38 AM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,676 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 1 h 40 m 59 sec
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to requinix
You do realize that says www.domain.com has two different IP addresses according to which nameserver you ask?

If you want redundancy for the DNS servers then that's what multiple nameservers are for. If you want load balancing then you should be setting up actual load balancing.

Reply With Quote
  #3  
Old July 12th, 2012, 01:21 AM
onlinegamesnz onlinegamesnz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 140 onlinegamesnz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 21 m 53 sec
Reputation Power: 6
i dont get it...

So ns1 and ns2 records must be EXACLTY the same?

Thanks!

Reply With Quote
  #4  
Old July 12th, 2012, 01:41 AM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,676 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 1 h 40 m 59 sec
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to requinix
No... The nameservers should be different machines in different places. I'm saying that's where the redundancy is - not in the locations of the www or the ftp or the mail or those others.

Reply With Quote
  #5  
Old July 12th, 2012, 05:15 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,313 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 20 h 22 m 46 sec
Reputation Power: 1940
I think what Requinix is getting at is the following:

Your goal (if I understand correctly) is to ensure that people can still resolve your FQDN to an IP address if one or more nameservers become unreachable.

You're theorizing that by having NS1 and NS2 point to two different public IPs for the same FQDN, that this will provide redundancy if either NS1 or NS2 fails. This will not do what you're wanting, it will merely point your domain to two different public IPs...which may be advantageous for load balancing or redundancy with the actual domain itself (not 100% on that because that's a little beyond what I'm used to).

To ensure your FQDN is always resolvable (not the servers hosting your websites or anything else but just DNS resolution) you can, and should, use multiple nameservers that point to the proper public IP address or addresses; ideally multiple nameservers geographically isolated if it's "mission critical"...think Google, Amazon, etc...
Comments on this post
requinix agrees: yes, that

Reply With Quote
  #6  
Old July 13th, 2012, 02:46 AM
onlinegamesnz onlinegamesnz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 140 onlinegamesnz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 21 m 53 sec
Reputation Power: 6
Yea OK i get it, the seperate Name Servers simply provide a backup to point your domain to your hosting servers.

so backing up your A records,
so if ns1 cant be reached, it will query ns2 for DNS records.

So, i am designing a hosting website/server (for learning purposes) http://megahosting.co.nz, i have two name servers already

What i really want is a backup for the hosting. So my NS1 is pointing to 121.xxx.xxx.122 say, and the server falls over (this is the server HOSTING my websites and databases etc.) how can i have a backup server take over for redundancy.

I know its not explained too well ive had a few beers hope you understand!

Thanks again!

PS: can probbaly remove "very quick" from the topic title now LOL
Comments on this post
AdamPI agrees: "Very Quick" removed... ( :

Reply With Quote
  #7  
Old July 13th, 2012, 06:08 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,313 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 20 h 22 m 46 sec
Reputation Power: 1940
If you're talking about ensuring that if your server hosting your website/database fails you may want to start a new thread in the Windows forum (assuming its a Windows based server).

There are a few different ways to do this, some of which is beyond me. However, I've heard of people using VMware to host a server. If the physical box hosting the virtual server fails, it a 2nd physical box automatically takes over. Not sure how it works, and it's probably beyond what you're wanting to do from a price standpoint.

You could also just save snapshots of the server, if it fails, restore the snapshot to a new server.

Reply With Quote
  #8  
Old July 13th, 2012, 09:17 PM
onlinegamesnz onlinegamesnz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 140 onlinegamesnz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 21 m 53 sec
Reputation Power: 6
yea thanks man ill look into this, bit off topic now

Thanks!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Question regarding proporgating DNS records

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap