Date: Mon, 28 Oct 2002 15:49:30 +0200 From: Artem Okounev <aokounev@yahoo.com> To: Thomas Fiebig <tfie@lrs.e-technik.uni-erlangen.de> Cc: freebsd-questions@freebsd.org Subject: Re: ppp dials out at boot time Message-ID: <12620048708.20021028154930@yahoo.com> In-Reply-To: <3DBD3BC5.E5C600B6@lrs.e-technik.uni-erlangen.de> References: <3DBD3BC5.E5C600B6@lrs.e-technik.uni-erlangen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12620048708.20021028154930>