0

Is there a way to use the $GENERATE directive, in bind, in a nested fashion?

Like:

$GENERATE.$GENERATE.GENERATE.127 IN PTR localhost

Or:

$GENERATE.$GENERATE.10.in-addr.arpa" { type master; file "db.empty"; };

1 Answers1

0

I can't understand what you're actually wanting to accomplish with nested $GENERATE commands, it's basically a simple auto iteration function, so you can generate things which would otherwise be painful exercises in repetition. PTR records for /24 ranges are prime example, same information repeated 250+ times, just incrementing up by one each row.

NickW
  • 1,089