Results 1 to 8 of 8
  1. #1


    Member Since
    Dec 05, 2011
    Posts
    4
    Preventing DNS falling through to default result
    Hi,

    I've got a MacBook Pro with Mac OS X 10.6.8 Snow Leopard.

    The problem I'm having is where work's DNS servers hand out a default result when it can't resolve a DNS name.

    Is there a way to catch and prevent this behaviour to fail when a DNS name doesn't exist instead of redirecting me back to the same site all the time?

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Use a public DNS server like Google's DNS 8.8.8.8 or 8.8.4.4

  3. #3


    Member Since
    Dec 05, 2011
    Posts
    4
    I do when I'm not in the office but I need to resolve legitimate internal names...

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Add your work DNS servers in System Preferences > Network (select the if you're using there), then Advanced > DNS.

    Then add the search domains. This should work, it works for me when I'm in the office.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5


    Member Since
    Dec 05, 2011
    Posts
    4
    You guys are misunderstanding. I am a senior engineer. I know to set baby stuff like DNS servers and search paths etc.

    The problem is that the work DNS servers - which I have to use to resolve internal only servers - give a default result for unknown names when queried (eg for a typo or if the recursive query didn't come back in time).

    I need to find a way to catch the answer when it's a default and set it to failed instead which is the normal DNS behaviour.

  6. #6

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    You are an engineer and are looking for DNS to resolve typos?

    From your OP it sounds like your work DNS serves are the issue not the MBP.

    sudo dscacheutil -flushcache will clear the local DNS cache on the MBP.

    After that you might just have an internal DNS problem. Are they windows DNS servers running AD integrated zones that don't allow dynamic updates?

    What results do you get with nslookup when querying the internal DNS servers?

  7. #7


    Member Since
    Dec 05, 2011
    Posts
    4
    Yes the work DNS servers are the issue and outside of my control in the corporate structure.

    Hence why I'm considering a clever workaround hack to try to catch and except this behaviour to override it.

    I've already got some of it caught in various places in my shell profile but other commands and my browser will resolve and be automatically redirected to the default fallback result without me being able to intercept it which is why I'm trying to figure out if there is any system wide way of affecting the local resolver onm y Mac to work around this.

  8. #8

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    So the DNS problem you are having is related to .local lookups?

    Network browsing or intranet? Are you trying to traverse subnets?

    The .local multicasting from the Mac is limited to one subnet.

    Look at some of these.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Toast 10 + Result Code -61
    By javabean in forum Movies and Video
    Replies: 0
    Last Post: 09-04-2010, 02:53 AM
  2. Open DNS vs Google DNS
    By schweb in forum Internet, Networking, and Wireless
    Replies: 4
    Last Post: 07-29-2010, 09:04 AM
  3. Installed OS X 10.4 disc one with no result
    By thecowisfat in forum OS X - Operating System
    Replies: 3
    Last Post: 04-14-2010, 07:04 PM
  4. DNS Issues - Open DNS works with Facebook - ISP DNS does not
    By David A in forum OS X - Operating System
    Replies: 3
    Last Post: 09-16-2009, 04:12 PM
  5. The Result of a Photoshop Mess Around
    By MrChris in forum Images, Graphic Design, and Digital Photography
    Replies: 8
    Last Post: 03-19-2007, 12:07 AM

Posting Permissions

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