- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Get domain-name-servers for a network
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 01:29 AM - edited 10-12-2020 03:05 AM
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
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 10:16 AM
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.