List DNS Record activity

The List DNS Record activity generates a list of all the DNS entries on a specific InfoBlox server.

The DNS activities use the REST web service activity template to manage DNS records using an Infoblox DDI Grid Server. These activities are configured to use a MID Server with REST capabilities.

To access this activity in the workflow editor, select the Custom tab, and then navigate to Custom Activities > Infoblox DDI > DNS.

Input variables

Table 1. List DNS Record input variables
Variable Description
InfobloxServer Name of the Infoblox DDI Grid Server.
restCredentials The sys_id of the REST credentials from the ServiceNow instance.
api_version Defines the version of WAPI to use for the integration endpoints. The default value is 2.0.
Note: This field is mandatory. If field is empty, the orchestration activity will fail.
view Name of the Infoblox network view. The default value is default.
Note: If the field is empty, the operation is treated as happening with no view and returns the values with data from all views.

Output variables

Table 2. List DNS Record output variables
Variable Description
reference Reference value for a DNS record, such as: record:cname/ZG5zLmJpbmRfY25hbWUkLl9kZWZhdWx0LmNvbS50ZXN0LmNuYW1l:cname.test.com/default
configure_for_dhcp Returns the status of a DHCP fixed address object.
host Host machine with which the DNS record is associated.
ipv4addr The reserved IPv4 address associated with a DNS record.
name Name of the network option returned. For example, the name of the DNS record object from the reference example is cname.test.com.
view The assigned view of the DNS data. A given zone can have multiple views, which are accessed depending on the IP address of the source of the query. The default view of DNS data for this activity is the network view.
error Displays the message for any REST error encountered.

Conditions

Table 3. List DNS Record conditions
Variable Description
Success Activity successfully listed all the available DNS record.
Failure Activity failed to list the available DNS record.