Currently supported features
How to query the RESTful API
This commit is contained in:
parent
34ffc81772
commit
7d02e691bb
19
README.md
Normal file
19
README.md
Normal file
@ -0,0 +1,19 @@
|
||||
BIND-RESTful
|
||||
============
|
||||
|
||||
BIND RESTful API
|
||||
|
||||
Show Entire Zone
|
||||
================
|
||||
|
||||
```curl http://127.0.0.1:5000/dns/zone/internal.net
|
||||
|
||||
Create DNS Entry
|
||||
================
|
||||
|
||||
```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
|
||||
|
||||
Update DNS Entry
|
||||
================
|
||||
|
||||
```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
|
Loading…
Reference in New Issue
Block a user