Micetro and BIND directives - Micetro - 26.1.0

Micetro Reference Articles

ft:locale
en-US
Product name
Micetro
Version
26.1.0

BIND supports several extensions to the standard zone file format, known as directives, all of which start with $. Micetro is aware of these directives, but doesn't support adding or editing them.

The $INCLUDE directive

The $INCLUDE directive tells named to load the contents of another file as part of the DNS zone. In Micetro, the $INCLUDE directive is displayed as a grayed-out, read-only DNS record. The include file is displayed on the DNS page as an Include zone type.

To open the include file, double-click the $include statement.

The $GENERATE directive

The $GENERATE directive is a shorthand method of entering multiple similar records. For example:

$GENERATE range template

Where range is a numeric range, such as 1–254, and template is a record template. A record template resembles a normal record; however, it does not start on the beginning of a line and in places where a number from the range is desired, a "$" is used as a placeholder.

For example:

$GENERATE 1-254 $.0.168.192.in-addr.arpa. PTR host-$.dsl.example.net.

This creates 254 PTR records, all of similar format, like this:

1.0.168.192.in-addr.arpa. PTR host-1.dsl.example.net.
2.0.168.192.in-addr.arpa. PTR host-2.dsl.example.net.
[...]
254.0.168.192.in-addr.arpa. PTR host-254.dsl.example.net.

While these records are generated by named when the zone is loaded, they will not be displayed in the zone file. Micetro only the $GENERATE directive as a grayed-out, read-only DNS record.

Note: Micetro does not map the generated records to IP addresses like it does with conventional A, AAAA, and PTR records. In the previous example, there is no indication in the range 192.168.0.0/24 that these records exist.