Force All DNS Queries Through PiHole with OpenWRT
jeff.vtkellers.com › posts › technologyDec 15, 2020 · The second item is important. If a software client makes a DNS request to 1.1.1.1 but gets a response from some other IP address, it will complain. We want the PiHole to masquerade as the DNS server that the client was trying to reach. Port Forward Rule. On the OpenWRT router under Network > Firewall > Port Forwards, I added the following rule:
[OpenWrt Wiki] DNS and DHCP examples
openwrt.org › docs › guide-userDec 16, 2021 · DNS and DHCP examples See also: DNS and DHCP configuration, DNS encryption, DNS hijacking Introduction This how-to provides most common dnsmasq and odhcpd tuning scenarios adapted for OpenWrt. Instructions Static leases LuCI -> DHCP and DNS -> Static Leases Add a fixed IPv4 address 192.168.1.22 and name
[OpenWrt Wiki] DDNS client configuration
openwrt.org › docs › guide-userSep 06, 2021 · force_dnstcp: boolean : no '0' Since CC 15.05 disable(0) / enable(1) DNS requests via TCP protocol. By default every DNS call is made via UDP protocol. Some internet provider offer modems, caching UDP DNS requests. They redirect every request to external servers to local modem cache. To force the usage of TCP for DNS requests enable this option.