Hi,
First of all, i have successfully setup ipv4 + ipv6 in combination with docker/pihole. But there is one problem which i'd like to resolve with ipv6.
The problem
All clients on the network that doing DNS requests by ipv6 gets aggregated. This means that all DNS requests are made from one ipv6 address (the gateway address of the docker network bridge) as shown in the 'query log' of PiHole. In this case it's address is: fd00::2:0:0:1
My expectation is that each individual client is shown in the 'query log' just like it does with ipv4 addresses.
Server information
IPv4 address for br-13dc11d92a9b: 172.22.0.1
IPv6 address for br-13dc11d92a9b: fd00::2:0:0:1
IPv4 address for enp4s0: 10.0.10.5
IPv6 address for enp4s0: 2a02:a230:d105:10:be5f:f4ff:fee1:e590
Docker compose
pihole:
container_name: pihole
image: pihole/pihole:v5.8.1
ports:
- '53:53/tcp'
- '53:53/udp'
networks:
public.network:
networks:
public.network:
enable_ipv6: true
driver: bridge
ipam:
config:
- subnet: fd00::2:0:0:0/80
When i invoke nslookup from any client:
nslookup google.com 10.0.10.5 --> pihole query log shows ip of the client (so this is correct)
nslookup google.com 2a02:a230:d105:10:be5f:f4ff:fee1:e590 --> pihole query log shows ip of the gateway address (fd00::2:0:0:1, **incorrect**, i would like to see the client ip as well...)
Can this be fixed somehow? If you miss any information, let me know.