On Sat, 1 Dec 2007, Charles Curley wrote:

Why does this not work?

--------------------------------------------------
$TTL 3D; Reverse zone IP->DNS
@       IN      SOA     localdomain.    hostmaster.localdomain. (
                        2007120101      ;
                        8H              ;
                        2H              ;
                        1W              ;
                        1D )            ;


        IN      NS      phoenix.localdomain.

192.168.1.47    IN      PTR     phoenix.localdomain.

192.168.1.3     IN      PTR     charlesc.localdomain.
--------------------------------------------------

I generated that with glbindadmin. Bind loads it sucessfully and runs
with it. The forward zone equivalent works. But I get this:

--------------------------------------------------
[EMAIL PROTECTED]:/var/named/etc# nslookup 192.168.1.47 localhost
Server:         localhost
Address:        127.0.0.1#53

*** Can't find 47.1.168.192.in-addr.arpa.: No answer

What is the named.conf zone definition? If it's "1.168.192.in-addr.arpa", then your problem is that you're double-defining the first 3 octets 192.168.1.

Your zone file should probably look like:

47  IN  PTR  phoenix.localdomain.

etc.

Or else you may be able to define the zone file as applying to "in-addr.arpa" and use your zone file as is, but that seems ill-advised, since it would break all other reverse lookups for anywhere not defined in your zone file.

Jon

--
Jon Jensen
End Point Corporation
http://www.endpoint.com/

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to