Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2005 10:52:14 -0500
From:      David Daugherty <david.daugherty@gmail.com>
To:        Josh Paetzel <josh@tcbug.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS problems - slow to resolve
Message-ID:  <e4f21fa20501020752795a370d@mail.gmail.com>
In-Reply-To: <e4f21fa205010207495cc8215f@mail.gmail.com>
References:  <e4f21fa205010207225ff67e6f@mail.gmail.com> <200501020941.20794.josh@tcbug.org> <e4f21fa205010207495cc8215f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@gmail.com
317.536.1858

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4f21fa20501020752795a370d>