This is a discussion on Skip in a $GENERATE within the Bind Users forums, part of the DNS and Related Forums category; Howdy! I was wondering if there is a **fancier** way, other than the common sense way of doing multiple rangess, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Howdy!
I was wondering if there is a **fancier** way, other than the common sense way of doing multiple rangess, to skip PTR records in a $GENERATE statement.. Suppose I wanted generic "host" format records for all of the IPs in 192.168.29.0/24, except for the three records that I have custom PTRs for: 72.29.168.192.in-addr.arpa. 86400 IN PTR www.funwithdollargenerate.com. 245.29.168.192.in-addr.arpa. 86400 IN PTR mail.funwithdollargenerate.com. 4.29.168.192.in-addr.arpa. 86400 IN PTR ftp.funwithdollargenerate.com. $GENERATE 1-254 $ PTR host-192-168-29-$.funwithdollargenerate.com. If you do this like I have above, .72, .245, and .4 will each have two PTR records, and that is not legal.. Is multiple ranges with the $GENERATE my only option or is there something slicker I could do here to exclude those three IPs from having a generic record generated? Thanks much! Mike |