Code Monkey home page Code Monkey logo

Comments (11)

mwarning avatar mwarning commented on May 20, 2024

KadNode has probably not been installed onto the system yet (use "make install"). Try "kadnode-ctl lookup s17.p2p" to see if resolving works so far (first call will start lookup, afterwards a result may be seen).

from kadnode.

axxName avatar axxName commented on May 20, 2024

My config is correct?
Both nodes behind NAT. Does it matter?
,,
#grep kadnode /etc/nsswitch.conf
hosts: files kadnode dns

from kadnode.

mwarning avatar mwarning commented on May 20, 2024

both nodes behind won't work, unless one of the routers have support for natpmp (and KadNode has support enabled). Or use IPv6 mode.

from kadnode.

axxName avatar axxName commented on May 20, 2024

ОК. I understand how it works.
It works now for me under linux.
But, under Windows it works only inside Kadnode daemon:

kadnode-ctl.exe lookup s17.p2p
"finds my ip address"

But, no response from DNS (53) port

nslookup
server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
s17.p2p
;; connection timed out; no servers could be reached

p.s.
kadnode build with dns code, and daemon started with option --dns-port 53

from kadnode.

mwarning avatar mwarning commented on May 20, 2024

@axxName Maybe the installer is broken on Windows. But it may depend on the Windows Version. What Windows version do you use?

from kadnode.

mwarning avatar mwarning commented on May 20, 2024

@axxName Maybe the installer is broken on Windows. But it may depend on the Windows Version. What Windows version do you use?

And nice to hear that you got it working.

from kadnode.

axxName avatar axxName commented on May 20, 2024

Windows 7 Home Basic (32)
Windows 7 Ultimate (64)
the same result with kadnode dns option in Linux

from kadnode.

mwarning avatar mwarning commented on May 20, 2024

That worked for me once. But I had not tested in for quite some time. I would need to setup my Testenvironment.

from kadnode.

axxName avatar axxName commented on May 20, 2024

would be grateful if it will work

from kadnode.

axxName avatar axxName commented on May 20, 2024

I think I found error in your code about DNS response.
May be I am wrong, but now I see nslookup resolves

code attached
ext-dns.c.diff.txt

Can you confirm my assumption?

from kadnode.

mwarning avatar mwarning commented on May 20, 2024

@axxName You are right, the answer to an address record should be counted ad an answer record (anCount), not additional information record (arCount).
Thanks a lot!

Anyway, I forgot about this ticket - too much stuff to do. :(

from kadnode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.