Closed tofutim closed 9 years ago
So, that is the old API.
If you want to use DNSChain like that, you need to pass in a Host
header of namecoin.dns
along with your request.
We recommend you use the new API instead.
Closing. Can re-open if that didn't address your question.
That certainly does the trick. Need to update the sample documentation (for Debian). Will send pull request (which will include instructions for Ubuntu).
Incidentally, the new nomenclature, to be a bit juvenile, introduces a bad interaction between %2F and okturtles in the example. I miss the old one.
introduces a bad interaction between %2F and okturtles in the example.
It's necessary to support the API, otherwise there's no way to distinguish keys from actions and properties.
I miss the old one.
The old one is still supported. You can just put nginx in front of DNSChain and have it force the Host header to be namecoin.dns
. That's what we do on our server and it works just like it used to:
When you specify the Host does it mean that the api will no longer work?
On Sat, Apr 4, 2015 at 12:18 AM, Greg Slepak notifications@github.com wrote:
introduces a bad interaction between %2F and okturtles in the example.
It's necessary to support the API, otherwise there's no way to distinguish keys from actions and properties.
I miss the old one.
The old one is still supported. You can just put nginx in front of DNSChain and have it force the Host header to be namecoin.dns. That's what we do on our server and it works just like it used to:
http://dns.dnschain.net/id/greg
— Reply to this email directly or view it on GitHub https://github.com/okTurtles/dnschain/issues/149#issuecomment-89515264.
When you specify the Host does it mean that the api will no longer work?
Both APIs will work.
Indeed they do. Thanks!
On Sun, Apr 5, 2015 at 1:18 AM, Greg Slepak notifications@github.com wrote:
When you specify the Host does it mean that the api will no longer work?
Both APIs will work.
— Reply to this email directly or view it on GitHub https://github.com/okTurtles/dnschain/issues/149#issuecomment-89734215.
My last step in a dnschain/powerdns install in Ubuntu, I try
curl http://127.0.0.1:8000/d/okturtles
but I getLooking up d/okturtles.bit and everything else does work.
Looking up d/okturtles.bit and everything else does work. I see that it comes from
And maybe related to the warnings at startup: