Say I have a zone file with entries like this:
gateway A 192.168.1.3
Is there some way I can specify the network part as a prefix, say 192.168.1 and then only list the host part in the A records?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityNot with a standard bind.
Related, you have the $ORIGIN
and $GENERATE
macros, but they won't help you doing what you need.
You can either preprocess your zone files if using bare text files, or use another backend (see bind DLZ project).