I can honestly say that this appliance is one of my LANs most important. Having it hosted on an 8GB Raspberry Pi has also made it one of the least expensive, least maintenance intensive, pieces of hardware i've owned my entire life.
https://pi-hole.net/
Also, I need to figure out why. from 8:10am until 8:20am, my Amcrest home IP camera was attempting a DNS lookup every 10 seconds. Very odd and thankfully blocked by Pi-Hole.
Note:This camera has been blocked from the internet since day0 via pfsense and Unifi ACL.
I was able to get the issue resolved regarding DNS lookups.
I first configured my Unifi Unified Security Gateway to be able to verify which device was causing the abusive lookups. I essentially corrected a lazy configuration. I updated/set 1.1.1.1 && 9.9.9.9 for the WAN DHCP Name Service servers. I then updated the LAN DNS to point to the RPI @192.168.1.251.
Online Resource:https://community.ui.com/questions/Using-Pi-hole-with-USG-and-seeing-client-names/14da11d6-0063-4bac-a272-380eee4c6ab2
Next, I updated all Amcrest DNS records to point to 192.167.0.11, which is an IP that doesn't exist on my LAN, with a little bit of 'trickery'.
The Amcrest Web UI will not allow updating to certain (non)addresses.. probably to save consumer headaches.
Some fields are only accessible depending on firmware version installed on the hardware.
Some hardware cannot use certain firmware even if hardware is newer, same line, model.
In addition,the Amcrest dome IP camera has hidden DNS attributes that are not accessible AT ALL from ANY web ui.
You get the idea I hope. In the words of my oldest son... "it was a little sus".I was able to figure out the API request structure by monitoring communication between the webcam [IP address] and web requests sent from my browser, via Wireshark, for parameters that WERE able to be updated manually. From there I was able to display all configuration parameters with getConfig (http://192.168.1.194/cgi-bin/configManager.cgi?action=getConfig&name=All).
Remember how some of these parameters are not available from user interface? I got around those limitations through some web API tampering via variations of the liner below.
http://192.168.1.194/cgi-bin/configManager.cgi?action=setConfig&
- A. Buford
- June, 2022