External Interactions¶
There are no external interactions at this time, but some are planned in the future.
- Create a BIND9 Zone file
- Infoblox SoTT App integration
External System Integrations¶
From the App to Other Systems¶
The DNS models can be used to populate DNS systems with records and configurations.
From Other Systems to the App¶
The DNS related configuration from other systems such as Infoblox, Bluecat, or BIND can be modeled within Nautobot.
Nautobot REST API endpoints¶
Create a DNS Zone
curl -X 'POST' http://$NAUTOBOT_HOST/api/plugins/dns/dns-zones/ \
-H 'Content-Type: application/json'
-H 'Authorization: Token $NAUTOBOT_API_TOKEN'
-d '{
"name": "nautobot.com",
"ttl": 3600,
"filename": "nautobot.com",
"soa_mname": "ns1.cloudns.net",
"soa_rname": "[email protected]",
"soa_refresh": 86400,
"soa_retry": 7200,
"soa_expire": 3600000,
"soa_serial": 0,
"soa_minimum": 3600
}'
Add an A record to a DNS Zone.
curl -X 'POST' \
http://$NAUTOBOT_HOST/api/plugins/dns/a-records/ \
-H 'Content-Type: application/json' \
-H 'Authorization: Token $NAUTOBOT_API_TOKEN' \
-d '{
"name": "dns-zone.example",
"description": "Main Web Server",
"zone": {
"name": "nautobot.com2"
},
"address": {
"id": "185fb1e5-ac1f-40d2-9813-ca4a44df36c4"
}
}'