aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Bertera <pietro@bertera.it>2016-11-09 08:18:21 +0100
committerPietro Bertera <pietro@bertera.it>2016-11-09 08:18:21 +0100
commit9ec27a0cbed413f713b25fbcfd74fc3c21fee3f1 (patch)
tree4d582be9a10974813d6a1c8c1a36d29694c3e89c
parent0b1c160fd9f7986110fc3406d477810ebc386c73 (diff)
downloadPowerDNS-CLI-9ec27a0cbed413f713b25fbcfd74fc3c21fee3f1.tar.gz
PowerDNS-CLI-9ec27a0cbed413f713b25fbcfd74fc3c21fee3f1.tar.bz2
PowerDNS-CLI-9ec27a0cbed413f713b25fbcfd74fc3c21fee3f1.zip
FIX: None - debug syntax
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d557db4..d8d8a92 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ optional arguments:
The following commands adds the new MASTER zone `example.com`the PowerDNS API Key is `MyAPIKey` the nameserver is `ns.example.com`
```
-./pdns.py --apikey MyAPIKey --apihost 127.0.0.1 --apiport 80 --zone example.com. --zoneType MASTER --nameserver ns.example.com. --debug True add_zone
+./pdns.py --apikey MyAPIKey --apihost 127.0.0.1 --apiport 80 --zone example.com. --zoneType MASTER --nameserver ns.example.com. --debug add_zone
2016-09-05 23:55:15,591 pdns DEBUG sending GET request to http://127.0.0.1:80/api/v1/servers/localhost/zones/example.com.
2016-09-05 23:55:15,615 pdns DEBUG returned 422 {"error": "Could not find domain 'example.com.'"}
2016-09-05 23:55:15,616 pdns DEBUG sending POST request to http://127.0.0.1:80/api/v1/servers/localhost/zones
@@ -72,7 +72,7 @@ The following commands adds the new MASTER zone `example.com`the PowerDNS API Ke
### Adding a zone with multiple NS
```
-./pdns.py --apikey MyAPIKey --apihost 127.0.0.1 --apiport 80 --zone example.com. --zoneType MASTER --nameserver ns1.example.com.,ns2.example.com. --debug True add_zone
+./pdns.py --apikey MyAPIKey --apihost 127.0.0.1 --apiport 80 --zone example.com. --zoneType MASTER --nameserver ns1.example.com.,ns2.example.com. --debug add_zone
2016-09-06 00:00:55,286 pdns DEBUG sending GET request to http://127.0.0.1:80/api/v1/servers/localhost/zones/example.com.
2016-09-06 00:00:55,379 pdns DEBUG returned 422 {"error": "Could not find domain 'example.com.'"}
2016-09-06 00:00:55,379 pdns DEBUG sending POST request to http://127.0.0.1:80/api/v1/servers/localhost/zones