Help with casting and dns redirects not working

I can’t comment on the casting issue, but I can help with the DNS redirect. You’ll need a couple Destination NAT (DNAT) rules:

Rule 1: source IP 192.168.1.3, translation is 0.0.0.0, put a check mark in “Exclude from NAT”

Rule 2: source IP 192.168.1.0/24 or 192.168.1.1-192.168.1.254, destination port is UDP 53, translation IP is 192.168.1.3, translation port is 53

Rule 1 ensures no dns loops happen when your PiHole send a query to its upstream provider. Rule 2 will redirect all dns queries destined for IPs other than PiHole to PiHole.

These rules don’t literally have to be your first 2 rules, but the rule to prevent loops must come before the rule to redirect. In my case I have about 5 other rules between the two.

/r/Ubiquiti Thread