Use Pihole on a vps server

Until now I have been using a server inside what to use with pihole and turn it into a private dns server. Being in the local network, I had the possibility to view all the local ip addresses of my devices from the pihole dashboard. But now I have bought a vps and obviously the server is no longer on my modem's local network. So to use it I would have 3 possibilities:
1- install OpenVPN and connect each device via the configuration file. I would like to avoid this possibility because it would become a hassle to have to configure all the devices, especially if they are TVs.
2- Insert the configuration file inside the modem so that it connects directly to vpn. This would be the best option, but for some reason my modem does not accept the configuration file.
3- Simply enter the server's ipv4 address into the modem to use it as a dns server. This solution is the one I am currently using, unfortunately, however, it has some drawbacks. First of all, the server would become an open resolver, because it would accept incoming connections from port 53 from any ip address. This is not very safe and could suffer ddos attacks. However, I could solve the problem by setting the firewall so that it only accepts dns requests from the modem's ip (which fortunately is static). The other critical point is that in this way in the pihole dashboard I cannot see the local ip addresses of my devices, but I only see the public ip of the modem since, obviously, the server is not in the local network. This is very limiting because, for example, I cannot decide to block a domain on a single device but would have to block them on all. Now my question is this: is there a way to be able to display local ip addresses or at least hostnames?

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