Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 ip addresses for fault tolerance

Status
Not open for further replies.

nate2345

IS-IT--Management
Aug 9, 2004
84
US
Hi Guys,

Currently we have a T1 and a DSL line for fault tolerance. My T1 ISP is a small company, and i'm nervous that one day they will close shop and I won't be able to use the ipaddress they gave me for my web server. What can I do that will allow me to use my DSL account and its different ipaddress to provide user access again to my website in a very short time in the event that I unexpectedely lose my t1 line?

What does Dell do to make sure that if their website ip address goes down, users can still access dell.com instantaneously?

Thanks,
Nate
 
we need further details:
1/ who hosts your domain's DNS? (if you don't know, what's your website?)
2/ where is the webserver physically located? at your office or at the bankrupt ISP?
3/ do you have a static address on the DSL line?
 
If you are being referenced by your domain name on the internet (i.e. then the IP address is more of a trivial matter. The important part is you owning the domain name, and having your DNS records on an internet server.

Should you have problems with your IP address because your ISP fails you, then get another static IP address from someone else. All you will need to do at that point is have your DNS records edited to reflect your new IP address. It takes about 2 days for the record to be replicated accross the internet. Once that happens, you will once again be available at at your new IP address.


Start, Help. You'll be surprised what's there. A+/MCP/MCSE/MCDBA
 
Guys,

Sibawe2000: Our DNS is hosted by "network solutions". We have 2 websites, one is with us and one is hosted by a small company. The dsl line has a static address.

Seaspray0: We own our domain name. And 2 days is a long time, what would a big company that depends on 100% uptime do in this situation? Are there any other solutions to implement?

Thanks for the replies,
Nate
 
OK, so you're question refers only to the first website, the one that is physically at your site.

If you're with "network solutions", you probably have a webtool to change your DNS. You could let DNS1 on the T1 and put DNS2 on the DSL. If DNS1 fails to answer, then requests are sent to DNS2. Not very elegant since the DNS might still answer but the physical service could be down.

Instead, I'd put DNS1 on the DSL and DNS2 on the T1. If there's a round robin function, check it. That way, you're telling the servers to alternate when they answer. Remove the "round robin" if the T1 fails

If you have access to DNS SOA entries, set "refresh" , "expiration date" and "TTL" to a minimum for the T1. That way, you're sure that world DNS's will stay rather uptodate.

The "2-day" diffusion time is a general rule-of-thumb. Basically it says that all DNS's around the world will have received their modification during that time. If your visitors are physically located in your area, they'll be uptodated faster since they will probably ask DNS servers closer to you. If you deal with N.Korea, then you'll have to wait 2 days or more ;-)
It will be shorter if you set the SOA entries to a minimum right now.

Actually, you're never sure that the DNS and the website are answering correctly... The only way is to monitor the site directly. There are tools for that (nagios is a well-known GNU tool). What we do here is program nagios to fetch any prefined page on the websites we monitor and check for the existence of a predefined keyword (" doing_fine_thank_! ") that you bury in the HTML code. If Nagios finds the page, hurray, if not, alert.


Since you're interested in large companies :), have a look at microsoft.com NS entries.
you'll note that ns2, ns3 have very different addresses.
If you try a "tracert" command on these IP's, you'll note pretty different routes. Also, if you do a "nslookup" repeatdly on you'll note that another address is given to you each time. This is a "round robin" destined to alleviate the burden on any given IP address.

;; AUTHORITY SECTION:
microsoft.com. 42179 IN NS ns2.msft.net.
microsoft.com. 42179 IN NS ns3.msft.net.
microsoft.com. 42179 IN NS ns4.msft.net.
microsoft.com. 42179 IN NS ns5.msft.net.
microsoft.com. 42179 IN NS ns1.msft.net.

;; ADDITIONAL SECTION:
ns2.msft.net. 122746 IN A 65.54.240.126
ns3.msft.net. 122746 IN A 213.199.144.151
ns4.msft.net. 122746 IN A 207.46.66.75
ns5.msft.net. 122746 IN A 207.46.138.20
ns1.msft.net. 96160 IN A 207.68.160.190

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top