SomeWhereOverTheRainBow
Part of the Furniture
You can setup conditional forwarding for your pi-hole. it will work if you have stateful addressing setup.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.
on your raspberry pi
Code:
cd /etc/dnsmasq.d
Code:
nano 08-addnforwarding.conf
Code:
server=/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.0.0.0.2.5.4.0.8.2.2.0.1.0.6.2.ip6.arpa/2601:228:452:6::1 # this is just an example Lan ipv6 address.
server=/Some-Lan/2601:228:452:6::1 #this is an example of the domain forwarding from the router.
#obviously you need to replace this with the correct domain and ipv6 lan address and you need to properly #change the numbers in the server .arpa arguement.
You get the ipv6 address from the ipv6 address on your system log tab --> tab ipv6 tab.
it is called the lan ipv6 address, don't worry you do not need the /64 at the end.
On my ipv6 settings page on the router, i chose to leave it set to stateless.
I added a line to my dnsmasq.postconf script inside jffs.
here is what the script looks like
Code:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "dhcp-option=lan,option6:23,[::]" "dhcp-option=lan,option6:23,[ipv6 address of the RPI Goes here]" $CONFIG
sed -i 's/^\(.*ra-stateless.*\),[0-9]\+$/\1,infinite/' $CONFIG
pc_replace "dhcp-range=lan,::,constructor:br0,ra-stateless,64,infinite" "dhcp-range=lan,::2,::500,constructor:br0,slaac,ra-names,64,infinite" $CONFIG