Couple of observations on Custom DNS facility and a couple of questions.
The name Custom DNS is not the best I suggest. Perhaps Local Hostnames might be better (possibly need to put my tin hat on )? Any entry in
/etc/hosts is going to be a local hostname, is it not? You could argue that Pi-hole itself is a custom DNS .
Pulling in the current content of
/ect/hosts for a user to see might be useful. What will happen if a hostname is duplicated? Should this be avoided at all costs?
Perhaps add a comment in
hosts file, to not add entries but to use the internal facility?
How does this facility interact / impact with the advanced DNS settings? I am thinking of -
- Never forward non-FQDNs (currently checked)
- Never forward reverse lookups for private IP ranges (currently checked)
- Use Conditional Forwarding (currently un-checked)
I'll admit I have never been completely comfortable that I understand what these settings actually do.
I currently have a number of static IP entries in my
/etc/hosts that are subdomains of a registered domain that I only use internally (SSL Certs issued by DNS), but this is different to the domain specified in the DHCP server (