Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.171.20.9!news.nkn.net!news.panther.net!nemesis!hammy!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.lightspeed.net!news3.crl.com!nntp2.crl.com!decwrl!nntpfeed.doc.ic.ac.uk!sunsite.doc.ic.ac.uk!server3.ne tnews.ja.net!server4.netnews.ja.net!azure.xara.net!xara.net!hunter.premier.net!feed1.news.erols.com!news.magicnet.net!magicnet.magicnet.net!kingkaos From: kingkaos@magicnet.net (Ben King) Newsgroups: comp.unix.bsd.freebsd.misc Subject: network question Date: 31 May 1997 23:20:31 GMT Organization: MagicNet, Inc. Lines: 38 Message-ID: <89E33355C3D2900C.FB01063BE2D68D2C.1A833102AF41D1D1@library-proxy.airnews.net> X-Orig-Message-ID: <5mqbnv$at4$1@comet2.magicnet.net> NNTP-Proxy-Relay: library.airnews.net NNTP-Posting-Host: biceps.gymnet.com X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42240 HI. I am running FreeBSD 2.2-RELEASE. I have a dual-homed sever. My ethernet card (ep0) in connected to my lan. My modem (tun0) is connected to my ISP. Here is some network info about my machine: % hostname gateway % % cat /etc/hosts 127.0.0.1 localhost # My FreeBSD box 192.168.0.1 gateway # My FreeBSD box 192.168.0.2 othermachine # another machine on my lan % % Heres my problem: When I run: % lynx http://localhost/ It works fine and loads my home page. When I run Netscape Navigator 3.01 in X11R6 and go to: http://localhost/ I get the error message of: Netscape is unable to locate the sever localhost The sever does not have a DNS entry. Why won't netscape check my /etc/hosts file FIRST then go to the DNS sever?? Any help will be appericated. Thanks. Please cc to my mailbox at kingkaos@magicnet.net KING KAOS