From owner-freebsd-questions Wed Mar 24 13:50:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.dynmc.net (ns1.dynmc.net [209.0.37.10]) by hub.freebsd.org (Postfix) with ESMTP id 894EA14C0B for ; Wed, 24 Mar 1999 13:50:17 -0800 (PST) (envelope-from omni@dynmc.net) Received: from localhost (omni@localhost) by ns1.dynmc.net (8.9.2/8.9.1) with ESMTP id NAA01207 for ; Wed, 24 Mar 1999 13:49:57 -0800 (PST) Date: Wed, 24 Mar 1999 13:49:57 -0800 (PST) From: "Gregory A. Carter" To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I must be stupid but I sure as hell can't get /etc/hosts to setup the localhost for the life of me. Here's my config: /etc/hosts: 127.0.0.1 localhost.dynmc.net localhost /etc/host.conf: # $Id: host.conf,v 1.5 1998/11/16 02:02:30 jkh Exp $ # First try the /etc/hosts file hosts # Now try the nameserver next. bind # If you have YP/NIS configured, uncomment the next line # nis /etc/resolv.conf: domain dynmc.net nameserver 127.0.0.1 nameserver 209.0.37.2 nameserver 209.209.29.2 I'm getting stuff like this.. (ns1)[66]:/etc# host localhost Host not found. (ns1)[67]:/etc# nslookup *** Can't find server name for address 127.0.0.1: No response from server Default Server: ns1.interx.net Address: 209.0.37.2 > Now if I set my resolv.conf to: domain dynmc.net nameserver 209.0.37.10 nameserver 209.0.37.2 nameserver 209.209.29.2 Which is the physical ip address of the machine it works perfect. And yes I have a localhost.rev setup and it's correct. Any ideas why it apparently isn't reading /etc/hosts? Greg +(Omni@Dynmc.Net)------------------------------------------------------+ | Dynamic Networking Solutions InterX Technologies | | Senior Network Administrator bits/keyID 1024/7DF9C285 | | omni@interx.net omni@itstudio.net omni@undernet.org omni@webpop3.com | +--------[ DC 50 57 59 C3 76 46 E8 EB 75 A8 94 FE 96 9E D3 ]----------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message