<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> </head> <body><div id="CanaryBody"> <div> There may be a way to do it via dns, but why wouldn’t you use something like haproxy? You can use a single node instance to do it. I mention it because many devices have a very simple and/or old network stack that may not play as nice as a more full featured network stack. If they are all http/s based services, NGINX serves as a great option. Port information is not in the DNS specification. My $0.02.</div><div><br></div><div>Mac</div> <div><br></div> </div> <div id="CanarySig"> <div> <div style="font-family:Helvetica;"><div style="font-family:Helvetica;"><div style="font-family:Helvetica;">--<br>Donald Mac McCarthy</div><div style="font-family:Helvetica;">Director, Field Operations</div><div style="font-family:Helvetica;">+1.602.584.4445 (desk)</div><div style="font-family:Helvetica;">+1.602.727.4131 (mobile)</div></div></div> <div><br></div> </div> </div> <div id="CanaryDropbox"> </div> <blockquote id="CanaryBlockquote"> <div> <div>On Sunday, Jul 25, 2021 at 2:13 PM, Aaron Jones via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div> <div 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>---------------------------------------------------<br>PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org<br>To subscribe, unsubscribe, or to change your mail settings:<br>https://lists.phxlinux.org/mailman/listinfo/plug-discuss<br></div> </div> </blockquote> </body></html>