<div dir="ltr">Hi,<div><br></div><div>Please let me know if I'm not on the right mailing list.</div><div>I've searched all the github issues, and elsewhere but have not found anything helpful.</div><div><br></div><div>Currently developing a remote backend, but am having some trouble with the getDomainInfo call.</div><div><br></div><div>I'm making a POST request to the web API to /domain/add</div><div><br></div><div>Here is where I get lost...</div><div>My backend receives a getDomainInfo query after an Initialize.</div><div>Whilst I found this initially odd, I figured that maybe PDNS was confirming the presence of any domain first, and then an "set" query would be issued later.</div><div>Though the documentation for remote backend ( <a href="https://doc.powerdns.com/authoritative/backends/remote.html" target="_blank">https://doc.powerdns.com/authoritative/backends/remote.html</a>) also does not indicate which "query" does the adding.</div><div>I figured I'd just work it out when the relevant JSON arrives.</div><div><br></div><div>My backend receives a getDomainInfo JSON as such<a href="https://doc.powerdns.com/authoritative/backends/remote.html#getdomaininfo" target="_blank"></a></div><div></div><div><span style="color:rgb(51,51,51);font-family:Consolas,monospace;font-size:15px;box-sizing:border-box">e.g.  {"method":"getdomaininfo","parameters":{"name":"<a href="http://foo.com">foo.com</a>"}}<br></span></div><div><span style="color:rgb(51,51,51);font-family:Consolas,monospace;font-size:15px;box-sizing:border-box"><br></span></div><div>when <a href="http://foo.com/" target="_blank">foo.com</a> does not exit it is unclear in the documentation what the backend should return. </div><div>No matter what I try the HTTP response from the WEB API after the POST is always 400, and PDNS closes the socket to my backend.</div><div>All suggesting PDNS remote is not happy with the JSON response to the getDomainInfo query</div><div><br></div><div>I have tried </div><div>{"result":{}}</div><div>{"result":""}</div><div>{"result":null}</div><div>{"result":false}</div><div>{"result":"zone":{}}</div><div>{"result":"zone":""}</div><div>{"result":"zone":null}<br></div><div>responses, but none work.</div><div><br></div><div>What am I doing wrong ?</div><div>I assume domain additions are implemented in remote backend ?</div><div><br></div><div>Thanks</div><div>Austin</div></div>