More Than One Zone on a Name Server Question

Tom Naves tman at sdf.lonestar.org
Thu Feb 17 22:31:28 UTC 2005


In  1.168.192.in-addr.arpa I have a PTR Record:

192.168.20.134	IN	PTR	mail.mydomain.com.

and

192.168.20.131	IN	PTR	mail2.mydomain.com.

Since mail.mydomain.net is also the alternate mail exchanger for 
mydomain.com and mail.mydomain.com is the alternate mail exchanger for 
mydomain.net how would I handle it?  Would this be good?

192.168.20.134  IN      PTR     mail.mydomain.com.
   		IN	PTR	mail2.mydomain.net.
192.168.20.131	IN	PTR	mail2.mydomain.com.
   		IN	PTR	mail.mydomain.net.

or do I need to put a second ip addr on the interface on each server?

or do I just forget about PTR records for these addresses?

Thanks,

Tom



On Thu, 17 Feb 2005, Sebastian Castro Avila wrote:

> It seems you are a little bit confused about your zones.
>
> In "mydomain.com" zone file, you declare records under that zone
> "test.mydomain.com", "arthur.mydomain.com", etc.
>
> Within your reverse zones (probably 1.168.192.in-addr.arpa) you define
> records under that zone (131.1.168.192.in-addr.arpa pointing to
> "mail.mydomain.net", 144.1.168.192.in-addr.arpa pointing to
> "linux.mydomain.com", etc).
>
> So, you must create records under the corresponding zone.
>
> I hope it helps
> -- 
> Sebastian E. Castro Avila             sebastian at nic.cl
> Administrador de DNS, NIC Chile
> Fono: (2) 9407705                  Fax  : (2) 9407701
>
>
>



More information about the bind-users mailing list