From owner-freebsd-questions Mon Oct 28 5:50:10 2002 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 4BA3937B401 for ; Mon, 28 Oct 2002 05:50:08 -0800 (PST) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mx1.FreeBSD.org (Postfix) with SMTP id DEDA543E3B for ; Mon, 28 Oct 2002 05:50:07 -0800 (PST) (envelope-from aokounev@yahoo.com) Received: from unknown (HELO AZOT-30761) (aokounev@212.98.162.53 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 28 Oct 2002 13:50:05 -0000 Date: Mon, 28 Oct 2002 15:49:30 +0200 From: Artem Okounev X-Mailer: The Bat! (v1.61) Reply-To: Artem Okounev X-Priority: 3 (Normal) Message-ID: <12620048708.20021028154930@yahoo.com> To: Thomas Fiebig Cc: freebsd-questions@freebsd.org Subject: Re: ppp dials out at boot time In-Reply-To: <3DBD3BC5.E5C600B6@lrs.e-technik.uni-erlangen.de> References: <3DBD3BC5.E5C600B6@lrs.e-technik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Thomas, Monday, October 28, 2002, 3:29:41 PM, you wrote: > I've configured ppp as auto dial on demand. My resolv.conf > contains the adresses of my ISP's nameservers. In addition > I've an LAN interface (fxp0) with no LAN behind it. > In rc.conf I've configured the LAN interface as "inet > 192.168.1.1 netmask 255.255.255.0", in /etc/hosts I've > assigned the hostname "r2d2" to 192.168.1.1. The hostname > is introduced in rc.conf. In /etc/host.conf I implement > first /etc/hosts to look for name<->address resolution, > then use bind. > In this configuration, it seems to me, that the LAN > interface introduces a dial out, after the ifconfig during > the boot, to resolve the address of the interface, instead > of using the /etc/hosts file. If I comment out the > ifconfig line in rc.conf, it doesn't take place any > longer. The same happens if I comment out the bind line in > /etc/host.conf, but then no dns request is solved and > answered any longer. > So, what is the sense of the ifconfig dialing out? What do > I made wrong with that? I think my private network number > can not be resolved anywhere, or am I wrong? Are you sure that ifconfig is dialing out? By default sendmail do DNS lookup on startup. If you enabled another network daemons (e.g. xntpd) then they also want DNS. - -- Best regards, Artem mailto:aokounev@yahoo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (MingW32) iD8DBQE9vUB2bOuJ0KL1C+MRAqvPAJ43iWpyA7DjSfoWflCcJBV6C+MM3ACgufeZ p4CSe7m/rWsQbeipqz9XxcQ= =rOtU -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message