Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!agate!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail From: j@bonnie.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Pinging myself Date: 16 Aug 1995 14:22:30 +0200 Organization: Private U**x site, Dresden. Lines: 23 Message-ID: <40snu6$523@bonnie.tcd-dresden.de> References: <808168572snz@beckley.demon.co.uk> <40n1jo$isa@bonnie.tcd-dresden.de> <808515947snz@beckley.demon.co.uk> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Ian W Taylor <iwta@beckley.demon.co.uk> wrote: >In article <40n1jo$isa@bonnie.tcd-dresden.de> >> Does it perchance try to DNS lookup the name? > >Looks like it does. [...] >However even ping 158.152.59.213 doesn't start working >until the ppp link is up. I presume this is for a >request for the 'name' for that numeric IP addr. Yup. You can hack around this by either modifying /etc/host.conf to look up in /etc/hosts first (but then, to avoid trouble, do only put the 127.0.0.1 and 158.152.59.213 there, nothing else), or you can set up a name server that's just authoritative for you, so it can always answer local queries itself, while it's forwarding other queries (and caching the result). I'm using the latter approach, and i'm satisfied with it. -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)