Update README.md

This commit is contained in:
Damian Myerscough 2013-10-08 13:34:35 -07:00
parent 7d02e691bb
commit b2d7ee86a8

View File

@ -1,19 +1,20 @@
BIND-RESTful BIND-RESTful
============ ============
BIND RESTful API BIND RESTful API to perform dyanmic DNS updates and display the entire zone file.
Show Entire Zone Show Entire Zone
================ ================
```curl http://127.0.0.1:5000/dns/zone/internal.net ```bash curl http://127.0.0.1:5000/dns/zone/internal.net
Create DNS Entry 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 ```bash 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 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 ```bash 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