DNS problems - slow to resolve

David Daugherty david.daugherty at gmail.com
Sun Jan 2 07:52:15 PST 2005


Ah, yes..dig. Forgot that it had a resolve time in there.

Here's a perfect example of the slowness I'm talking about:
su-2.05b# dig yahoo.com

; <<>> DiG 8.3 <<>> yahoo.com 
;; res options: init recurs defnam dnsrch
;; res_nsend: Operation timed out
su-2.05b# dig yahoo.com

; <<>> DiG 8.3 <<>> yahoo.com 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1563
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0
;; QUERY SECTION:
;;      yahoo.com, type = A, class = IN

;; ANSWER SECTION:
yahoo.com.              5M IN A         216.109.112.135
yahoo.com.              5M IN A         66.94.234.13

;; AUTHORITY SECTION:
yahoo.com.              1d6h52m8s IN NS  ns2.yahoo.com.
yahoo.com.              1d6h52m8s IN NS  ns3.yahoo.com.
yahoo.com.              1d6h52m8s IN NS  ns4.yahoo.com.
yahoo.com.              1d6h52m8s IN NS  ns5.yahoo.com.
yahoo.com.              1d6h52m8s IN NS  ns1.yahoo.com.

;; Total query time: 6179 msec
;; FROM: datasphereweb.com to SERVER: 127.0.0.1
;; WHEN: Sun Jan  2 09:55:17 2005
;; MSG SIZE  sent: 27  rcvd: 149

First one didn't resolve in time. Second one, 6 seconds!!!

On Sun, 2 Jan 2005 10:49:28 -0500, David Daugherty
<david.daugherty at gmail.com> wrote:
> The problem with resolv.conf is that it just puts insightbb.com in
> there. Doing a whois on insightbb.com gives a few DNS servers but none
> of them are any speedier lookups then the others. If I put the IP that
> insightbb.com resolves to it's still slow.
> 
> 
> On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel <josh at tcbug.org> wrote:
> > On Sunday 02 January 2005 09:22, David Daugherty wrote:
> > > I'm running BIND 9 for my own DNS and I'm connecting to the
> > > Internet through cable modem. In my named.conf I have a forwarders
> > > section where I put the IPs for my ISPs DNS. Since my connection to
> > > the ISP is DHCP how can I determine the DNS IPs that have been
> > > assigned? I don't see it when man'ing ifconfig.
> >
> > /etc/resolv.conf lists which nameservers your system is using.
> >
> > (Hope I didn't completely interpret your question) :-/
> >
> > --
> > Thanks,
> >
> > Josh Paetzel
> >
> 
> --
> Doc
> 
> david.daugherty at gmail.com
> 317.536.1858
> 
> "The only thing necessary for evil to triumph is for good men to do
> nothing."
>   - Edmund Burke
> 


-- 
Doc

david.daugherty at gmail.com
317.536.1858

"The only thing necessary for evil to triumph is for good men to do
nothing."
   - Edmund Burke


More information about the freebsd-questions mailing list