Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 16:49:56 +0000
From:      Mark Magiera <mark@hyow.eu.org>
To:        Mipam <mipam@ibb.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: i'm lost in named trouble.
Message-ID:  <20041229164956.14b778a8.mark@hyow.eu.org>
In-Reply-To: <Pine.BSO.4.56.0412291351220.4214@ux11.ltcm.net>
References:  <Pine.BSO.4.56.0412291351220.4214@ux11.ltcm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Dec 2004 14:00:04 +0100 (MET)
Mipam <mipam@ibb.net> wrote:
> Hi,
> 
> I configured plenty of nameservers also with bind9, but this time
> i cannot figure out what's wrong anymore, i'm lost.
> When i do host 127.0.0.1, i get a normal answer.
> When i do host localhost, i get a normal answer.
> When i do dig localhost, i get a normal answer.
> When i do dig 127.0.0.1, i get no answer and i keep waiting .... :-(
The reason you get no answer at all is beacuse you've not setup bind to
forward unresolved queries to other dns servers. Even then you wouldn't
get the answer you expect because you're using the wrong command.

>
> [snip]
>
> So dig asks an A record, and host ask a PTR record.
> Can anybody tell me what is wrong with my config?
> I don't know anymore how to resolve the issue with dig 127.0.0.1
> anymore. What am i doing wrong??
You're just trying to check if rDNS is working, right? If so, with
dig, the command to check rDNS is either
`dig -x 127.0.0.1` or `dig 1.0.0.127.in-addr.arpa`

> Bye,
> 
> Mipam.

-- Mark Magiera



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