groups wrote:
In the process of cleaning up a much neglected PTR file

Bind:   9.6.2.1
OS:      CentOS 5.4

Current PTR in this format:  (1 tab between entries)

$ORIGIN 58.172.in-addr.arpa.
$ORIGIN 0.58.172.in-addr.arpa.
11    PTR    nat-172-58-0-11.example.com.
12    PTR    nat-172-58-0-12.example.com.
...
$ORIGIN 58.172.in-addr.arpa.
$ORIGIN 1.58.172.in-addr.arpa.
21    PTR    nat-172-58-1-21.example.com.
22    PTR    nat-172-58-1-22.example.com.
...
$ORIGIN 58.172.in-addr.arpa.
$ORIGIN 2.58.172.in-addr.arpa.
31      PTR     nat-172-58-2-31.example.com.
32      PTR     nat-172-58-2-32.example.com.
...

$ORIGIN 0.58.172.in-addr.arpa.
$GENERATE 11-... $ PTR nat-172-58-0-$.example.com.

$ORIGIN 1.58.172.in-addr.arpa.
$GENERATE 21-... $ PTR nat-172-58-1-$.example.com.

Do note that these ranges look suspicious.

AlanC

------------------------------------------------------------------------

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Alan..
I inherited this box.. and am really wanting to make this much more
simple since this isn't my primary job..

I just changed the some of the numbers..
this is the "actual" format of my real PTR zone file.

I am going to read up on  $GENERATE function..
Reminds me of my macros on my OpenBSD firewall..


Much Thanks..
Charles
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to