Retrieve DNS Record operation
The Retrieve DNS Record operation finds the type of DNS record that you specify from the Infoblox application.
For retrieving a DNS record, you can use the following elements in the adapter request:
<name>
<dns-view>
<zone>
<comment>
<extensible-attributes>
You must specify at least one element in the adapter request to retrieve the DNS records.
Adapter request elements for the Retrieve DNS Record operation
Element |
Description |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Contains the following elements:
|
Conditional:
|
|
Specifies the host name (fully qualified domain name) or IP address of the Infoblox Grid Manager |
Conditional:
|
|
Specifies the user name required to connect to the Infoblox Grid Manager |
Conditional:
|
|
Specifies the password that corresponds to |
Conditional:
|
|
Specifies the time, in seconds, after which the request expires |
No |
|
Contains the elements required to execute the operation |
Yes |
|
Specifies the type of the DNS record that you want to retrieve
|
Yes |
|
Specifies the name of the record that you want to retrieve
|
Conditional; required if you want to retrieve DNS that match the |
|
Specifies the DNS view in which the record is created, which you want to retrieve |
Conditional; required if you want to retrieve DNS that match the |
|
Specifies the zone in which the DNS record is created |
Conditional; required if you want to retrieve DNS that match the |
|
Specifies any additional information provided in the record by the user |
Conditional; required if you want to retrieve DNS that match the |
|
Specifies the key-value pair that contains any additional information about the record |
Conditional; required if you want to retrieve DNS that match the |
<items>
<item>
<target>
<host>localhost</host>
<user-name>admin</user-name>
<password encryption-type="Base64">YWRtaW4=</password>
<timeout-secs>120</timeout-secs>
</target>
<parameters>
<record-type>A</record-type>
<name>admin.demo.com</name>
</parameters>
</item>
</items>
<infoblox-vnios-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<retrieve-dns-record-response>
<metadata>
<os-id>Linux</os-id>
<os-version>2.6.18-164.el5</os-version>
<os-arch>amd64</os-arch>
<status>success</status>
<target>10.128.36.17</target>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>perl "/home/shantanu/760205/cdp/server/grids/GRID1/library/adapters/implementations/bmc-adapter-infoblox-nios-actor_20.13.01.00_2/retrieve_dns_record.pl" "10.128.36.17" "admin" "infoblox" "name:host1.demo.com" "record-type:MX"</command>
<line-count>12</line-count>
<execution-milliseconds>3198</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Response Code:0</line>
<line index="2">Response Description:Operation succeeded</line>
<items>
<item>
<record-type>MX</record-type>
<name>host1.demo.com</name>
<comment>updated comment</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>120</ttl>
<mx-exchanger>10.0.0.12</mx-exchanger>
<mx-preference>30</mx-preference>
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
</items>
</output>
</command-output>
</commands-output>
</retrieve-dns-record-response>
</responses>
</infoblox-vnios-response>
<items>
<item>
<target>
<host>localhost</host>
<user-name>admin</user-name>
<password encryption-type="Base64">YWRtaW4=</password>
<timeout-secs>120</timeout-secs>
</target>
<parameters>
<record-type>A</record-type>
<comment>This is a DNS record</comment>
</parameters>
</item>
<infoblox-vnios-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<retrieve-dns-record-response>
<metadata>
<os-id>Linux</os-id>
<os-version>2.6.18-164.el5</os-version>
<os-arch>amd64</os-arch>
<status>success</status>
<target>10.128.36.17</target>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>perl "/home/shantanu/760205/cdp/server/grids/GRID1/library/adapters/implementations/bmc-adapter-infoblox-nios-actor_20.13.01.00_2/retrieve_dns_record.pl" "10.128.36.17" "admin" "infoblox" "comment:using comment" "record-type:A"</command>
<line-count>39</line-count>
<execution-milliseconds>3773</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Response Code:0</line>
<line index="2">Response Description:Operation succeeded</line>
<items>
<item>
<record-type>A</record-type>
<name>admin.demo.com</name>
<comment>using comment</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl />
<ip-address>10.0.0.14</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
</items>
</output>
</command-output>
</commands-output>
</retrieve-dns-record-response>
</responses>
</infoblox-vnios-response>
<items>
<item>
<target>
<host>localhost</host>
<user-name>admin</user-name>
<password encryption-type="Base64">YWRtaW4=</password>
<timeout-secs>120</timeout-secs>
</target>
<parameters>
<record-type>A</record-type>
<zone>forwardmappingzone</zone>
</parameters>
</item>
</items>
<infoblox-vnios-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<retrieve-dns-record-response>
<metadata>
<os-id>Linux</os-id>
<os-version>2.6.18-164.el5</os-version>
<os-arch>amd64</os-arch>
<status>success</status>
<target>10.128.36.17</target>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>perl "/home/shantanu/760205/cdp/server/grids/GRID1/library/adapters/implementations/bmc-adapter-infoblox-nios-actor_20.13.01.00_2/retrieve_dns_record.pl" "10.128.36.17" "admin" "infoblox" "zone:demo.com" "record-type:A"</command>
<line-count>446</line-count>
<execution-milliseconds>4767</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Response Code:0</line>
<line index="2">Response Description:Operation succeeded</line>
<items>
<item>
<record-type>A</record-type>
<name>bmc1.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>0</ttl>
<ip-address>49.50.51.16</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
<item>
<record-type>A</record-type>
<name>bmc55.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>0</ttl>
<ip-address>49.50.51.9</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
<item>
<record-type>A</record-type>
<name>bmc55.demo.com</name>
<comment>user comment99999</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>450000</ttl>
<ip-address>49.50.51.5</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>India</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>bmcee55.demo.com</name>
<comment>user comment99999</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>450000</ttl>
<ip-address>49.50.51.6</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>India</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>t1.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>0</ttl>
<ip-address>49.50.51.13</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
<item>
<record-type>A</record-type>
<name>t1_.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>0</ttl>
<ip-address>49.50.51.14</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
<item>
<record-type>A</record-type>
<name>admin112.demo.com</name>
<comment>user comment</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>1</ttl>
<ip-address>10.0.0.0</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>updatedarecord.demo.com</name>
<comment>updated comment by adapter 1</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl>240</ttl>
<ip-address>10.0.0.23</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site2</value>
</attribute>
<attribute>
<key>Building</key>
<value>ICC</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>admin.demo.com</name>
<comment>using comment</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl />
<ip-address>10.0.0.14</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>bmc1.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl />
<ip-address>111.111.111.6</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
<item>
<record-type>A</record-type>
<name>admin.demo.com</name>
<comment>Demo A record created through Adapter</comment>
<disable>true</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl />
<ip-address>10.0.0.12</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>aaaadmin.demo.com</name>
<comment />
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>default</dns-view>
<ttl />
<ip-address>10.128.99.7</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible_attributes />
</item>
</items>
</output>
</command-output>
</commands-output>
</retrieve-dns-record-response>
</responses>
</infoblox-vnios-response>
<items>
<item>
<target>
<host>localhost</host>
<user-name>admin</user-name>
<password encryption-type="Base64">YWRtaW4=</password>
<timeout-secs>120</timeout-secs>
</target>
<parameters>
<record-type>A</record-type>
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</parameters>
</item>
</items>
<infoblox-vnios-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<retrieve-dns-record-response>
<metadata>
<os-id>Linux</os-id>
<os-version>2.6.18-164.el5</os-version>
<os-arch>amd64</os-arch>
<status>success</status>
<target>10.128.36.17</target>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>perl "/home/shantanu/760205/cdp/server/grids/GRID1/library/adapters/implementations/bmc-adapter-infoblox-nios-actor_20.13.01.00_2/retrieve_dns_record.pl" "10.128.36.17" "admin" "infoblox" "record-type:A" "extensible-attributes:{'Site'=>'sample site',},"</command>
<line-count>335</line-count>
<execution-milliseconds>3582</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Response Code:0</line>
<line index="2">Response Description:Operation succeeded</line>
<items>
<item>
<record-type>A</record-type>
<name>forwardmappingzone_testview</name>
<comment>This is demo A record</comment>
<disable>false</disable>
<zone>forwardmappingzone_testview</zone>
<dns-view>Test DNS View</dns-view>
<ttl>1</ttl>
<ip-address>10.0.0.13</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>A</record-type>
<name>forwardmappingzone_testview</name>
<comment>This is demo A record</comment>
<disable>false</disable>
<zone>forwardmappingzone_testview</zone>
<dns-view>Test DNS View</dns-view>
<ttl>1</ttl>
<ip-address>10.10.10.14</ip-address>
<netbios-name />
<os />
<discovered-mac-address />
<last-discovered />
<first-discovered />
<discovered-name />
<discoverer />
<attached-device-description />
<attached-device-address />
<attached-device-name />
<attached-device-port-description />
<attached-device-port-name />
<attached-device-port />
<attached-device />
<port-duplex />
<port-link />
<port-speed />
<port-status />
<vlan-description />
<vlan-name />
<vlan />
<virtual-host-adapter />
<virtual-datacenter />
<virtual-cluster />
<virtual-entity-name />
<virtual-entity-type />
<virtual-host />
<virtual-switch />
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
</items>
</output>
</command-output>
</commands-output>
</retrieve-dns-record-response>
</responses>
</infoblox-vnios-response>
<infoblox-vnios-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<retrieve-dns-record-response>
<metadata>
<os-id>Linux</os-id>
<os-version>2.6.18-164.el5</os-version>
<os-arch>amd64</os-arch>
<status>success</status>
<target>10.128.36.17</target>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>perl "/home/shantanu/760205/cdp/server/grids/GRID1/library/adapters/implementations/bmc-adapter-infoblox-nios-actor_20.13.01.00_2/retrieve_dns_record.pl" "10.128.36.17" "admin" "infoblox" "dns-view:Test DNS View" "record-type:TXT"</command>
<line-count>29</line-count>
<execution-milliseconds>4071</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Response Code:0</line>
<line index="2">Response Description:Operation succeeded</line>
<items>
<item>
<record-type>TXT</record-type>
<name>txt1.demo.com</name>
<comment>from retrieving</comment>
<disable>false</disable>
<zone>demo.com</zone>
<dns-view>Test DNS View</dns-view>
<ttl />
<txt-string>test record</txt-string>
<extensible_attributes />
</item>
<item>
<record-type>TXT</record-type>
<name>qqqqq.forwardmappingzone</name>
<comment />
<disable>false</disable>
<zone>forwardmappingzone</zone>
<dns-view>Test DNS View</dns-view>
<ttl />
<txt-string>!@#$%^&*()_+~ASM,.?/|}{[]</txt-string>
<extensible-attributes>
<attribute>
<key>Site</key>
<value>main</value>
</attribute>
<attribute>
<key>State</key>
<value>NY</value>
</attribute>
</extensible-attributes>
</item>
<item>
<record-type>TXT</record-type>
<name>forwardmappingzone_testview</name>
<comment>This is demo TXT record</comment>
<disable>false</disable>
<zone>forwardmappingzone_testview</zone>
<dns-view>Test DNS View</dns-view>
<ttl>1</ttl>
<txt-string>10.0.0.2</txt-string>
<extensible-attributes>
<attribute>
<key>Site</key>
<value>sample site</value>
</attribute>
</extensible-attributes>
</item>
</items>
</output>
</command-output>
</commands-output>
</retrieve-dns-record-response>
</responses>
</infoblox-vnios-response>
Comments
Log in or register to comment.