From owner-freebsd-questions Wed Oct 24 13:36: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from m-net.arbornet.org (m-net.arbornet.org [209.142.209.161]) by hub.freebsd.org (Postfix) with ESMTP id 32DB437B405 for ; Wed, 24 Oct 2001 13:35:53 -0700 (PDT) Received: (from ceesaxp@localhost) by m-net.arbornet.org (8.11.4/8.11.2) id f9OKAsE32619; Wed, 24 Oct 2001 16:10:54 -0400 (EDT) (envelope-from ceesaxp) Date: Wed, 24 Oct 2001 16:10:54 -0400 (EDT) From: Andrei Popov Message-Id: <200110242010.f9OKAsE32619@m-net.arbornet.org> To: questions@freebsd.org Subject: ppp, bind, and /etc/resolv.conf Cc: ceesaxp@m-net.arbornet.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Could not find anything in the mail archives -- so here's this: I've got a FreeBSD box at home which I use as a gateway/nameserver/ caching proxy server on the local network. I've got bind running on it, everything works fine -- all local hosts resolve, etc... I also use the same machine to dial-up to my ISP. I run ppp with -nat and -auto options. It also works fine. All machines on the LAN access the Net via this box. When the link comes up ppp adds 2 nameserver records to the bootom of /etc/resolv.conf for the nameserver addresses of the ISP machine. I also have a record for my box in it, like so: # /etc/resolv.conf search vogon.my.domain my.domain # entries added by ppp nameserver 217.98.20.34 nameserver 194.204.152.34 All happy nad jolly, until I do a # killall ppp PPP gets killed all right, but it also takes the first nameserver line from /etc/resolv.conf with it -- ruining the local NS. Why? Or, for that matter, why only one, and not all 3? Thanks. P.S. Just in case -- this is on a -CURENT box To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message