Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 06:43:09 -0400 (EDT)
From:      "David A. Bader" <dbader@umiacs.umd.edu>
To:        dwhite@resnet.uoregon.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: resolv and 2.2 (-stable)
Message-ID:  <199707181043.GAA08048@eve.umiacs.umd.edu>
In-Reply-To: <Pine.BSF.3.96.970718005656.283c-100000@localhost> (message from Doug White on Fri, 18 Jul 1997 00:57:49 -0700 (PDT))

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707181043.GAA08048>