Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

Get domain-name-servers for a network

[ Edited ]
New Member
Posts: 1
2467     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?

Re: Get domain-name-servers for a network

Superuser
Posts: 20
2468     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