Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!malgudi.oar.net!uoft02.utoledo.edu!desire.wright.edu!ejones Newsgroups: comp.unix.bsd Subject: Help with hosts and nameservice Message-ID: <1992Aug11.103930.3360@desire.wright.edu> From: ejones@desire.wright.edu Date: 11 Aug 92 10:39:29 EST Organization: Wright State University Lines: 15 I hope someone can help me with a problem I have been having. I want to run namservice on my machine. I created a file called resolv.conf in the /etc directory that included our domain and the address of the name server. This works great. But, if I want to connect to machines I have to give the complete name. i.e. desire.wright.edu. It appears that instead of checking the hosts table first, the system always queries the nameserver. The way this is done on the DECstation is via a file called svc.conf that gives the order in which certain databases are queried. i.e local hosts table before nameserver. I tried using a file like this on 386BSD but no luck. How to I tell 386BSD to look at the local hosts table first and only look at the nameserver if a location isn't in the local table? Thanks for any help. Ed Jones