im trying to set up dnscrypt proxy v2 on the latest stable image of openwrt
i installed the dnscrypt following the official guide on github
ipv4 works fine but my isp provides ipv6 is it possible to make ipv6 work
im trying to use the address for ipv6 as sugested by the creator (i guess) of the dnscrypt itself mentioned on this thread on github https://github.com/jedisct1/dnscrypt-proxy/issues/707
but i get error on the log and the program stops
in the dnscrypt-proxy.toml file the listen_address are the following
[2019-03-20 19:49:48] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 19:49:48] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 19:49:48] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 19:49:48] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 19:49:48] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 19:49:48] [FATAL] address ::FFFF:127.0.0.53: too many colons in address
this is the content of forwarding-rules.txt
lan 127.0.0.1
10.in-addr.arpa 127.0.0.1
192.in-addr.arpa 127.0.0.1
254.169.in-addr.arpa 127.0.0.1
just now i made the changes and i get this in the log
[2019-03-20 20:20:55] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 20:20:55] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 20:20:55] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 20:20:55] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 20:20:55] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 20:20:55] [FATAL] listen udp [::1]:53: bind: address already in use
here is my network file
it could be helpful to resolve the problem
my isp provides internet acess and iptv in a multicast group behind a igmp proxy via vlan
Sorry I didn't notice that [::1]:53 is used by dnsmasq.
The ::FFFF:127.0.0.53 could be used but needs to be inside square brackets [ ]
Try that if you didn't.
If it doesn't work, you have ULA addresses ula_prefix 'fde2:7cf8:40e0::/48'
Add in lan interface the option ip6ifaceid '::1' and the LAN interface will now have fde2:7cf8:40e0::1
Exclude it from dnsmasq and use it for dnscrypt.
with the address inside square brackets doesn crash but asks me to add a port but port 53 is already in use by dnsmasq can i use a diffrent port or it as to be 53 because tcp and udp listeners
anyway heres the log
[2019-03-20 22:13:05] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:05] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:05] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:05] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:05] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:05] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
[2019-03-20 22:13:11] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:11] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:11] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:11] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:11] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:11] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
[2019-03-20 22:13:18] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:18] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:18] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:18] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:18] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:18] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
[2019-03-20 22:13:25] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:25] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:25] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:25] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:25] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:25] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
[2019-03-20 22:13:32] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:32] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:32] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:32] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:32] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:32] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
[2019-03-20 22:13:39] [NOTICE] Source [public-resolvers.md] loaded
[2019-03-20 22:13:39] [NOTICE] dnscrypt-proxy 2.0.21
[2019-03-20 22:13:39] [NOTICE] Loading the set of forwarding rules from [forwarding-rules.txt]
[2019-03-20 22:13:39] [NOTICE] Now listening to 127.0.0.53:53 [UDP]
[2019-03-20 22:13:39] [NOTICE] Now listening to 127.0.0.53:53 [TCP]
[2019-03-20 22:13:39] [FATAL] address [::FFFF:127.0.0.53]: missing port in address
I don't think that you will have problem, since you are already using 127.0.0.53 with port 53.
So try [::FFFF:127.0.0.53]:53 and if it doesn't work, then you can exclude dnsmasq from listening on loopback interface.