[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reverse DNS



This one time, at band camp, Adorean Alexandru Raul said:
> Hello,
> 
>    A few day's ago a finished reorganizing my lan an my dns server.... 
> (3 servers).
> 
> The problem is that i can't seem to be able to set up reverse dns....
> 
> part of zone file :::
> 
> $TTL    3600
> @                       IN      SOA     ns1.cibernet.ro. raul.cibernet.ro. (
> 
> 1.180.181.81.in-addr.arpa.                      PTR             
> ns1.cibernet.ro.



> what am i doing wrong ????

So, if this is the class C 81.181.180.0/24, this zone is called
180.181.81.in-addr.arpa.  That means the '@' above expands to the zone
name, and you only need to prepend entries, and you're missing the IN
statement.  So:

[snip SOA, looks good enough]

    IN  NS  ns1.cibernet.ro.
    IN  NS  ns2.cibernet.ro.

1   IN  PTR ns1.cibernet.ro.

etc.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: