Reply to comment

Odd Query Times

I ran your program on Leopard, and the response times averaged around 6 seconds!  I was very surprised by this, and the results were not duplicated by a Windows machine on the local network.  So, I did my own test.  I changed your host file's line endings to Unix and ran the following command:

 

sed 's/http\:\/\///g' domains.txt | xargs -n 1 dig | awk '/Query time/ { print $4 }'

The response times here are an order of magnitude (or two) better than what your program is saying.  I don't know why the response times are so slow with your program, but they aren't indicative of a slow DNS server here.

 

Note that we have a DNS server set up on our local network.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <small> <sup> <sub> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <img> <br> <p> <div> <span> <b> <i> <tbody> <tr> <td> <table> <hr> <u> <strike> <pre> <address>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Use <fn>...</fn> to insert automatically numbered footnotes.

More information about formatting options

CAPTCHA
This extra step is necessary to block spammers.
 __        __          ____        _    ____         
\ \ / / __ _ / ___| | | / ___| __ _
\ \ /\ / / / _` | \___ \ _ | | | | / _` |
\ V V / | (_| | ___) | | |_| | | |___ | (_| |
\_/\_/ \__, | |____/ \___/ \____| \__,_|
|___/
Enter the code depicted in ASCII art style.