-
Notifications
You must be signed in to change notification settings - Fork 156
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
Unable to run if systemd-resolved claims port 53 #5
Comments
Hey, thanks for the feedback! Yes, I think this makes sense. In general it should be clear that this will not work if something is already using port 53, but as those systemd features slowly become the standard in many distributions, it might make sense to add it. Can you give more information about what |
That was my train of thought.
To be honest, I am not really sure. I just googled and did some cross-reading around the subject. Maybe someone else can tell more about possible consequences and implications. Taken from systemd-resolved.service:
|
@tmerse I added a brief note to the |
Possible alternative: |
If I enable DNSStubListener=no in /etc/systemd/resolved.conf, my machine cannot resolve any dns addresses. When I dry dig I get a ;; reply from unexpected source: 127.0.0.1#53, expected 127.0.0.53#53 Any ideas? |
@muzo178 I just ran into the same issue. Seems like You can then redirect incoming traffic from 53 to 5353 if you wish.
This way, This did the trick. |
Thanks for the help @AaronHirsch. This is another approach that also does the trick: https://medium.com/@niktrix/getting-rid-of-systemd-resolved-consuming-port-53-605f0234f32f |
Hi,
thank you for putting this together.
Running the
make deploy
part of the install instructions gave me an error that something is blocking port 53.sudo lsof -Pnl +M -i4 | grep 53
lead tosystemd-resolved.service
occupying port 53.I was able to fix the problem by adding the line
DNSStubListener=no
to/etc/systemd/resolved.conf
followed bysudo systemctl restart systemd-resolved.service
.Maybe this could be added to a troubleshooting section, as I think this problem could be rather present these days.
The text was updated successfully, but these errors were encountered: