Re: Pi-hole, Linux hosts file and local DNS

2021-07-26 Thread Michael Butash via PLUG-discuss
It appears to use unbound for dns, so no reason you shouldn't be able to
add your own zone for your domain to it as well.

Services are a whole other matter, if applications aren't service aware for
dns (few are, active directory comes to mind does) without a whole other
layer of middleware like Cilium.

-mb


On Sun, Jul 25, 2021 at 12:09 AM Steve B via PLUG-discuss <
plug-discuss@lists.phxlinux.org> 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@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@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Pi-hole, Linux hosts file and local DNS

2021-07-25 Thread Donald Mac McCarthy via PLUG-discuss
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.

Mac

--
Donald Mac McCarthy
Director, Field Operations
+1.602.584.4445 (desk)
+1.602.727.4131 (mobile)

> On Sunday, Jul 25, 2021 at 2:13 PM, Aaron Jones via PLUG-discuss 
> mailto:plug-discuss@lists.phxlinux.org)> 
> wrote:
> 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 
> >  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@lists.phxlinux.org 
> > > (mailto:PLUG-discuss@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@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@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


signature.asc
Description: PGP signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Pi-hole, Linux hosts file and local DNS

2021-07-25 Thread Aaron Jones via PLUG-discuss
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 
>  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@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@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@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Pi-hole, Linux hosts file and local DNS

2021-07-25 Thread Amit Nepal via PLUG-discuss
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@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@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Pi-hole, Linux hosts file and local DNS

2021-07-25 Thread Steve B via PLUG-discuss
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@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss