No reverse resolution working for me...

Barry Margolin barmar at alum.mit.edu
Mon Dec 13 02:03:49 UTC 2004


In article <cpi3ba$15bm$1 at sf1.isc.org>,
 Martes Wigglesworth <martes.wigglesworth at earthlink.net> wrote:

> Greetings list.
> 
> I have just finished setting up my dns test server, for the domain that 
> I will be using.  When I do a nslookup, the server does not get
> resolved, however, I do have resolution of all forward information.  My
> ns1.wiggtekmicro.com address is 192.168.1.10, however, that subnet
> zone's reverse file does not seem to be working, I would be able to get
> nslookup working, without getting the faulty error.  I am to nslookup
> that IP, for localhost, on that server either, so it must not be
> resolving address.
> 
> My zone file is as follows:
> ns1.wiggtekmicro.com> cat /etc/namedb/reverse.192.168.1

You're missing the $TTL and SOA lines in this file.  Also, why do you 
have comment characters at the end of each line when you don't actually 
have any comments on the lines?

>                                        1;
>                                                                               
>                                                   4h;
>                                                                               
>                                                   1h;
>                                                                               
>                                                   1w;
>                                                                               
>                                                   8h);
> ;
> ;NAME SERVERS FOR 276NET.;
> 
>                                                                               
>                                   IN NS   ns1.276net.
> 
> ;ADDRESS-TO-NAME RESOLUTION RECORDS;
> 
> 1                      IN PTR  router.276net.
> 10                     IN PTR  gate.276net.
> 3                      IN PTR  ns1.276net.
> 4                      IN PTR  mail.276net.
> 5                      IN PTR  server.276net.
> > cat /etc/namedb/reverse.192.168.3
> $TTL 6h;
> @ IN SOA  ns1wiggtekmicro.276net. marteswigg.mail.wiggtekmicro.276net. (
>                                                                               
>                                                   1;
>                                                                               
>                                                   4h;
>                                                                               
>                                                   1h;
>                                                                               
>                                                   1w;
>                                                                               
>                                                   8h);
> ;
> ;NAME SERVERS FOR wiggtekmicro.276NET.;
> 
>                                                                               
>                                   IN NS   ns1.wiggtekmicro.276net.
> 
> ;ADDRESS-TO-NAME RESOLUTION RECORDS;
> 
> 1       IN PTR  gate.wiggtekmicro.276net.
> 2       IN PTR  ftp.wiggtekmicro.276net.
> 3       IN PTR  ns1.wiggtekmicro.276net.
> 4       IN PTR  mail.wiggtekmicro.276net.
> 5       IN PTR  server.wiggtekmicro.276net.
> #-------------------------------------------------------------------#
> ns1.276net> cat /etc/namedb/named.conf
> options {
>         directory "/etc/namedb";
>         #pid-file "/var/run/named/pid";
> #       forward only;
>         forwarders {
>                          #192.168.1.1;
>                          xxx.xxx.xxx.xxx;//External IP address omitted.
>                          };
>         #allow-query { 127/8; 192.168/16 };
>         #listen-on{ 127.0.0.1; 192.168.3.3};
>         #query-source address *port 53;
>         notify no;
>         // dump-file "s/named_dump.db";
> };
> 
>         zone     "276NET"  in   {
>                                         type master;
>                                         file "zone.276net";
>                                         };
> 
>         zone "wiggtekmicro.276net" in {
>                                        type master;
>                                        file "zone.wiggtekmicro.276net";
>                                       };
> 
>         zone "localhost"  in    {
>                                  type master;
>                                  file "zone.localhost";
>                                 };
> #
> # Beginning of the actual reverse zones for this name server.
> 
>         zone "1.168.192-in-addr.arpa" IN {
>                                          type master;
>                                          file "reverse.192.168.1";
>                                          };
> 
>         zone "3.168.192-in-addr.arpa" IN {
>                                          type master;
>                                          file "reverse.192.168.3";
>                                          };
> 
>         zone "0.0.127"  IN      {
>                                 type master;
>                                 file "reverse.127.0.0";
>                                 };
>         zone "."  in          	{
> 				type hint;
>                                 file "named.root";
>                                 };

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list