Reverse Configuration

Barry Margolin barmar at alum.mit.edu
Sat Oct 16 02:44:54 UTC 2010


In article <mailman.483.1287158389.555.bind-users at lists.isc.org>,
 João Alberto Kuchnier <joao.kuchnier at gmail.com> wrote:

> Ari,
> 
> I fixed it to use only one reverse file. Like this below:
> 
> zone "0-15.101.198.200.in-addr.arpa" {
>         type master;
>         file "/etc/bind/rev";
>         allow-transfer { slave; };
> };
> 
> The rev file is like this:
> 
> ; 101.198.200.in-addr.arpa
> $ORIGIN 0-15.101.198.200.IN-ADDR.ARPA.
> $TTL    86400
> @       IN      SOA     ns1.dataprom.com. postmaster.dataprom.com. (
>         2010101501 ; Serial
>         10800 ; Refresh
>         3600 ; Retry
>         1209600 ; Expire
>         3600 ) ; Negative Cache TTL
> ;
> @       IN      NS      dataprom.com.
> 3       IN      PTR     ns1.dataprom.com.
> 4       IN      PTR     ns2.dataprom.com.
> 5       IN      PTR     mail.dataprom.com.
> 
> There are more domains in the same file using the same IPs. Is this a
> problem?

Do you mean that both foo.dataprom.com and bar.someotherdomain.com both 
resolve to the same IP?  That's not a problem.

While you can legally have multiple reverse entries for the IP, it's not 
generally necessary or recommended.  Pick one of the names and use that 
in the reverse entry.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list