dnsdist.conf
yum install -y epel-release
yum install -y dnsdist
# cat>/etc/dnsdist/dnsdist.conf<<EOF
#addAction({"*.a.com."}, SpoofAction("192.168.1.100"))
newServer({address="8.8.8.8:53",useClientSubnet=true,maxCheckFailures=30,qps=10000})
newServer({address="1.1.1.1:53",useClientSubnet=true,maxCheckFailures=30,qps=10000})
setACL({'0.0.0.0/0', '::/0'})
addLocal('0.0.0.0:53')
setServerPolicy(firstAvailable)
setECSSourcePrefixV4(24)
setECSSourcePrefixV6(56)
EOF
none