Forum Replies Created
Awesome, great stuff Satinder! 🙂
I'll get to this ASAP (tomorrow am teaching, but should have time after that).
Can you send a pull request? It will make it easier for me to see what the differences are and review them.
I'm new to Github. Hope I did it correct: https://github.com/okTurtles/dnschain/pull/159
MeshNET websites are accessible in tests:
Just finished coding, troubleshooting and testing of IPv6 support in DNSChain. To my tests it seems to be working fine.
But, I still doubt if at some point there are any errors or bugs. There shouldn't be, but still it's good if people could test and leave some feedback. Replace this file in your DNSChain installation to enable IPv6 support in DNChain:
Add this file along with nxt.coffee to enable .hype DNS:
Once have these files placed on correct place, restart DNSChain, and query for mypi.nxt for both IPv4 and IPv6 queries. Example:
dig mypi.nxt AAAA
IPv6 isn't pointing anywhere. It won't reply for ping.
Let me know how did it go with your tests.
So, does that mean the IPv6 stuff is available in these libraries, but only part that needs to be done is in DNSChain? Or these two also might need some update?
I'm working on a project which will include DNSChain, and will be a major part of it. More info here: https://nxtforum.org/general-discussion/all-in-one-nxt-supernet-freemarket-meshnet-raspberry-pi-device/
Wow, that looks very cool! 🙂
My Github address: https://github.com/satindergrewal
I want to know if there's any progress towards IPv6 support in DNSChain. I'm still new to CoffeeScript, but trying to understand it as much to my ability. Where do I look for the code which handles A record queries. It must be the similar code to implement AAAA, with the conditions to check if the IP is IPv6 or not. Could there be any other complications in implementing IPv6 in DNSChain? Has it been tried to implement before in DNSChain? If so, what were the issues?
We haven't tried implementing IPv6 in DNSChain.
As far as where to look, there are a few places I would recommend:
- src/lib/blockchain.coffee — this is the template that's used when adding support for a new datastore (like NXT, Namecoin, etc.). Search for a comment with “IPv6” in there.
- src/lib/dns.coffee — although no IPv6 comments here, it's a very important file as it's the high level file responsible for most DNS stuff (the other being the dnsHandler key in blockchain.coffee.
Hope that helps! Let us know if you have any other questions.
Thanks for your reply Greg.
Will look into these files.