geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.15k stars 440 forks source link

Unbound setting's issue for Internet pi. #491

Closed ProfessorRat closed 9 months ago

ProfessorRat commented 1 year ago

Side note I probably should throw pi-hole on one device and internet monitor on another. 02/22/23 @ 3am EST; the things you think of trying to sleep/deal with health stuff preventing such. Anyway thanks for any input. 👍 🙃 Started with the Internet-Pi and put in unbound and it works fine; but now I get all this unnecessary traffic in the pihole.log Plus a 2023-02-19 00:50:31 DNSMASQ_WARN
Warning in dnsmasq core: Maximum number of concurrent DNS queries reached (max: 150)

Probably throwing off the Grafana/promethous speedtest monitor; 172.20.0.1 is one of the docker containers/speed test. If I could reroute it to exit the Pi any advice would be helpful; if I can manually tell the speed tests to go out too the main router that would help as I do want to have my stuff be recursive on the DNS. If more details are needed just let me know;I can dump my configs for us. :)

Screenshot from 2023-02-19 00-42-20 Feb 18 23:49:14: query[AAAA] www.google.com from 172.20.0.1 Feb 18 23:49:14: forwarded www.google.com to 127.0.0.1#5335 Feb 18 23:49:14: query[A] www.google.com from 172.20.0.1 Feb 18 23:49:14: forwarded www.google.com to 127.0.0.1#5335 Feb 18 23:49:16: query[AAAA] speedof.me from 172.20.0.1 Feb 18 23:49:16: forwarded speedof.me to 127.0.0.1#5335 Feb 18 23:49:16: query[A] speedof.me from 172.20.0.1 Feb 18 23:49:16: forwarded speedof.me to 127.0.0.1#5335 Feb 18 23:49:17: query[A] RatPi-02 from 172.20.0.1 Feb 18 23:49:17: Pi-hole hostname RatPi-02 is 10.100.100.150 Feb 18 23:49:17: query[AAAA] RatPi-02 from 172.20.0.1 Feb 18 23:49:17: Pi-hole hostname RatPi-02 is NODATA

02/19/2023 Found the Docker network/agent that has that address of 172.20.0.1; there has to be a way to allow it to not hit unbound/pi for DNS and route outside for the speed test portion. Here is the docker network string;

matthew@RatPi-02:~ $ docker network inspect pi-hole_default [ { "Name": "pi-hole_default", "Id": "c3ec75668c858fc190a423125d76acde8b0d5c68a155a784a2b3a3b39f80f285", "Created": "2023-02-19T00:15:19.982079292Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "172.20.0.0/16", "Gateway": "172.20.0.1" } ] }, "Internal": false, "Attachable": true, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { "1d3823a0b2b75cc11010af54cef2291f9ee4e3a3929cf93d81a774b3d5dfa402": { "Name": "pihole", "EndpointID": "db2cab3e63c75b9b82bcab39a4f60ac05328ccee9b9779ec19ea03cd7c7ccafc", "MacAddress": "02:42:ac:14:00:03", "IPv4Address": "172.20.0.3/16", "IPv6Address": "" }, "c5fdb3c4714fcde2963f92876dbf6ad3f84f79dececbfc0d88f970aded5ee8c2": { "Name": "pihole-exporter", "EndpointID": "cf99fe056e9fde40ce8b29ee3e9dee7715e94ed10273c8f6afb146abf9a55a3b", "MacAddress": "02:42:ac:14:00:02", "IPv4Address": "172.20.0.2/16", "IPv6Address": "" } }, "Options": {}, "Labels": { "com.docker.compose.network": "default", "com.docker.compose.project": "pi-hole", "com.docker.compose.version": "1.29.2" } } ]

github-actions[bot] commented 12 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 9 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.