Blogs

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
How StormForge automated Kubernetes rightsizing across hundreds of clusters

A global enterprise software company used Kubecost to see what its Kubernetes workloads cost, but engineers rarely changed anything. It…

 
thumbnail
Kubernetes for Black Friday: Scaling Up for the Peak and Back Down After 

Black Friday falls on November 27 this year, and if you run the platform behind an online store, you’ve probably…

 
thumbnail
How a cloud MSP cut AWS invoicing time by 50% with CloudBolt

A global enterprise software company used Kubecost to see what its Kubernetes workloads cost, but engineers rarely changed anything. It…