That's rather vague.... and it is working although not as designed I believe.
here is a real test, try this testSorry, I did not mean to be vague. Once I substituted the IPV6 address of the DNS Server into the LAN IPV6 address location (rather than leaving in the Router's LAN IPV6 address. It than seems to populate into the IPV6 DNS Server IP address on the IPV6 devices registering on the Router's network.
how do you have your pihole configured. is it acting as DHCP+DNS or is the router acting as DHCP+ Pihole DNS? What do your settings look like within the pihole menu?Currently, I have replaced the router's IPV6 ip address with the IPV6 ip address of my DNS server (a Pi-Hole) and it is working although not as designed I believe. Here are my IPV6 settings:
View attachment 27171
Currently the webui only allows you to enter two IPv4 DNS and always advertises router's IPv6 address to clients as DNS even if "Advertise router's IP in addition to user-specified DNS" option is off.Currently, I have replaced the router's IPV6 ip address with the IPV6 ip address of my DNS server (a Pi-Hole) and it is working although not as designed I believe. Here are my IPV6 settings:
View attachment 27171
#!/bin/sh
sed -i "s/dhcp-option=lan,option6:23,.*/dhcp-option=lan,option6:23,[YOUR PI-HOLE IPV6 ADDRESS]/" $1
dhcp-option=lan,option6:23,[ipv6 address of DNS server]
why don't you? for everything you're trying to accomplish with PiHole, you're basically undoing by not being your network's DNS.Yep, but if you do not want the router to be your DNS server, eg running PIHOLE then it appears that the webgui doesnt support it, only a change to the conf file and this is fine...if only i could make the change effectively...i cant seem to get the postconf part right.
If the router advertises itself as DNS through DHCP and uses Pi-Hole as upstream DNS, then on the Pi-Hole chart there is going to be only a single client which is the router representing all the devices.why don't you? for everything you're trying to accomplish with PiHole, you're basically undoing by not being your network's DNS.
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "dhcp-option=lan,option6:23,[::]" "dhcp-option=lan,option6:23,[IPV6 address of pihole]" $CONFIG
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
#duid
# Persist interface configuration when dhcpcd exits.
persistent
# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
# Most distributions have NTP support.
#option ntp_servers
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private
# Example static IP configuration:
# My pihole is setup to eth0
interface eth0
static ip_address= [IPV4 Address of the Pihole]/24
static ip6_address= [IPV6 Address of the Pihole]/64
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 [place routers lan IPV6 address ]
in only works with IPV4. The asuswrt firmware lacks the ip table integrity to support ipv6 DNS redirect. (Basically DNS filter was not an intended firmware function. It is exclusive to Merlin-Asuswrt firmware, it was added with no changes to the actual iptables provided by stock.)Does the DNS filter in router mode direct all DNS, including IPv6 and DoH to the DNS server LAN DHCP setting.
Does the Custom DNS 1 in DNS Filter over ride the DNS Server specified in the LAN DHCP setting?
Is there anywhere i can view all of the LAN IPv6 hosts? I've tried using stateless and staeful but i cant find a table like the hosts file of the all of the IPv6 hosts, it would be great if these could be looked up from pihole in the same way IPv4 can using conditional fwding. Not a huge deal though.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!