From owner-freebsd-questions Wed Dec 6 15:32:48 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 6 15:32:43 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from gradient.cis.upenn.edu (GRADIENT.CIS.UPENN.EDU [158.130.67.48]) by hub.freebsd.org (Postfix) with ESMTP id 8433C37B400 for ; Wed, 6 Dec 2000 15:32:42 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by gradient.cis.upenn.edu (8.10.1/8.10.1) with ESMTP id eB6NWft28647 for ; Wed, 6 Dec 2000 18:32:41 -0500 (EST) Date: Wed, 6 Dec 2000 18:32:41 -0500 (EST) From: Alwyn Goodloe To: questions@FreeBSD.org Subject: Stupid DNS lookup Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to waste your time guys (and whats worse I know I've encountered similar problems years ago and can't remember what I did to fix it). Note: I'm not running named. The nameservers are in resolv.conf search cis.upenn.edu seas.upenn.edu nameserver 158.130.67.1 nameserver 158.130.64.11 and netstat -nr is henrico# netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 158.130.64.1 UGSc 1 0 ep0 127.0.0.1 127.0.0.1 UH 0 0 lo0 158.130.64/21 link#2 UC 0 0 ep0 158.130.64.1 0:90:ab:82:28:0 UHLW 2 0 ep0 1198 158.130.64.10 0:a0:c9:27:28:ca UHLW 0 28 ep0 1156 158.130.64.11 8:0:20:81:f0:cd UHLW 1 14 ep0 1186 158.130.67.1 8:0:20:b1:fc:13 UHLW 0 18 ep0 997 158.130.67.48 8:0:20:79:9d:d7 UHLW 1 160 ep0 919 I changed from DHCP to static IP addresses on one of my boxes the other day and ever since have the following problems: i) Resolving names fails. ii) If I have a name/address in host file everything is fine. iii) IF i just give it the address say telnet xxx.xxx.xxx.xxx then things can take A VERY long time say three minutes for the connection to go thorugh. If I put it in the hosts file it then takes normal time. iv) If I do nslookup I get henrico# nslookup seas.upenn.edu *** Can't find server name for address 158.130.67.1: Timed out *** Can't find server name for address 158.130.64.11: Timed out *** Default servers are not available I know I've forgotten something stupid. But wait until old age and bad memory strike you ..... Alwyn Goodloe agoodloe@gradient.cis.upenn.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message