荣耀之链论坛

 找回密码
 立即注册
搜索
查看: 881|回复: 0

openwrt dnsmasq使用doh

[复制链接]

1326

主题

2373

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
10267
发表于 2022-5-26 04:01 | 显示全部楼层 |阅读模式
  1. opkg update
  2. opkg install https-dns-proxy
复制代码
  1. opkg install luci-app-https-dns-proxy
  2. service rpcd restart
复制代码

然后在网页上配置DOH
默认的上游服务器是CF和google
删除这2个
点ADD 添加阿里云
BootstrampDNS填223.5.5.5,223.6.6.6
监听地址127.0.0.1
监听端口5053

最后配置DNS的forwards  
network - DHCP and DNS - Forwards
转发到127.0.0.1#5053



然后查看是否生效的方式
netstat -antp
应该能看到有一个连接到223.5.5.5:443的连接





https://openwrt.org/docs/guide-u ... asq_https-dns-proxy


https://github.com/aarond10/https_dns_proxy


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

荣耀之链

GMT+8, 2025-6-18 07:14 , Processed in 0.014164 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表