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

[Question] Is possible to use doh-client with systemd-resolved? #163

Open
EliasTheGrandMasterOfMistakes opened this issue Dec 27, 2024 · 3 comments

Comments

@EliasTheGrandMasterOfMistakes
Copy link

EliasTheGrandMasterOfMistakes commented Dec 27, 2024

Has a way to use doh-client without disabling systemd-resolved?

@m13253
Copy link
Owner

m13253 commented Dec 30, 2024

The reason is systemd-resolved is occupying the DNS related ports.

One good news is systemd-resolved supports DoT out of the box. I am not sure whether anyone can persuade its developers to support DoH within itself as well.

@EliasTheGrandMasterOfMistakes
Copy link
Author

The reason is systemd-resolved is occupying the DNS related ports.

One good news is systemd-resolved supports DoT out of the box. I am not sure whether anyone can persuade its developers to support DoH within itself as well.

thank you, in this case i can just disable systemd-resolved and use doh-client as replacement?
or exist a way to change doh-clients server port and make systemd-resolved use localhost as dns with port used by doh-client?

@m13253
Copy link
Owner

m13253 commented Jan 7, 2025

thank you, in this case i can just disable systemd-resolved and use doh-client as replacement?

Yes.

or exist a way to change doh-clients server port and make systemd-resolved use localhost as dns with port used by doh-client?

On doh-client side, yes you can.
On systemd-resolved side, I don’t know if you can specify a port number. You can try if it works.

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