2.1. Configure /etc/config/dhcp
config dnsmasq
...
# Set default dns resolver
list server '127.0.0.1'
# Enable usage of dns resolver from /etc/resolv.conf
option noresolv '-1'
# Disable DNSSEC validation
option dnssec '-1'
option dnsseccheckunsigned '-1'
2.2. Configure /etc/config/network
# IPv4
config interface 'wan'
...
# Keep peer DNS enabled to improve your DNS fault tolerance.
option peerdns '-1'
# Use digitalcourage as dns resolver
option dns '5.9.164.112'
# IPv6
config interface 'wan6'
...
# Keep peer DNS enabled to improve your DNS fault tolerance.
option peerdns '-1'
# Use digitalcourage as dns resolver
option dns '2a01:4f8:251:554::2'
2.3. Reload configuration and restart dnsmasq:
reload_config
/etc/init.d/dnsmasq restart