From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 15:52:15 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0963116A4CE for ; Sun, 2 Jan 2005 15:52:15 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE1843D1D for ; Sun, 2 Jan 2005 15:52:14 +0000 (GMT) (envelope-from david.daugherty@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so363004wra for ; Sun, 02 Jan 2005 07:52:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=X4Y781sRbGNUadBw02aToPMiLbLKpkYfvs750nkCNbYKCI86xxu17poSENjY1z5HU0Ga+1DQLGcSF7RO7Lb3pVPXnbql5+Mm++LuKcKv8ExSOXdSqdENTxJfo011Kz3dNYTNkHzBNOsLee1nqJIqpxlDpaYERnvuCnsp5DL5/Uw= Received: by 10.54.42.3 with SMTP id p3mr187580wrp; Sun, 02 Jan 2005 07:52:14 -0800 (PST) Received: by 10.54.28.46 with HTTP; Sun, 2 Jan 2005 07:52:14 -0800 (PST) Message-ID: Date: Sun, 2 Jan 2005 10:52:14 -0500 From: David Daugherty To: Josh Paetzel In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200501020941.20794.josh@tcbug.org> cc: freebsd-questions@freebsd.org Subject: Re: DNS problems - slow to resolve X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Daugherty List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 15:52:15 -0000 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 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 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