What is the DNS feature offered by BMC Network Automation?
BMC Network Automation (BNA) introduced a feature in the 8.6.00.001 release to be able to register DNS addresses of VMs provisioned within Cloud Lifecycle Management(CLM) on-premise containers and CLM public containers (AWS, Azure). BNA allows setting of DNS properties such as Primary DNS Server, Secondary DNS Server, Primary Domain Suffix for NIC, Reverse DNS Zone and Domain Search Order for each address pool (network). This means that user can use different DNS servers per network. When the VM is provisioned the NIC address will be registered into DNS server. When the VM is decommissioned the DNS record associated with the VM is also deleted from the DNS server. BNA facilitates the DNS registration and deregistration for VM provisioning and decommissioning. The supported DNS servers include Windows DNS server, Linux DNS server and Infoblox DNS server. BNA delegates DNS registration and deregistration operation to a BMC Atrium Orchestrator (BAO) workflows so BAO needs to be configured accordingly. Note that this feature is available with CLM 4.5 release which is Byington.
How to use the DNS feature offered by BMC Network Automation
The fundamental requirements for using the out of the box DNS feature in BMC Network automation are as follows:
1. The BNA global property – performDnsOperation set to true. Default value is false.
2. Set the DNS properties. BNA allows to set the different DNS properties per addressPool in the BNA Pod or Container. If you want to set the DNS properties for a Pod Address Pool, you can view the Pod in BNA UI and start editing the DNS properties.
If you have the container already created and you want the container address pool to use the DNS, you can set the DNS properties for the container address pool by using the container_utils CLI utility offered by BNA.
Note - This step is necessary only for the CLM on-premise containers. For the CLM public containers (AWS, Azure), the DNS properties are required to be set in the CLM UI while provisioning the container.
3. Once you have the DNS properties defined you need to tell CLM that whenever the VM is provisioned from a specific address pool, you want it to be DNS registered. For this, the service blueprint needs to be updated in CLM to select the flag called DNS Registration Required for the NIC of the VM.
Note – This check box enables you to select the private IP Or public IP options. The CLM on-premise containers allows the DNS registration only for the private IP. However for the CLM public (AWS, Azure) containers you can select Private IP or Public IP options under this flag.
Following is the BMC documentation link which will be helpful to understand more about this feature.
Setting up BAO for DNS feature