- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-02-2016 08:44 AM
Looking for soamname override (similar to API) field at zone level (zone_auth) in WAPI. Couldn't find in the WAPI document.
Solved! Go to Solution.
Re: Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-03-2016 08:51 AM
You are correct. it is in the PAPI, but not available in the WAPI.
Open a bug with support.
Re: Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-06-2016 07:26 AM
Nice finding Please keep this thread updated
Re: Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-19-2016 08:39 AM
Found similar in old version of WAPI documentation and it worked. As per infoblox they corrected the documentation 6.12.0 and 6.12.18.
soa_mname
The SOA mname value for this zone. The Infoblox appliance allows you to change the name of the primary server on the SOA record that is automatically created when you initially configure a zone. Use this method to change the name of the primary server on the SOA record. For example, you may want to hide the primary server for a zone. If your device is named dns1.zone.tld, and for security reasons, you want to show a secondary server called dns2.zone.tld as the primary server. To do so, you would go to dns1.zone.tld zone (being the real primary) and change the primary server on the SOA to dns2.zone.tld to hide the true identity of the real primary server. This value can be in unicode format.
Re: Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-07-2020 06:11 AM
hoi how does this looks like in wapi call iam newbie in this field in like tu update the mnames of 1000 domains with other name servers how will this scrips looks like?
Chris
Re: Is there soamname override field for zone_auth in WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-17-2020 03:51 PM
You need to send a PUT request against the zone's '_ref' instance that contains a body with the appropriate structure for `member_soa_mnames`. Note that the parameter is plural. It expects an array with a value for each primary nameserver associated with the zone (even if you only have one primary). It might look something like this.
PUT https://gm.example.com/wapi/v2.10/zone_auth/xxxxxxxxxxxxxxxxxxxxx:example.net/default
{ "member_soa_mnames": [ { "mname": "new-ns1.example.net", "grid_primary": "ns1.example.net" }, { "mname": "new-ns2.example.net", "grid_primary": "ns2.example.net" } ] }