From 7d02e691bb5aa15223d3ed75c0131dcfb930e9d3 Mon Sep 17 00:00:00 2001 From: Damian Myerscough Date: Tue, 8 Oct 2013 13:33:42 -0700 Subject: [PATCH] Currently supported features How to query the RESTful API --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c37742e --- /dev/null +++ b/README.md @@ -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