Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 12:34:01 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        The Anarcat <anarcat@anarcat.dyndns.org>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: can't do reverse dns with /etc/hosts
Message-ID:  <20011115123401.I684@k7.mavetju.org>
In-Reply-To: <20011115012039.GA61093@shall.anarcat.dyndns.org>; from anarcat@anarcat.dyndns.org on Wed, Nov 14, 2001 at 08:20:39PM -0500
References:  <20011115012039.GA61093@shall.anarcat.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 14, 2001 at 08:20:39PM -0500, The Anarcat wrote:
> Now, I figured that if I put a few entries in /etc/hosts on that router,
> it won't really need to consult the DNS anyways. The entries are in
> place, but it doesn't work. On a test machine, I discover that bypassing
> the nameserver to do reverse queries simply breaks them. Example, with
> the nameserver in resolv.conf:
> 
> anarcat@shall[~]% host 10.0.0.1
> 1.0.0.10.IN-ADDR.ARPA domain name pointer foo.anarcat.dyndns.org

man host:
	    host - look up host names using domain server

that means, there is no looking at the hosts-file.


Have you swapped "hosts" and "bind" in /etc/host.conf to see if that works?

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011115123401.I684>