Reverse lookup problem

David Botham dns at botham.net
Wed Sep 25 17:37:03 UTC 2002




> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of Ali
> Sent: Tuesday, September 24, 2002 7:05 PM
> To: zejames at greyhats.org; Mark_Andrews at isc.org
> Cc: comp-protocols-dns-bind at isc.org
> Subject: Reverse lookup problem
> 
> 
> Can anyone  tell  me if there is a problem with th revers lookup. The
OS
> is
> Redhat 7.02. The  reverse lookup does not work for any IP address
except
> 127.0.0.1.
> 
> dig -x 192.168.33.19    - --  returns error
> Returns error so as nslookup
> Thanks
>
------------------------------------------------------------------------
--
> --
> ---
> 
> $ORIGIN 33.168.192.in-addr.arpa

I think you need to terminate the above line in a dot.  Otherwise, your
origin will wind up being:
33.168.192.in-addr.arpa.33.168.192.in-addr.arpa.

Dave...

> $TTL 86400
> @       IN      SOA     unidns1.mydom.com.  root.mydom.com. (
>                         3 ; serial
>                         28800 ; refresh
>                         7200 ; retry
>                         604800 ; expire
>                         86400 ; ttl
>                         );
> 
>         IN      NS      unidns1.mydom.com.
> 
> 19      IN      PTR     unidns1.mydom.com.
> 165     IN      PTR     ptree.mydim.com.
> 
> ---------------------------------------------------------
> mydom.zone
> $TTL 86400
> @       IN      SOA     unidns1.mydom.com.  root.mydom.com. (
>                         3 ; serial
>                         28800 ; refresh
>                         7200 ; retry
>                         604800 ; expire
>                         86400 ; ttl
>                         );
> @       IN      NS unidns1
> @       IN      NS unidns1.mydom.com.
> @       IN      A 127.0.0.1
> @       IN      A       192.168.33.19
> unidns1 IN      A       192.168.33.19
> ptree   IN      A       192.168.33.165
>
------------------------------------------------------------------------
--
> --
> ----
> 
> ## named.conf - configuration for bind
> #
> # Generated automatically by bindconf, alchemist et al.
> 
> controls {
>         inet  127.0.0.1 allow  { localhost; } keys { rndckey; };
> };
> 
> #include "/etc/rndc.key";
> 
> 
> options {
>         directory "/var/named/";
>         allow-query { any; };
>         allow-transfer { any; };
>         auth-nxdomain yes;
> };
> 
> 
> logging {
>      channel syslogd {
>          syslog local0;
>      };
>          channel logfile {
>          file "/var/named/named.log";
>          print-time yes;
>          };
>         category config { syslogd; };
>      };
> #
> 
> zone  "." {
>         type hint;
>         file  "named.ca";
> };
> 
> zone  "mydom.com" {
>         type master;
>         file  "mydom.com.zone";
> };
> 
> zone "33.168.192.in-addr.arpa"  {
>         type master;
>         file "0.168.192.in-addr.arpa.zone";
>         allow-update { none; };
> };
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "localhost.zone";
> };




More information about the bind-users mailing list