Re: How to add a second ip address in dns for a website (nslookup)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Sharad Naik (sharadnaik_at_nospam-vsnl.net)
Date: 07/02/04


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.
>
>



Relevant Pages

  • Re: Query ACL
    ... > query" statement available since bind 8... ... However there's a netmask feature ... ... the DNS Server service uses local subnet priority. ... Manage the discretionary access control list on DNS servers running ...
    (microsoft.public.win2000.dns)
  • Re: Netbios name resolves to "wrong domain"
    ... domain name gets automatically appended to the query and the preferred DNS ... how does it know how to reach all the other child domains? ... DNS server would return a FQDN that doesn't exist. ... > I've checked the domains that it's resolving to to make sure there's not a ...
    (microsoft.public.windows.server.dns)
  • Re: nslookup fails
    ... Does this DNS server have a Forwarder configured? ... > run a query to the forwarders IP address using ... > first query is making sure your DNS server can resolve the root servers to ...
    (microsoft.public.windows.server.dns)
  • Re: gethostbyaddr()?
    ... The OS does not have to perform a query to the ISP's DNS ... Not for IPs on your local network, ... manually query a DNS server that is outside your ISP's network, ...
    (microsoft.public.win32.programmer.networks)
  • Re: Bug? Sendmail Tries to do DNS lookups on ipv6 link-local addresses.
    ... the query to the local DNS server times out for any ip6.arpa ... PTR ...
    (comp.mail.sendmail)