DNS General - Change the default suffix used for DNS name of additional nic

Summary

The SovLabs DNS module uses a default suffix for the DNS name of an additional network interface (nic) by default.

You can override that default suffix using the custom property, SovLabs_AdditionalNicOverrideHostname-nic# where # is a value 1-9

  • For example, if you have a nic1 on the server myserver.mydomain.com, the default behavior of the DNS module is to append "-nic1" to the base-name and use that for the DNS entry for that network interface. 
    • The resulting name would be myserver-nic1.mydomain.com
      • To override "nic1" with your own custom string, set SovLabs_AdditionalNicOverrideHostname-nic1 to a value of your string, for example "-nfs".
        • The resulting DNS name for nic1 would be myserver-nfs.mydomain.com

If you want a dash in the nic suffix, you must include it in the string value for the SovLabs_AdditionalNicOverrideHostname-nic# property.  

valueresult
-nfsmyserver-nfs.domain.com
nfsmyservernfs.domain.com

Affected Versions

  • This property was implemented in SovLabs version 2018.2.4


Considerations

  • The property SovLabs_AdditionalNicOverrideHostname-nic# does NOT perform any validation checks against the set 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# 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

Solution

Overview

Maximum support number of additional NICs is 9
  1. Login to the vRA tenant
  2. Click-on the Design tab > Blueprints
  3. Hover over the desired blueprint name and click Edit
    1. Click on the vSphere machine component on the Blueprint Design Canvas
    2. Click on the Properties tab
    3. In the Custom Properties section:
      1. Click on the New Property button
      2. Name field: Type in SovLabs_AdditionalNicOverrideHostname-nic# where # is a value 1-9
      3. Value field: Type in a NIC hostname
      4. Click the OK button
      5. Optional: Set the Show in Request option to  Yes if value needs to be set differently at build time

  4. Click OK
  5. Repeat Steps 3-4 for all desired blueprints



Additional information



Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.