- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Create DNS Host record and inherit extensible attributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2022 10:43 AM
I want to create DNS host records and inherit extensible attribute values rather than set the attribute values on the host record itself. Does anyone know the WAPI syntax I need to use to tell NIOS to set extensible attributes to inherit on the host records I create?
Solved! Go to Solution.
EARe: Create DNS Host record and inherit extensible attributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 06:26 PM
Hi andrewstjean,
You can just set the EAs on the parent network of a host record. When you create a host record under the parent the values will be automatically inherited.
Make sure the Enable Inheritance box is checked when creating the EA.
Re: EARe: Create DNS Host record and inherit extensible attributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 04:34 AM
Pleaser note that for host records, inheritance is only applied for one of the host's IP addresses (either IPv4 or IPv6). Using REST API, the IP address used for inheritance can be set using the "use_for_ea_inheritance" attribute.
For example:
curl -k1 -u admin:infoblox -X POST 'https://192.168.1.2/wapi/v2.11/record:host' -H "Content-Type: application/json" -d \ '{ "ipv4addrs": [ { "configure_for_dhcp": false, "ipv4addr": "10.0.1.209" }, { "configure_for_dhcp": false, "ipv4addr": "10.104.1.209", "use_for_ea_inheritance": true } ], "name": "newhost.blox.corp", "view": "Internal DNS" }'
Re: EARe: Create DNS Host record and inherit extensible attributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 06:47 AM
I was missing the use_for_ea_inheritance attribute. Once I added that to my WAPI call creating host records started working as expected. Thanks for your help.
Re: EARe: Create DNS Host record and inherit extensible attributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2023 08:43 AM
is there an example of how this was done?