Show Clients in Pi-Hole Port 81 with Router DNS?

I am attempting to have each client's activity show up in Pi-Hole.

My original setup was where I had a Netgear R7000 flashed with FreshTomato and in dnsmasq, I added the custom setting dhcp-option=6,192.168.1.38 and 192.168.1.38 is my Odroid HC2 server internal IP address. My router's gateway was the basic 192.168.1.1. I had OpenDNS DNS addresses set up in my router (not Pi-Hole). I also had OMV (OpenMediaVault) GUI accessible on 192.168.1.38:81. In Pi-Hole > Settings > DNS, I had Custom ipv4 checked and the address was 192.168.1.1 (my router). Respond only on interface eth0 was checked off, as well as Use Conditional Forwarding with the CIDR 192.168.1.0/24 and IP address of your DHCP server (router) 192.168.1.1.

Everything worked fine this way and I could see individual client activity. Recently, my server died so I had to reinstall everything on a new server. I did not want to change OMV to be on port 81. I wanted to keep it on port 80. So I changed Pi-Hole to be port 81. The problem is, I don't know what to put in my router. For example, in dnsmasq, I tried dhcp-option=6,192.168.1.38:81 but then I could no longer browse (connect to?) the internet. So I changed back to dhcp-option=6,192.168.1.38 and I don't see individual client activity in Pi-Hole. Is it possible to make my setup work with Pi-Hole on port 81 of 192.168.1.38 and keep my router handling DNS?

When you change port 80 to 81 you only change how you access the Web Interface.
This has nothing to do with DNS (do not use port 81 for your DNS/DHCP config).

Probably there is something else different from your previous configuration.

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.