What's new

DNScrypt dnscrypt keeps saying address is already in use

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Crockan

New Around Here
This may sound like a silly question but does anyone know how to solve it?
When I try to get dnscrypt-proxy to listen to ipv6, it always shows that the address is already in use.

listen udp [::1]:53: bind: address already in use

Is there any way that would allow me to see what is using the address?

Grateful for anyone's help
 
This may sound like a silly question but does anyone know how to solve it?
When I try to get dnscrypt-proxy to listen to ipv6, it always shows that the address is already in use.

listen udp [::1]:53: bind: address already in use

Is there any way that would allow me to see what is using the address?

Grateful for anyone's help
That is because dnsmasq uses it. Don't mess with anything on port 53 unless you make sure dnsmasq is not using it on port 53. DNSmasq binds it self to 127.0.0.1:53 and ::1:53 addresses at port 53. Dnscrypt-proxy cannot share the same port. so you must set dnsmasq to port=0. there is no need to use ::1:53, when ipv6 can traverse, 127.0.0.1 or 127.0.1.1 as well. It is a common misconception that ::1:53 must be used in order for ipv6 traffic to work, but the way dnscrypt proxy is set with the Asuswrt-Merlin dnscrypt installer, 127.0.1.1:53 is used and is sufficient for both ipv4 and ipv6 traffic since it is an internal address forwarding traffic internally to dnsmasq.
 
Last edited:
Many Thanks for the very detailed explanation! Thank you for the clarification, I see.
That is because dnsmasq uses it. Don't mess with anything on port 53 unless you make sure dnsmasq is not using it on port 53. DNSmasq binds it self to 127.0.0.1:53 and ::1:53 addresses at port 53. Dnscrypt-proxy cannot share the same port. so you must set dnsmasq to port=0. there is no need to use ::1:53, when ipv6 can traverse, 127.0.0.1 or 127.0.1.1 as well. It is a common misconception that ::1:53 must be used in order for ipv6 traffic to work, but the way dnscrypt proxy is set with the Asuswrt-Merlin dnscrypt installer, 127.0.1.1:53 is used and is sufficient for both ipv4 and ipv6 traffic since it is an internal address forwarding traffic internally to dnsmasq.
 
Similar threads
Thread starter Title Forum Replies Date
U Odd error installing dnscrypt 2.1.5 Asuswrt-Merlin AddOns 0

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top