DNS, dnsmasq.postconf, How To?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

GHammer

Senior Member
Long ago, I used dnsmasq.postconf to put my Pihole's local IP (V4 & V6) into DHCP for various clients use. Some just don't have the good sense to listen to manual configuration.
Then, awhile back, (like the precise timing?), this method quit working. It caused the interface to be included with the IP address, but only on wireless clients. I never got any resolution on this.
It looked like this: fe80::da16:4c05:d30d:efd6%wlan0
I do not wish to use the DNSFilter option as that causes the Pihole to see all lookups as coming from a single IP address, the router.
So, since I am going to take my router back to shiny clean factory state in order to load the 386 betas, how shall I proceed? I'm attaching the file I have come up with. It has to have a txt extension or won't be attached.

Any new info/idea is certainly welcome.
 

Attachments

  • dnsmasq.postconf.txt
    152 bytes · Views: 38

dave14305

Part of the Furniture
The latest pihole version will allow dnsmasq from the router to pass the LAN client's IP to the PiHole for client identification. We discussed it in this thread:
Once the router WAN DNS is configured to point to Pi-Hole, you can add add-subnet=32 to /jffs/configs/dnsmasq.add and then run service restart_dnsmasq
 

GHammer

Senior Member
The latest pihole version will allow dnsmasq from the router to pass the LAN client's IP to the PiHole for client identification. We discussed it in this thread:
Once the router WAN DNS is configured to point to Pi-Hole, you can add add-subnet=32 to /jffs/configs/dnsmasq.add and then run service restart_dnsmasq

Router is configured, just wanting to ensure I've gotten everything from the various threads.
Here is my dnsmasq.add (not dnsmasq.conf.add)

Code:
strict-order
add-subnet=32
local=/0.100.10.10.in-addr.arpa/
 

GHammer

Senior Member
The latest pihole version will allow dnsmasq from the router to pass the LAN client's IP to the PiHole for client identification. We discussed it in this thread:
Once the router WAN DNS is configured to point to Pi-Hole, you can add add-subnet=32 to /jffs/configs/dnsmasq.add and then run service restart_dnsmasq

There must be more to it than that as I setup the WAN DNS, dnsmasq.conf.add, and DNSFilter to Router.
That produced only the router being identified in the pihole, no other device was shown. But, the router did have 50,000 hits so all the traffic was redirected.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top