Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2000 13:20:11 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        freebsd-stable@freebsd.org
Subject:   DNS problem with 4.0-STABLE?
Message-ID:  <Pine.BSF.4.21.0006051318040.546-100000@thelab.hub.org>

next in thread | raw e-mail | index | archive | help

Morning all ...

	Spent the past couple of hours working through a problem with
sendmail 8.10.1 and it seems to come down to the fact taht 'localhost' or
'127.0.0.1' don't resolve:

==============
nslookup 127.0.0.1
Server:  hub.org
Address:  216.126.84.1

*** hub.org can't find 127.0.0.1: Non-existent host/domain
hub# nslookup localhost
Server:  hub.org
Address:  216.126.84.1

*** hub.org can't find localhost: Non-existent host/domain
===========

but, its in my /etc/hosts file:

========
hub# cat /etc/hosts
# $FreeBSD: src/etc/hosts,v 1.11 2000/02/15 14:59:16 shin Exp $
#
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
#
#
127.0.0.1               localhost 
========

and, according to /etc/host.conf, it should be looked at first:

=========
hub# cat /etc/host.conf
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter 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
==========

am I mis-understanding something, or is there a problem? 


Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006051318040.546-100000>