Discuss Question regarding proporgating DNS records in the Networking Help forum on Dev Shed. Question regarding proporgating DNS records Networking Help forum discussing issues such as routers, switches, small networks, file sharing etc. Find information for both wired and wireless networks.
Posts: 12,676
Time spent in forums: 5 Months 1 Week 4 Days 1 h 40 m 59 sec
Reputation Power: 8969
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.
Posts: 12,676
Time spent in forums: 5 Months 1 Week 4 Days 1 h 40 m 59 sec
Reputation Power: 8969
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.
Posts: 2,313
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...
Posts: 140
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
Posts: 2,313
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.