Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

To allocate DNS records such as A Record, PTR Record, and CNAME Record, it is mandatory to manually configure authoritative and reverse mapping zones in NIOS for the creation of these records. For more information, see /wiki/spaces/nios85draft/pages/26476927.

infoblox_a_record

For more information, see A record.

The following table describes the mandatory and optional parameters used for an A record.

Sr No.ParameterMandatory/OptionalDescription
1network_view_nameOptionalSpecifies the network view name available in the NIOS appliance.
2vm_nameMandatorySpecifies the name of the virtual machine.
3cidrMandatorySpecifies the address in cidr format.
4zoneMandatorySpecifies the zone under which the record has to be created.
5dns_viewMandatorySpecifies the DNS view under which the zone that has to be created.
6ip_addrOptional

Specifies the IP address of the instance in the cloud.

For static allocation, set this field with a valid IP address.

7vm_idOptionalSpecifies the instance ID.
8tenant_idMandatory

Specifies the unique identifier of a tenant in the cloud.

Tenant ID is the name of the cloud provider with which you want to integrate. However, if there is no cloud provider, you can specify any dummy value.

The tenant ID differentiates the cloud providers in NIOS. For more information, see Viewing All Tenants.

Example

resource "infoblox_a_record" "demo_record"

{
network_view_name="demo1"
vm_name="vmname1"
cidr="10.0.0.0./24"
ip_addr="10.0.0.2"
dns_view="default"
zone="aa.com"
tenant_id="test"

}

infoblox_ptr_record

For more information, see /wiki/spaces/nios85draft/pages/26480478.

The following table describes the mandatory and optional parameters used for a PTR Record.

Sr No.ParameterMandatory/OptionalDescription
1network_view_nameOptionalSpecifies the network view name available in the NIOS server.
2vm_nameMandatorySpecifies the name of the virtual machine.
3cidrMandatorySpecifies the address in cidr format.
4zoneMandatorySpecifies the zone under which the record has to be created.
5dns_viewMandatorySpecifies the DNS view under which the zone has been created.
6ip_addrOptional

Specifies the IP address of the instance in the cloud.

For static allocation, set the field with a valid IP.

7vm_idOptionalSpecifies the instance ID.
8tenant_idMandatory

Specifies the unique identifier of the tenant in the cloud.

Tenant ID is the name of the cloud provider with which you want to integrate. However, if there is no cloud provider, you can specify any dummy value.

The tenant ID differentiates the cloud providers in NIOS. For more information, see Viewing All Tenants.

Example

resource "infoblox_ptr_record" "demo_ptr"

{
network_view_name="demo1"
vm_name="vmname1"
cidr="10.10.20.0/24"
ip_addr="10.0.0.2"
dns_view="default"
zone="aa.com"
tenant_id="test"

}

infoblox_cname_record

For more information, see /wiki/spaces/nios85draft/pages/26480340.

The following table describes the mandatory and optional parameters used for a CNAME record.

Sr No.ParameterMandatory/OptionalDescription
1zoneMandatoryThe zone under which the record has to be created.
2dns_viewMandatorySpecifies the DNS view under which the zone has been created.
3canonicalMandatorySpecifies the canonical name for the record.
4aliasMandatorySpecifies the alias name for the record.
5vm_nameOptionalSpecifies the name of the virtual machine.
6vm_idOptionalSpecifies the instance ID.
7tenant_idMandatory

Specifies the unique identifier of the tenant in the cloud.

Tenant ID is the name of the cloud provider with which you want to integrate. However, if there is no cloud provider, you can specify any dummy value.

The tenant ID differentiates the cloud providers in NIOS. For more information, see Viewing All Tenants.

Example

resource "infoblox_cname_record" "demo_cname"

{
canonical="${infoblox_ip_allocation.demo_allocation.vm_name}"
zone="aa.com"
dns_view="default"
alias="ssas"
tenant_id="test"

}

  • No labels