Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian: add KadNode to resolv.conf #141

Open
stokito opened this issue Nov 23, 2024 · 3 comments
Open

Debian: add KadNode to resolv.conf #141

stokito opened this issue Nov 23, 2024 · 3 comments

Comments

@stokito
Copy link
Contributor

stokito commented Nov 23, 2024

The openwrt package register redirect of the .p2p domains to a local kadnode dns resolver. But for Debian and Arch only the NSS reolver is added.
Should we add the preinst script that will add the same redirect to the resolv.conf?

@mwarning
Copy link
Owner

The problem is that the TLD that is intercepted is configurable. So when it is set for the kadnode binary, it would also need to be changed in the /etc/resolv.conf. On OpenWrt I had no other choice because there is no /etc/nsswitch.conf.

@stokito
Copy link
Contributor Author

stokito commented Nov 23, 2024

We may add the same p2p TLD by default. Any advanced users may set up own domain if needed.

@mwarning
Copy link
Owner

Sure, we can use /etc/resolv.conf on Debian instead of /etc/nsswitch.conf if it is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants