From owner-freebsd-questions Fri Jul 18 03:43:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14680 for questions-outgoing; Fri, 18 Jul 1997 03:43:16 -0700 (PDT) Received: from eve.umiacs.umd.edu (eve.umiacs.umd.edu [128.8.120.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA14674 for ; Fri, 18 Jul 1997 03:43:13 -0700 (PDT) Received: by eve.umiacs.umd.edu (8.8.5/UMIACS-0.9/04-05-88) id GAA08048; Fri, 18 Jul 1997 06:43:09 -0400 (EDT) Date: Fri, 18 Jul 1997 06:43:09 -0400 (EDT) Message-Id: <199707181043.GAA08048@eve.umiacs.umd.edu> From: "David A. Bader" To: dwhite@resnet.uoregon.edu CC: freebsd-questions@FreeBSD.ORG In-reply-to: (message from Doug White on Fri, 18 Jul 1997 00:57:49 -0700 (PDT)) Subject: Re: resolv and 2.2 (-stable) Reply-to: dbader@umiacs.umd.edu Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Doug, Nope, I'm not using named: % ps auxwww | grep named % grep named /etc/rc.conf named_enable="NO" # Run named, the DNS server (or NO). named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled). % cat /etc/resolv.conf domain umd.edu nameserver 128.8.74.2 nameserver 128.8.76.2 nameserver 128.8.5.2 (The nameservers are okay, and nothing's changed there. My Windoz box works fine.) What I've noticed: It's not just that the nameserver isn't available --->it's as though the route table isn't getting entries added. (Or is that the same thing?) FOr instance: before I start any networking: 127.0.0.1 127.0.0.1 UH 0 36 lo0 after running "ppp -auto xyz": 127.0.0.1 127.0.0.1 UH 0 0 lo0 128.8.74.2 default UH 1 12 tun0 after connecting to my ISP: 127.0.0.1 127.0.0.1 UH 0 0 lo0 128.8.10.112 128.8.23.151 UH 0 0 tun0 and % nslookup *** Can't find server name for address 128.8.74.2: Timed out *** Can't find server name for address 128.8.76.2: No response from server *** Can't find server name for address 128.8.5.2: No response from server *** Default servers are not available THanks, david >On Thu, 17 Jul 1997, David A. Bader wrote: > >> I'm having a nameserver problem with 2.2-stable: My machine has been >> running FreeBSD (up to 2.2.2-R) from CD-ROMs, without any problems. I >> use user ppp (-auto) to connect to my ISP. In the past two days, I >> first cvsup'ed to RELENG_2_2_2_RELEASE and then RELENG_2_2. I did a >> "make world" from /usr/src, which ran successfully to completion. I >> rebuilt a 2.2-STABLE kernel, and reboot, all fine. Next, I went >> through /usr/src/etc/rc.* and other recently modified files in >> /usr/src/etc and copied/modified them (intelligently, I hope) into >> /etc, and reboot. My ppp connection connects perfectly, and I'm using >> "/etc/resolv.conf" (as I did before) instead of named. However, >> hostname lookups are failing. The connection is good, though, since I >> can access any site, though, with numeric ip addresses. > >If you're running named, then resolv.conf is ignored. Try killing named >and making sure your /etc/resolv.conf is properly configured. Also make >sure the selected nameserver(s) exist and allow connections. Use >`nslookup' to verify.