2013-10-08 22:33:42 +02:00
|
|
|
BIND-RESTful
|
|
|
|
============
|
|
|
|
|
2013-10-08 22:34:35 +02:00
|
|
|
BIND RESTful API to perform dyanmic DNS updates and display the entire zone file.
|
|
|
|
|
2013-10-08 22:33:42 +02:00
|
|
|
|
|
|
|
Show Entire Zone
|
|
|
|
================
|
|
|
|
|
2013-10-08 22:35:19 +02:00
|
|
|
` curl http://127.0.0.1:5000/dns/zone/internal.net
|
2013-10-08 22:33:42 +02:00
|
|
|
|
|
|
|
Create DNS Entry
|
|
|
|
================
|
|
|
|
|
2013-10-08 22:35:19 +02:00
|
|
|
` curl -i -H "Content-Type: application/json" -X POST http://127.0.0.1:5000/dns/record/create/mynewhost.internal.net/300/A/192.168.0.15
|
2013-10-08 22:33:42 +02:00
|
|
|
|
|
|
|
Update DNS Entry
|
|
|
|
================
|
|
|
|
|
2013-10-08 22:35:19 +02:00
|
|
|
` curl -i -H "Content-Type: application/json" -X POST http://127.0.0.1:5000/dns/record/update/mynewhost.internal.net/300/A/192.168.0.13
|