Blog

How to configure SovLabs Infoblox plugin to add alias to an Infoblox Host or A record

{% raw %}

To add one or more aliases to an Infoblox DNS record,  configure your Infoblox endpoint to enter them.

 

When you configure your Infoblox Endpoint, add the aliases to the JSON in the template type you want the alias to apply to.  Typically, this would be either the host record or the A record.  In the example below, I have hard-coded “bc1” and “bc2” as aliases.  You will probably want to use a vRA Property (referenced by putting the property name inside double curly braces {{ }})

 

{
    “name”: “{{paramHostname}}”,
    “view”: “{{defaultDnsView}}”,
    “comment”: “Created by vRA SovLabs Extensibility Module”,
    “ipv4addrs”: [{
        “ipv4addr”: “{{ paramIpaddress }}”
    }],
    “aliases”: [“bc1″,”bc2”]
}

 

with templated vRA properties:

 

{
    “name”: “{{paramHostname}}”,
    “view”: “{{defaultDnsView}}”,
    “comment”: “Created by vRA SovLabs Extensibility Module”,
    “ipv4addrs”: [{
        “ipv4addr”: “{{ paramIpaddress }}”
    }],
    “aliases”: [{{myAliasProperty1}}, {{myAliasProperty2}}]
}

 

*Note:  Always use a json format checker like jsonlint to validate your JSON before entering it and saving it into your SovLabs configurations.

 

{% endraw %}

Sign up for our newsletter

Exclusive insights and strategies for cloud pros. Delivered straight to your inbox.


AUTHOR
Patrick Campbell
  Learn more

Related Blogs

 
thumbnail
Making Kubernetes Optimization Safer, Smarter, and Easier to Scale 

Most teams don’t struggle to generate Kubernetes optimization recommendations. The harder part is acting on them in production without introducing risk, configuration…

 
thumbnail
The VMware Double Tax: Why So Many Enterprises Stay Longer Than They Want

I recently had a conversation with a CTO at a large enterprise that perfectly captured the funding reality behind a lot of VMware…

 
thumbnail
What Kubernetes Reveals About the Next Phase of Cloud Cost Management

Cloud cost management is maturing.  For years, cloud cost management focused on visibility: getting bills under control, understanding which services drove…