Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 2 of 2
  1. #1
    reidpr is offline Registered User
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DNS nameserver query order in Mac OS X?

    I have a home network with 2 Macs (10.4 and 10.6) and one Linux box. There is a caching DNS nameserver on the Linux box. I would like the Macs to use the caching server, and only if that is inaccessible fall through to external DNS.

    Do Macs rotate through all the configured nameservers or try them in order until one works?

    I see that "man resolver" under 10.6 says that "if there are multiple servers, the resolver library queries them in the order listed", i.e., yes, it's round-robin as I want and as the RFC specifies.

    However, I vaguely recall reading somewhere that not all Mac software uses this resolver library. But I could be misremembering. Can someone confirm that normal Mac DNS resolution is round-robin?

    Much appreciated,

    Reid

  2. #2
    Satcomer's Avatar
    Satcomer is offline In Geostationary Orbit
    Join Date
    Jul 2002
    Location
    Northern Virginia
    Posts
    8,880
    Thanks
    54
    Thanked 385 Times in 369 Posts
    On 10.6 at least (and maybe 10.4) open System Preferences->Network pane, Advanced button, DNS tab and put the order of DNS servers you want to use.
    Mac Pro Dual 2.8 Quad (2nd gen), 14G Ram, Two DVD-RW Drives, OS X 10.8.3
    2006 Mac Book Pro 2.16 (first Gen) OS X 10.7.4
    2TB Time Capsule, 2 TB
    32G iPhone 4S Black, iPad (3rd Gen) 32G Black

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •