Pi-hole, Linux hosts file and local DNS

Aaron Jones retro64xyz at gmail.com
Sun Jul 25 14:13:38 MST 2021


You can assign domain names to local services internally using pihole. Yes. I do. 

> On Jul 25, 2021, at 10:07 AM, Amit Nepal via PLUG-discuss <plug-discuss at lists.phxlinux.org> wrote:
> 
> 
> 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 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
> 
> ---------------------------------------------------
> 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/d46ba269/attachment.html>


More information about the PLUG-discuss mailing list