DNS相关问题

1.指定域名解析路径

域名的解析指定IP地址进行解析,不用INTERNET默认的WAN IP,使用其他WAN获取到的IP。
域名解析路径

2.访问固定的DNS

iptables -t nat -I PREROUTING -i br0 -p tcp --dport 53 -j DNAT --to-destination 221.130.33.60
iptables -t nat -I PREROUTING -i br0 -p udp --dport 53 -j DNAT --to-destination 221.130.33.60

温馨提示:
以上文章描述如有不清晰之处,欢迎在评论区评论,如有时间,会第一时间回复,谢谢!

猜你喜欢

转载自blog.csdn.net/qq_20677327/article/details/106974274