Hi Corey,

Please note the syntax is incorrect for recent versions of PowerDNS. 

When defining a zone, the records are passed using either the “zone” or the 
“rrsets” paramater. See 
https://docs.powerdns.com/authoritative/http-api/zone.html#objects 
<https://docs.powerdns.com/authoritative/http-api/zone.html#objects>



> On 15 Mar 2019, at 17:25, <co...@bitaccel.com <mailto:co...@bitaccel.com>> 
> <co...@bitaccel.com <mailto:co...@bitaccel.com>> wrote:
> 
> "records": [
> { "content": "ns.example.net <http://ns.example.net/>. hostmaster.example.com 
> <http://hostmaster.example.com/>. 1 1800 900 604800 86400", "disabled": 
> false, "name": "example.net <http://example.net/>.", "ttl": 86400, "type": 
> "SOA" }
> ,
> { "content": "192.168.1.42", "disabled": false, "name": "www.example.net 
> <http://www.example.net/>.", "ttl": 3600, "type": "A" }
> ]

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to