DNS Proxy and LAN-DNS not working with IPv6
It there a configuration possibility I am missing? I cannot get either DNS Proxy and LAN-DNS to work for IPv6 clients. My findings:
--------------------------
If you enable the Gateway DNS Proxy function, it only works for IPv4 clients, which is turn means LAN-DNS also only works for IPv4 clients.
Working: IPv4 clients will be given the Gateway's IPv4 address as their DNS server, so these clients will use the DNS Proxy
Problem 1: IPv6 client are still given the ISP IPv6 DNS servers, even though the DNS proxy is enabled, this IPv6 clients bypass the DNS proxy. This impact dual-stack clients too, since they will prefer IPv6 and thus also bypass the DNS Proxy and LAN-DNS.
Problem 2: If you manually specify the gateways IPv6 address or even IPv4 address as the DNS server, the gateway will not respond to DNS requests
Problem 3: LAN-DNS cannot work for IPv6 clients, since it relies on clients using the DNS proxy function, which IPv6 clients can't due to problems 1 & 2
-----------------------------
I did some testing and the Gateway responds to ping as you'd expect for IPv4 and IPv4, though Gateway appears to have no link-local address?
ping 192.168.0.1 --> works
ping ::ffff:192.168.0.1 --> works
ping 2001:db8:85a3::8a2e:370:7334 --> works
But there is a bug where the DNS proxy only responds to an IPv4 request:
nslookup example<dot>com 192.168.0.1 --> works
nslookup example<dot>com ::ffff:192.168.0.1 --> fails
nslookup example<dot>com 2001:db8:85a3::8a2e:370:7334 --> fails
In another thread (locked) @marcelveldt mentions that they had been able to work around these problems by manually specifying the local IPv6 address address of the gateway. However in my testing that doesn't work for any IPv6 address the Gateway has. And it doesn't appear to have a IPv6 link-local address, which is what I think @marcelveldt used.
I tried to check if any IPv6 address from Gateway CLI, but the CLI is very limited and not of the outputs I could find listing IPv6 information.
------------------------
#show interface switchport 2
Port name..................2.5G WAN/LAN2
Belonged vlan..............1
Pvid.......................1
Vlan1 config
Vlan type..................lan
Routing Interface Status...UP
Proto......................static
Dhcp mode..................dhcp_server
Dhcp enable................on
Primary IP address:........192.168.0.1/255.255.255.0
Dhcp start.................192.168.0.100
Dhcp end...................192.168.0.254
Dhcp release time..........120min
Dhcp relay enable..........off
Macaddr....................7C-F1-7E-2A-20-52
Mtu........................1500
-----------------------
