Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Forwading DNS works perfectly, but behind, I can only see the pihole IP (which is the expected behaviour), but I was wondering if there is a way to forward the IP source of the request
Actual Behaviour:
as expected : behind pihole, all request are seen from pihole, without original source IP.
I was just wondering if there is a way to forward with original IP information ?
Yes it's possible. Pi-hole uses dnsmasq internally. You can add a config file like /etc/dnsmasq.d/99-forward-ip.conf and add the line add-subnet=32
This will include the full IPv4 address of the original client in the EDNS(0) data. See
I was searching for an option like this on the web interface ..
Ok for adding a conf file. is there any command to sens to reload dnsmak configuration files ?
(systemctl reload or something like this ?)
Many thanks. great and clear answer in no time .. awesome
I still can't see original IP.. I'll check this out as , according to dnsmask man, it should work.
Have to check on the upstream DNS configuration files.