Getting IPv6+IPv4 to work correctly with SmartDNS (EA8500)

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
TrueAudio
DD-WRT Novice


Joined: 26 Mar 2017
Posts: 6

PostPosted: Sat Mar 25, 2023 20:56    Post subject: Getting IPv6+IPv4 to work correctly with SmartDNS (EA8500) Reply with quote
Linksys EA8500, fw version: DD-WRT v3.0-r49838 std (08/23/22) (on both partitions, cleanly installed) [Using this fw because it's recommended by MRJCD on his site even though it's fairly dated.]

Settings:

Basic Setup:

Ignore WAN DNS checked.
Static DNS leases all zeros.
Use dnsmasq for DNS UNchecked (required for SmartDNS to work)
only box checked in this area is: DHCP-Authoritative

NTP Client settings - Client enabled
Server IP / Name: left blank since fw will automatically provide
___________________
IPv6 Tab
Type: DHCPv6 with Prefix Delegation
Prefix Length: 64
Static DNS 1: 2620:fe::fe
Static DNS 2: 2620:fe::9
MTU: 1472 (is this ok or is it always supposed to be left on the default value?)

ALL DHCPv6 options and radvd are Disabled.
__________________
Services tab:

DHCP Server Setup
Used Domain: LAN/WLAN
LAN Domain: home
Additional Options: blank in this section
__________________
SmartDNS Resolver
ALL options enabled in this section
Additional options:

server-tls 9.9.9.9:853 -host-name: dns.quad9.net -tls-host-verify: dns.quad9.net
server-tls 1.0.0.2:853 -host-name: security.cloudflare-dns.com -tls-host-verify: security.cloudflare-dns.com
server-tls 76.76.2.42:853 -host-name: x-hagezi-proplus.freedns.controld.com -tls-host-verify: x-hagezi-proplus.freedns.controld.com
server-tls 76.76.2.34:853 -host-name: x-1hosts-mini.freedns.controld.com -tls-host-verify: x-1hosts-mini.freedns.controld.com
server-tls [2620:fe::fe]:853 -host-name: dns.quad9.net -tls-host-verify: dns.quad9.net
server-tls [2620:fe::9]:853 -host-name: dns.quad9.net -tls-host-verify: dns.quad9.net
server-tls [2a0d:2a00:2::2]:853 -host-name: security-filter-dns.cleanbrowsing.org -tls-host-verify: security-filter-dns.cleanbrowsing.org
server-tls [2606:4700:4700::1002]:853 -host-name: security.cloudflare-dns.com -tls-host-verify: security.cloudflare-dns.com
_____________________________________
Dnsmasq Infrastructure
Enable dnsmasq ENABLED
ALL other options under this are disabled
Maximum Cached Entries: 1500

Additional options:

local=/home/
expand-hosts
dhcp-range=::1000,::FFFF,constructor:br0,ra-stateless,ra-names,12h
dhcp-option=option6:dns-server,[::]
interface=br0
ra-param=br0,10,300
enable-ra
domain-needed
bogus-priv
no-poll
no-negcache
filterwin2k
no-resolv
_______________________
A power cycle/reboot of both the modem and router were done after all these settings were put in.

Now, there is what appears partial functionality, (some sites show everything is fine, others do not) as well as some weirdness with regular browsing, like it's taking a lot longer to resolve certain sites.

1st off, test at: https://test-ipv6.com/ says: "Your readiness score 10/10 for your IPv6 stability and readiness, when publishers are forced to go IPv6 only."

test data:

"Test with IPv4 DNS record
ok (0.501s) using ipv4
Test with IPv6 DNS record
ok (0.578s) using ipv6
Test with Dual Stack DNS record
ok (0.453s) using ipv6
Test for Dual Stack DNS and large packet
ok (0.403s) using ipv6
Test IPv6 large packet
ok (1.519s) using ipv6
Test if your ISP's DNS server uses IPv6
ok (0.418s) using ipv6
Find IPv4 Service Provider
ok (0.470s) using ipv4 ASN 33588
Find IPv6 Service Provider
ok (0.565s) using ipv6 ASN 33588"
____________________________________
Connection test at: https://internet.nl/ shows 100%, all green results (tested multiple times)

But then if I try: https://ipv6-test.com/ it gives me a score of 13/20 and shows:

DNS4 + IP6 Reachable
[b]DNS6 + IP4 Unreachable[/b]
[b]DNS6 + IP6 Unreachable[/b]

IPv6 Supported
Type Native IPv6
SLAAC No

Bizarrely it shows that "[b]IPv4 Not supported[/b]" under IPv4 connectivity.

All browser filters/addons were disabled before these tests were run.
Using a different browser (Opera) with the same above address has different results for some reason:

[b]DNS4 + IP6 Unreachable[/b]
DNS6 + IP4 Reachable
DNS6 + IP6 Reachable

This site: https://www.ipv6forum.com/test_ipv6.php shows:

"You are connected with IPv4! The IPv6 Globe is not spinning for you."

https://ipv6test.google.com/ shows green checkmark "Yes, looks like you’re using IPv6 already."

This site: https://ip6.nl/#! Shows both IPv4 and IPv6, with only IPv6 with a green checkmark on it and IPv4 in Gray with no check (but it shows the public IP).

If I have any incorrect, unnecessary or un-optimized settings, or do not have something that I should in additional dnsmasq options, please let me know. Thanks in advance.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Sun Mar 26, 2023 8:32    Post subject: Reply with quote
Moved to Advanced Networking forum

SmartDNS documentation is a sticky in this forum see there.

It is better/easier to use DNSMasq for DNS see the SMartDNS documentation

Redundant settings:
dhcp-option=option6:dns-server,[::]
interface=br0
no-resolv

Those IPv6 tests are unreliable sometimes it helps if you run it multiple times.

Some browser do not want to use IPv4 or IPv6 it is also dependant on used OS or OS settings.

EDIT: not sure if your old build will work as SmartDNS has got some serious upgrades.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Sun Mar 26, 2023 8:48    Post subject: Reply with quote
Some useful reading is the last page of the SmartDNS guide.

example, this is my EA8500 running build 52148.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum