<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">You can assign domain names to local services internally using pihole. Yes. I do. </div><div dir="ltr"><br><blockquote type="cite">On Jul 25, 2021, at 10:07 AM, Amit Nepal via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">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.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thank You,</div>
<div class="moz-cite-prefix">Amit<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 7/25/2021 12:08 AM, Steve B via
PLUG-discuss wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAAHWJ+7aNdBwCK1dPVQdX6g5FaV8_MRfFOfmxcD4UgCMmrpDOw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Is there a way to use Pi-holes local DNS functions
to create entries for services on my local LAN?
<div><br>
</div>
<div>For example if Pi-Hole is at <a href="http://192.168.1.160/admin" moz-do-not-send="true">http://192.168.1.160/admin</a>
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.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
<p><br>
</p>
<span>---------------------------------------------------</span><br><span>PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org</span><br><span>To subscribe, unsubscribe, or to change your mail settings:</span><br><span>https://lists.phxlinux.org/mailman/listinfo/plug-discuss</span></div></blockquote></body></html>