Pi-hole, Linux hosts file and local DNS

Amit Nepal amit at amitnepal.com
Sun Jul 25 09:59:32 MST 2021


If I am understanding your question correctly, you can use pihole to 
resolve ips to your local domain names like you can with linux hosts 
file, but I don't believe there is a way to include port numbers with 
DNS resolution.

Thank You,
Amit

On 7/25/2021 12:08 AM, Steve B via PLUG-discuss wrote:
> Is there a way to use Pi-holes local DNS functions to create entries 
> for services on my local LAN?
>
> For example if Pi-Hole is at http://192.168.1.160/admin 
> <http://192.168.1.160/admin> can i create something that has that full 
> URL? The Linux hosts file limits me to the IP address and I'm looking 
> for a way to have anything that comes after the IP such as port 
> numbers and such.
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20210725/3d29a652/attachment.html>


More information about the PLUG-discuss mailing list