HomeBlogLong-time DNS Timeout Issues Resolved

Long-time DNS Timeout Issues Resolved

Published July 13, 2004
I've been having issues with OS X timing out on dns queries to my local BIND dns server. Many people have written on the issue. I've been following the postings at macosxhints.com and tried everything. Today, I believe I figured out a solution by hacking the resolv.conf file as follows: 1) Open Terminal 2) Type "sudo pico -w /etc/resolv.conf" at the prompt (without quotes) 3) Enter your root password 4) enter "options retry:15" on its own line 5) Type Cntr-X 6) Type "Y" 7) Hit Enter That's it. What does it do? It tells the dns resolver to try 15 times before giving up. So if the server is really timing out, then it will tell you after 15 times. But the sites that take a long time to resolve will be fine. I tried changing the resolver to timeout after 100 seconds, but it didn't work and everything seemed to timeout. So this is the next best thing. Let me know if there are any issues or if this worked for you.
blog comments powered by Disqus

1 COMMENT

Ronnie Schwartz is the CTO and founder of RustyBrick, an agile web & mobile development firm that creates effective applications and focuses on finding the right balance between time to production and software quality to get clients in front of their customers quickly and effectively. Ronnie brings over twenty years of innovative design, programming and management expertise to the table.

This article is under Mac Operating System

There is 1 comment for this post

Connect With Us

Send Us a Message

Do you wish to give us feedback on one of our apps, send us a message or explore a proposal? Fill out the form below and we'll get back to you pronto!

Visit Us

250 West Nyack Road, Suite #200 West Nyack, NY 10994
Get Directions

Call Us Toll Free

877-GO-RUSTY
877-467-8789

Telephone

845-369-6869

Fax

845-228-8177