Hey, all -- been messing around with Pi Hole for a few months now and haven't been driven to drink QUITE yet. Here's my setup:
I have an Asus router acting as the gateway and as the DHCP server. The Pi Hole has a static IP and is on a dedicated Micro PC. I have registered a .com domain and have it hosted at a DDNS server, pointing at my router. Currently, I have ports 80 and 443 open only for experimental purposes, and I plan to close them at some point in the future. I have no plans to use the domain for any services such as web hosting, email, or the like, although I may set up the VPN function on my router further down the road (hence the DDNS hosting).
The Asus router has a space for a domain name; I have the domain name entered there. The domain is also entered in the Pi Hole under "Settings > DNS" and not anywhere else. When I go to my Terminal, I would like to be able to use commands such as Ping and Traceroute with other devices on my home network solely by hostname (rather than FQDN). Currently, if I ping only by hostname, I get responses from my Asus external IP address. I would like them to come from my hostname's local IP address.
Also when I ping by hostname only, I get my Asus external IP address, regardless of whether the hostname exists or not. I'd like to get the proper error message. Finally, I would like my devices to have the standard "hostname.domain.com" format, which they currently don't. I would also like to disable ".local" if that's possible, although I can also see how that might be problematic.
This is my first foray into learning DNS, so any or all of the above may be naive. If any portion of the above appears to be more work than it's worth for my purpose (learning more about how this works, purely for my own edification), then I'm willing to drop it -- everything but the VPN server, but I don't think the Pi Hole is going to be relevant there.