Xref: utzoo comp.unix.admin:1227 comp.unix.questions:29460 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!fuug!news.funet.fi!kannel!Kimmo.Suominen From: Kimmo.Suominen@lut.fi (Kimmo Suominen) Newsgroups: comp.unix.admin,comp.unix.questions Subject: Re: Getting SunOS 4.1 to use DNS -and- /etc/hosts (long) Message-ID: Date: 14 Mar 91 17:56:11 GMT References: <1991Mar9.171331.22378@unhd.unh.edu> <1991Mar11.014434.23710@wdl1.wdl.loral.com> Sender: kim@lut.fi (Kimmo Suominen) Organization: Lappeenranta University of Technology, Finland Lines: 19 In-Reply-To: a2824ak@sunmanager.lrz-muenchen.de's message of 12 Mar 91 18:44:16 GMT Disclaimer: These are my opinions unless otherwise stated >>>>> On 12 Mar 91 18:44:16 GMT, a2824ak@sunmanager.lrz-muenchen.de (Thomas Kaiser) said: Thomas> I also modified the original bind4.8.2 resolver routines. In Thomas> mine i use first /etc/hosts and then the resolver. I've done Thomas> for both gethostbyname and gethostbyaddr. The problem here is, that you'll get wrong information, if you don't update your /etc/hosts. I'd prefer having the file as a backup. Thomas> The problem with the other way round, is that the resolver Thomas> routines have to wait for timeout, if there is no information Thomas> or nameserver. You can also put shortnames in your Thomas> /etc/hosts-file Well, why don't you use CNAME entries in the DNS and benefit everyone in your domain? -- Kim / Internet: Kimmo.Suominen@lut.fi "That's what I think." / Bitnet: KIM@FINFILES