Return to BSD News archive
Xref: sserve comp.os.386bsd.development:1278 comp.os.386bsd.bugs:1536 comp.os.386bsd.questions:5573 Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!convex!news.utdallas.edu!wupost!sdd.hp.com!saimiri.primate.wisc.edu!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate From: nate@bsd.coe.montana.edu (Nate Williams) Newsgroups: comp.os.386bsd.development,comp.os.386bsd.bugs,comp.os.386bsd.questions Subject: Fixed in FreeBSD was (Re: I want to discuss hostname resolution (+bug report)) Date: 3 Oct 1993 17:35:07 GMT Organization: Montana State University, Bozeman MT Lines: 35 Message-ID: <28n2gb$e6u@pdq.coe.montana.edu> References: <HERRING.93Oct1095726@loke.iesd.auc.dk> NNTP-Posting-Host: bsd.coe.montana.edu In article <HERRING.93Oct1095726@loke.iesd.auc.dk>, B. Erickson Herring <herring@iesd.auc.dk> wrote: >Hi *BSDers, > >My NetBSD-0.9 machine is irritating me. It refuses to resolve >`locahost' when the file /etc/resolv.conf exists. ... >If this post _doesn't_ elicit any response, I'll mail to the >maintainers listed at the end of the INSTALL_NOTES document from >NetBSD and whoever will listen from the FreeBSD effort (the behavior >is inherited from Net-2). As has been mentioned in follow up articles, FreeBSD has this fixed in it's sources. We took the patch from resolv+ that allowed you to specify the order of resolution in the file /etc/host.conf, and if the first method fails try the second. Currently, the default setup in FreeBSD is to first try the DNS server, and if that fails then to resolve using /etc/hosts. This seems to work very well, but for those folks who need to resolve using /etc/hosts first, you will need to change the order in the file '/etc/host.conf'. (Yeah, this really should be documented somewhere, but it isn't yet, but it's sort of documented now. :-) Nate -- nate@bsd.coe.montana.edu | Freely available *nix clones benefit everyone, nate@cs.montana.edu | so let's not compete with each other, let's work #: (406) 994-4836 | compete with folks who try to tie us down to home #: (406) 586-0579 | proprietary O.S.'s (Microsloth) - Me