Usage
Update vRA Reservations
Before configuring the SovLabs DNS module, you first need to configure a way to get an IP address. This would either be from an IPAM or from a vRA Network Profile.
If you have not yet set up the SovLabs IPAM module to reserve IPV4 addresses in your IPAM, you should do so before configuring the DNS module. If you are not planning to implement the SovLabs IPAM module yet, you will need to configure vRA network profile to provide an IP address.
Network Profiles are found in vRA here:
- Login to the vRA tenant
- Click on the Infrastructure tab > Reservations > Reservations
- Hover over the reservation in association with the DNS configured domain and click Edit
- Click on the Network tab
- Check the appropriate network path and select the appropriate Network Profile from the dropdown
- Click OK
Repeat for all desired vRA Reservations and network profiles.
Advanced
Register Additional DNS Zones
Use this property if you want to register DNS records to additional zones.
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_AdditionalDNSSuffixes
- Value field: Type in a comma separated list of DNS suffixes
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
Set Additional NIC Suffixes
Use this if you have a multi-homed VM with more than one nic, and you want to customize the suffix given to DNS records registered for the additional nics (nic 1 - nic 9 only)
For example,
nic0 hostname: prodlinweb.domain.com
Set property SovLabs_AdditionalNicSuffix-nic1
to a value of mysuffix
to get
Result: nic1 hostname: prodlinweb_mysuffix.domain.com
Steps:
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_AdditionalNicSuffix-nic#
where#
is a value1-9
- Value field: Type in a NIC suffix
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
You can also put the Custom Property inside your own Property Group for ease of implementation.
Override Additional NIC Hostname(s)
Register additional DNS addressing to a specific NIC for a VM (nic 1 - nic 9 only)
For example;
nic0 hostname: server1.sovlabs.com
nic1 hostname: server123-nic1.sovlabs.com
Considerations
- The property
SovLabs_AdditionalNicOverrideHostname-nic
# (where#
is 1-9) does NOT perform any validation checks against these DNS configuration to determine if the hostname already exists. Please be sure that the name selected is not already in use or the provision may fail. - The property
SovLabs_AdditionalNicOverrideHostname-nic
# (where#
is 1-9) can be created as Custom Property in the Administration tab (Administration > Property Dictionary > Property Definitions) and selected via the dropdown inside the blueprint for ease-of-use.
Steps:
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_AdditionalNicOverrideHostname-nic#
where#
is a value1-9
- Value field: Type in the NIC# hostname
- Click on the button
- Optional: Set the Show in Request option to Yes if value needs to be set differently at build time
- Click OK
Repeat Step 3-4 for all desired blueprints
You can also put the Custom Property inside your own Property Group for ease of implementation.
DNS Validation Customizations
There are several property-driven customizations for the DNS module that can help with some common issues during validation of the created DNS records. By default, the SovLabs DNS module does attempt to validate that the new DNS records are resolvable. This is to ensure that downstream processes that require DNS resolution don’t start until resolution is confirmed.
Set Pre DNS Validation Sleep Seconds
Set the number of seconds to pause before validating DNS entries. This helps if negative caching is causing problems with DNS resoultion.
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_preDnsValidationSleepSeconds
- Value field: Type the number of seconds to sleep
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
Set DNS Validation Timeout
Set the maximum number of minutes to continue attempts to validate DNS entries before it times out. Make this number larger if it takes longer than the default for records to replicate and start resolving.
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_DNSValidationTimeout
- Value field: Type the number
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
Skip Validation for PTR Record
Set the option to skip validating DNS PTR Records. If you have a split domain or there’s some other reason why you know reverse DNS will not resolve, this will prevent validation from happening and keep the build from failing. (not a typical case)
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_SkipValidateDnsPtr
- Value field: Type in
true
- Note: setting the value to
false
does not re-enable validating PTR records
- Note: setting the value to
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
Disable DNS on a per NIC basis
Set the option to disable creation of DNS records for a particular NIC
Use this option for non-routable network interfaces on your VM.
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_DisableDNS_nic#
where#
is a value0-9
- Value field: Type in
true
- Note: setting the value to
false
will re-enable DNS for the NIC
- Note: setting the value to
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints
Disable
Unpublish the Event Broker Subscriptions for that integration. (Recommended)
Unpublishing the Event Broker Subscriptions is non-destructive and simple way to disable the SovLabs DNS integration from running for all builds. The EBS will go to “Draft” mode and will not execute until you click “Publish” to publish it again.
- Login to the vRA tenant
- Click on the Administration tab -> Events -> Subscriptions
- Highlight the Event Broker subscription and click Unpublish
Or, set the SovLabs_DisableDNS custom property to true
Steps:
- Login to the vRA tenant
- Click on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in
SovLabs_DisableDNS
- Value field: Type in
true
- Note: setting the value to
false
does not re-enable SovLabs DNS
- Note: setting the value to
- Click on the button
- Click OK
Repeat Step 3 for all desired blueprints