DNS Gadgets
The following Gadgets are available to support DNS.
DNS Gadget
This gadget is used on the Resource Holder Section type. The DNS Gadget shows zones that have the current Resource Holder set as their parent, and provides links to the zone's View Zone page.
To go to the View Zone page, you may either click on the zone name, or click on the Action Menu (wrench icon) and select "View Zone".
For more information on DNS functions and managing zones, refer to the documentation for the DNS Tab.
DNS Autogenerator
The DNS Autogenerator Gadget uses the Hostname field (6c-hostname-fqdn) of the Resource to generate a list of DNS forward and reverse zone entries based on the blocks assigned to the Resource in the IPAM Gadget It will generate a list of potential zone records - just select the ones you want to create, save the changes and you are ready to push the zones.
Enabling the DNS Autogenerator
To set up this Gadget, ensure that the Section of the Resource (typically, "Resource Holder" ), has the "Hostname" field (6c-hostname-fqdn) and the DNS Autogenerator Gadget added to the Section. (See: Customizing Sections and Customizing Fields).
Then, check that the Resource itself has information entered into the "Hostname" field. If the field is already filled out, it will show in the Field Gadget on the Resource Entry page. To add or edit the hostname, click "Edit" on the gadget, add the information to the Hostname field, and click "Save".
Once a hostname has been associated with a Resource, and the page refreshed, the DNS Autogenerator Gadget will be visible.
Before you Begin
Before starting, check that the blocks assigned to the Resource in the IPAM Gadget are correct and up-to-date - the Autogenerator uses these blocks to create the records. If using a DNS Group other than "Default" to hold zones, ensure that the desired DNS Group to hold the generated records has been set up. (See: Working with DNS Groups).
Working with the DNS Autogenerator
One enabled and visible, the DNS Autogenerator Gadget will initially show a short description, the hostname, and a button to "Autogenerate Records".
When ready, click the "Autogenerate Records" button. The Gadget will search through the blocks in the IPAM gadget and provide a list of found blocks.
Add Subdomain / DNS Group
Next, add in a subdomain if desired (optional), and select the DNS Group to hold the records (required). Click on the listed blocks to select (highlighted green) or deselect (grey) for DNS zone / record creation.
Save and Push
Finally, hit the "Save" button at the bottom of the gadget - the selected forward and reverse DNS records will be created and added into the DNS Group, viewable in the DNS Tab.
At this point, you may choose to immediately push the autogenerated zone(s), schedule a push, or re-run the workflow to edit the subdomain or group.