unifios-utilities icon indicating copy to clipboard operation
unifios-utilities copied to clipboard

PiHole DNS response latency

Open RomaDomor opened this issue 2 years ago • 2 comments

Describe the bug DNS Requests to PiHole have big response latency, not a problem of PiHole itself but of a Podman container probably as the problem persists when quering using dig in PiHole's container shell. Maybe something to do with CNI Plugins? ping command returns similar ping both on UDM Pro host OS and in Pihole container

To Reproduce Steps to reproduce the behavior:

  1. Make dig queries to a DNS server in UDM Pro home OS and in PiHole Podman Container
  2. Compare results

Expected behavior Difference in response latencies should be minimal, yet it is not.

Screenshots DiG Response on UDM Pro host OS: SCR-20230223-l1e DiG Response in PiHole Podman container: SCR-20230223-l14

UDM Information

  • Variant: Dream Machine Pro
  • Firmware Version: 2.4.27
  • Controller Version 7.2.97

RomaDomor avatar Feb 23 '23 12:02 RomaDomor

Are you using the SNAT / DNAT stuff to force alll your br's into a one machine. Morerr IPTables rules == slowerr traffic. It's would explain why DNS is the only protocol impacted. Also, CNI is about to be killed. They jusst added working DHCP to Mavclan in the new library, when I get a minute we can adopt it see if that helps.

boostchicken avatar Feb 23 '23 16:02 boostchicken

Will you provide a script to remove CNI for those who downloaded it via remote shell script? I only needed the on_boot.d directory for custom scripts, but didn't need podman or any extra stuff.

ghost avatar Feb 23 '23 20:02 ghost