You can set it up as DNS servers for the wan
and/or wan6
interfaces. You can either use LuCI, or edit /etc/config/network
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option peerdns '0'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option peerdns '0'
list dns '2001:4860:4860::8888'
list dns '2001:4860:4860::8844'
Make sure to turn off the peerdns
option so DNS servers of your ISP don’t get added to the list. You can check current list of upstream DNS servers by looking into file /tmp/resolv.conf.auto
.