ipv6 socket: Bug or configuration error? #2209
Replies: 5 comments 5 replies
-
Test and make sure |
Beta Was this translation helpful? Give feedback.
-
Hi @lifenjoiner, The socket is configured listen_addresses = ['[::]:53'] If I remove the firewall rule it works: Não é resposta autoritativa: If I add the ipv6 firewall rule it doesn't respond DNS request timed out. but the same rule in ipv4 works Não é resposta autoritativa: I'm using bind9 for forwarding to dnscrypt-proxy on port 5300 because with bind9 the firewall rules work, but setting dnscrypt-poxy ptr=true I don't need bind9 anymore |
Beta Was this translation helpful? Give feedback.
-
For dnscrypt-proxy.toml: listen_addresses = [] For /lib/systemd/system/dnscrypt-proxy.socket: [Unit] [Socket] [Install] |
Beta Was this translation helpful? Give feedback.
-
What was missing here was BindIPv6Only=both I will test tomorrow |
Beta Was this translation helpful? Give feedback.
-
Hi @syphyr , I tried it and it really doesn't work. with this really localhost only: With these below, same problem. Dual stack only without firewall rules. #[Socket] [Socket] I'll keep using named until someone else finds the problem and fixes it. Thank you very much for your help Hug, Bruno. |
Beta Was this translation helpful? Give feedback.
-
Hi friends,
I use bind9 in dual stack mode and I'm trying to replace it with dnscrypt-proxy.
On my firewall, I have two rules to capture dns traffic and redirect to my server dns:
Capture and redirect dns ipv4
iptables -t nat -A PREROUTING -i $LAN -p udp --dport 53 -j REDIRECT --to-port 53
Capture and redirect dns ipv6
ip6tables -t nat -A PREROUTING -i $LAN -p udp --dport 53 -j REDIRECT --to-port 53
With bind9, these rules work perfectly ipv4 and ipv6.
With dnscrypt-proxy the ipv4 rule works perfectly, but the ipv6 rule the dns doesn't reply. Without the rule dns works in ipv6.
In dnscrypt-proxy it is configured as: listen_addresses = ['[::]:53']
I tried to change the port to 5300 without success
I added the interface ip without success
I tried using systemd socket without success
Why with bind9 work and dnscrypt-proxy not?
what am I doing wrong? Can someone help me?
I'm using dnscrypt-proxy + bind9, but I would like to remove bind9.
I appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions