Re: How to add a second ip address in dns for a website (nslookup)
From: Sharad Naik (sharadnaik_at_nospam-vsnl.net)
Date: 07/02/04
- Next message: Kevin D. Goodknecht Sr. [MVP]: "Re: Deploy Design Question"
- Previous message: boe: "Re: The dynamic registration failed.."
- In reply to: PoY-: "How to add a second ip address in dns for a website (nslookup)"
- Next in thread: PoY-: "Re: How to add a second ip address in dns for a website (nslookup)"
- Reply: PoY-: "Re: How to add a second ip address in dns for a website (nslookup)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Jul 2004 14:38:38 +0530
For web site, you need only A records and for A records there is not
priority settings.
However, there is "Enable Round Robin" option for A records with multiple IP
addresses.
What you can do is Add the same A record pointing to the other IP address.
And set the TTL for both records to 5 second only.
Enable Round Robin. (DNS server -Properties - Advanced tab)
With this your DNS will be giving one IP for first query, 2nd IP for 2nd
query
1st for third query and so on.
So if your first server has failed , some people will get error opening the
page
some people will go to the 2nd IP without any error. If the people who got
error, retry a few times they will be able to land on the right IP address
and
open the page.
It is important to set the TTL for both these records to a very low value
like
5 sec. , so that other DNS server which cache your records will expire
in 5 sec., and will contact your DNS again for new queries.
(This will also balance load on the two servers)
Sharad
"PoY-" <poypoy99@hotmail.com> wrote in message
news:eBhvP1$XEHA.1152@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> I would like to insert in my DNS Server a second IP address in case if the
> first server crashes or shutdown for maintenance. I know that we should
use
> nslookup and use something with the priorities. Could someone help me or
> give me an example to create it?
>
> Many thanks :)
>
> David.
>
>
- Next message: Kevin D. Goodknecht Sr. [MVP]: "Re: Deploy Design Question"
- Previous message: boe: "Re: The dynamic registration failed.."
- In reply to: PoY-: "How to add a second ip address in dns for a website (nslookup)"
- Next in thread: PoY-: "Re: How to add a second ip address in dns for a website (nslookup)"
- Reply: PoY-: "Re: How to add a second ip address in dns for a website (nslookup)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|