Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 15, 2009 12:00 AM

Q. If I'm using multi-site clustering with multiple IP addresses, how does DNS resolution work?

Windows IT Pro
InstantDoc ID #102465
Rating: (0)

A. Normally, the active IP address (the IP address for the subnet where the resource is hosted) is registered in DNS with the network name. This allows clients to resolve the name to the active IP address. Now imagine a site failover occurs and a new IP address is registered with DNS for the network name. The problem is twofold.

Firstly, clients cache DNS entries for a period of time, the Time to Live (TTL) of the DNS record, before checking with DNS if the resolution has changed. Secondly, DNS is usually implemented as multimaster with Active Directory (AD) integration, so while an update to DNS may be made in one location it will take time for that DNS update to replicate to other DNS servers in different AD sites.

The first step you can take is to reduce the TTL of the DNS host record registered by the cluster service from the default value of 1200. For example, the Exchange team recommends a value of 300 (five minutes). This means clients would, at worst, keep trying the wrong IP address for five minutes before they check with DNS to see if the resolution address has changed.

The other step you can perform is to tell the cluster service to register all IP addresses for the network name, even if they’re not online. When the clients query DNS, they’ll be sent all possible IP address values. This is only an option if the application that is attempting to connect is smart enough to try all the returned IP addresses and not give up if no communication is possible on the first address. This means if the primary goes offline and moves to a new IP address, the client application already has the other IP address to try.

To change the TTL of the host record, use the command

Get-ClusterResource <Resource> | Set-ClusterParameter HostRecordTTL <new value>

To configure to register all IP addresses with the host record, use the command

Get-ClusterResource <Resource> | Set-ClusterParameter RegisterAllProvidersIP 1

Related Reading:
  • Q. What is the problem with Windows Server 2008 cluster network names?
  • How do I change the IP address of a DNS server?
  • How DNS Works
  • More DNS Tips


  • Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

    Related Content:

    ARTICLE TOOLS

    Comments
      There are no comments to display. Be the first one!
    You must log on before posting a comment.

    Are you a new visitor? Register Here

    advertisement

    advertisement

    White Papers

    Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

    Essential Guides

    Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

    Web Seminars

    What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

    eLearning Series

    We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
    Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

    Subscribe to Windows IT Pro!

    Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.