Page 1 of 2

DHCP configuration question

Posted: Mon Oct 01, 2018 11:07 pm
by kogimus
So, this is probably dumb, but, is it possible to have Amahi hand out my Pi-hole's DNS resolution IP for DHCP leases, and still configure Amahi to handle the requests that make it past the pi-hole's ad filtering (using a custom DNS entry), or is it hardcoded to hand out whatever IP address is configured in the DNS settings in the web interface?

I ask because i'd like to be able to see what machine on my LAN the DNS requests are being generated from, and unless there's a neat ninja-way to have Amahi pass the client IP along to the Pi-Hole that I'm not seeing, I need to have Amahi hand out the Pi-hole DNS resolution IP address, and configure Pi-hole to forward the requests from there to Amahi.

Re: DHCP configuration question

Posted: Tue Oct 02, 2018 3:00 pm
by bigfoot65
If I understand correctly, you might find changing your DNS provider helpful.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 2:11 pm
by tamorgen
I'm trying to do the same thing, but not having much luck. Did you come up with a solution? I think /etc/resolve.conf needs to change the nameserver IP to that of pi-hole, but hda-ctl reconfigures it after each restart of the service.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 2:34 pm
by bigfoot65
Only option is to point the HDA to the DNS server using the Settings option in the Network tab.

That guidance was in my previous post in this thread.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 2:53 pm
by tamorgen
That option only partially works.

HDA --> Pi-Hole --> OpenDNS, does provide the DNS filtering, however, it doesn't provide the list of clients that are querying DNS
Pi-Hole --> HDA --> OpenDNS, provides that client list via upstream DNS queries.

That's the source of the problem.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 2:59 pm
by bigfoot65
Couldn’t that be done using OpenDNS without the extra layer of Pi-Hole?

You can customize OpenDNS via their web site. Of course you’d need an account there.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 3:08 pm
by tamorgen
Couldn’t that be done using OpenDNS without the extra layer of Pi-Hole?

You can customize OpenDNS via their web site. Of course you’d need an account there.
Actually, no. OpenDNS doesn't support ad-blocking. That's what Pi-Hole does beautifully. It sources from many different sources, and allows you to easily whitelist locally. OpenDNS actually has stated they are against adblocking.

Re: DHCP configuration question

Posted: Tue Mar 26, 2019 4:12 pm
by bigfoot65
Check out the ad blocking guidance in the wiki.

Although it’s for Fedora 19, it should work with more current versions of Fedora.

Re: DHCP configuration question

Posted: Thu Apr 11, 2019 3:04 pm
by tamorgen
I did some playing around, and pi-hole can be installed along side Amahi. It does take some work, but since they are both dnsmasq based, they work alongside together without a whole lot of effort. I plan on documenting how I did it in a Wiki entry, once I work out a few more details.

Re: DHCP configuration question

Posted: Thu Apr 11, 2019 6:08 pm
by bigfoot65
Good to hear you got it working with Amahi.

Depending on what needs done to make it work, we could incorporate it into an Amahi app.

Would be glad to assist once you have the documentation and details sorted out.