DHCP configuration question

kogimus
Posts: 8
Joined: Thu Apr 17, 2014 10:07 pm

DHCP configuration question

Postby kogimus » Mon Oct 01, 2018 11:07 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11353
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP configuration question

Postby bigfoot65 » Tue Oct 02, 2018 3:00 pm

If I understand correctly, you might find changing your DNS provider helpful.
ßîgƒσστ65
Applications Manager

tamorgen
Posts: 53
Joined: Wed Jul 17, 2013 1:48 pm

Re: DHCP configuration question

Postby tamorgen » Tue Mar 26, 2019 2:11 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11353
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP configuration question

Postby bigfoot65 » Tue Mar 26, 2019 2:34 pm

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.
ßîgƒσστ65
Applications Manager

tamorgen
Posts: 53
Joined: Wed Jul 17, 2013 1:48 pm

Re: DHCP configuration question

Postby tamorgen » Tue Mar 26, 2019 2:53 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11353
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP configuration question

Postby bigfoot65 » Tue Mar 26, 2019 2:59 pm

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.
ßîgƒσστ65
Applications Manager

tamorgen
Posts: 53
Joined: Wed Jul 17, 2013 1:48 pm

Re: DHCP configuration question

Postby tamorgen » Tue Mar 26, 2019 3:08 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11353
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP configuration question

Postby bigfoot65 » Tue Mar 26, 2019 4:12 pm

Check out the ad blocking guidance in the wiki.

Although it’s for Fedora 19, it should work with more current versions of Fedora.
ßîgƒσστ65
Applications Manager

tamorgen
Posts: 53
Joined: Wed Jul 17, 2013 1:48 pm

Re: DHCP configuration question

Postby tamorgen » Thu Apr 11, 2019 3:04 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11353
Joined: Mon May 25, 2009 4:31 pm

Re: DHCP configuration question

Postby bigfoot65 » Thu Apr 11, 2019 6:08 pm

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.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 0 guests