What's new

Asuswrt-Merlin Serving IPV6 Router IP Instead of IPV6 DNS Server IP F/W 384.19

Sorry for digging up an old thread but I wanted to share my final solution to disable broadcasting any IPv6 DNS server with Merlin-Asuswrt firmware. I want to keep IPv6 enabled on my router for the outside world but there is no need for my Pi Hole to be reachable via IPv6. I therefore added a /jffs/scripts/dnsmasq.postconf file with the following contents:

Bash:
#!/bin/sh

#Remove all DNS6 entries
sed -i '/^.*option6.*$/d' $1

#Disable broadcasting router IP6 as DNS6 server
echo "dhcp-option=option6:23" >> $1

I then made this script executable and rebooted the router. All DNS options for IPv6 have now disappeared from /etc/dnsmasq.conf and an empty option6:23 line is added at the bottom to stop the router from broadcasting an IPv6 DNS server altogether. This is done on an Asus ET8 router with 3004.388.5_0-gnuton1 firmware.
 

Latest 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!
Back
Top