From b2d7ee86a8fd13a26ce7f2100ec3d5b7433637ea Mon Sep 17 00:00:00 2001 From: Damian Myerscough Date: Tue, 8 Oct 2013 13:34:35 -0700 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c37742e..9407000 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,20 @@ BIND-RESTful ============ -BIND RESTful API +BIND RESTful API to perform dyanmic DNS updates and display the entire zone file. + 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 ================ -```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 ================ -```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