Reply

Get domain-name-servers for a network

[ Edited ]
Techie
Posts: 1
274     0

 use the following curl to see the options for a network

curl -k -u USER -X GET "https://infoblox/wapi/v2.9.5/network?network=10.10.10.10/27&_return_fields=options"

I get the following output and I can see the "domain-name-servers"

[
    {
        "options": [
            {
                "name": "domain-name-servers", 
                "num": 6, 
                "use_option": true, 
                "value": "11.11.11.11", 
                "vendor_class": "DHCP"
            }
        ]
    }
]

But for some network's "domain-name-servers" dont show up

 

When checking the WebUI I see this

 

info

 

I see the DNS servers under options but they are greyed out and it stated that they are "inherited from grid infoblox"

 

So how can I use the API to get these values?

Highlighted

Re: Get domain-name-servers for a network

Authority
Posts: 16
275     0

As far as I know, this cannot be done, even if you call the fileop object to export the CSV, it still does not show the inherited DHCP options.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You