On Dec 16, 2007 8:33 AM, mufurcz <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> New DNS server setup, suppose to be authoritative for the
> `transylvania.org.au` zone
> but reverse lookup is not working - as it suppose to work.

> # dig transylvania.org.au
> ---------------------------------------------------------
> ; <<>> DiG 9.3.4 <<>> transylvania.org.au
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5537
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

That query failed to return an answer; your forward lookup zone
doesn't appear to be functioning correctly either.

> # dig 192.168.1.199 (selena.transylvania.org.au  is the  DNS server)

That's not the way you use dig to query for a reverse DNS record on an
IP address. Read the dig(1) manual page, or use one of two possible
syntax:

$ dig -x a.b.c.d
$ dig ptr d.c.b.a.in-addr.arpa

> ;; QUESTION SECTION:
> ;192.168.1.199.                 IN      A

And here's why - you're trying to look up the A record for the IP
address, rather than the PTR record.

> So, what I am doing wrong?

I'd say at first glance you don't have your zone files and/or
named.conf configured correctly. The example configs provided under
/var/named/ should get you started quickly. You may want to refer to
the BIND administrator's manual at
http://www.isc.org/index.pl?/sw/bind/index.php.

Refer later to http://www.cymru.com/Documents/secure-bind-template.html
for tips on securing your BIND configuration to help the rest of us
out.


-- 
Darren Spruell
[EMAIL PROTECTED]

Reply via email to