惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
G
Google Developers Blog
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Engineering at Meta
Engineering at Meta
B
Blog
博客园_首页
量子位
博客园 - 叶小钗
L
LangChain Blog
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
D
DataBreaches.Net
雷峰网
雷峰网
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
TaoSecurity Blog
TaoSecurity Blog
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
The GitHub Blog
The GitHub Blog
I
Intezer
H
Help Net Security
The Hacker News
The Hacker News
The Register - Security
The Register - Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
AWS News Blog
AWS News Blog
V
V2EX
Microsoft Security Blog
Microsoft Security Blog
T
Tenable Blog
Spread Privacy
Spread Privacy
A
Arctic Wolf
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
Schneier on Security
Schneier on Security
C
CERT Recently Published Vulnerability Notes
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Last Watchdog
The Last Watchdog
Latest news
Latest news
T
Troy Hunt's Blog
L
LINUX DO - 热门话题

WireGuard

小火箭开启包括所有网络后, wg 失效 Wireguard For Windows 五年来首次推送了更新 - V2EX 跨省跨运营商, wireguard 丢包。wireguard 能否丢包自动重发 - V2EX 请教一个使用 WireGuard 后速度下降的问题 WireGuard 又可以用了??! Wireguard 为什么容易就断了?手动换 endpoint 非常麻烦 - V2EX wg 会被 isp 搞了? Wirguard IPv6 过墙会被阻断吗 - V2EX Wireguard 端点地址如何避免自动切换? - V2EX wg-easy 4 天前更新了,支持 IPV6 了。 - V2EX wireguard 客户端路由 ip 分流问题 - V2EX wireguard 内网通讯的延迟大概是多少 - V2EX 家有公网 IP,如何在宿舍开放端口跟朋友联机? - V2EX wireguard 一点小技巧发现 - V2EX WireGuard 的 udp 从国外穿透回来是不是会被阻断,现在用 frp 的 quic 一年多了很稳定,不知道要不要换 WireGuard - V2EX frp 配合 wireguard 稳定吗? - V2EX 阿里云中转 Wireguard 回家问题 - V2EX wg-easy 有流量通过但是无法访问内网 - V2EX 请教 tailscale 直连问题 - V2EX 两地的 Wireguard 在 Wi-Fi 下无法连接,但是在蜂窝网络下却可以,这是为什么? - V2EX Wireguard 自动重连的问题 - V2EX Wireguard 同时使用多台 iOS/Mac 设备通过 Surge 连接的问题 - V2EX wireguard 国内都不行了? - V2EX wireguard 配置 - V2EX clash.meta 连接 wireguard 回家访问局域网不通 - V2EX 请教一个 wireguard 的奇怪问题 - V2EX 用 wg 连回家相对于 ss/vmess 有什么优势吗 - V2EX 家宽用 Wireguard 被封了 - V2EX 问个问题, wireguard 组网成功后,如何设置通过域名互相访问指定设备? - V2EX 握手成功,但是只能单向 ping 通 - V2EX 不是程序员,不太懂 wireguard 的机制 - V2EX 请教个 wireguard 的问题 - V2EX Wireguard 的 allowIPS 问题 - V2EX DDNS 域名连家里的 WireGuard 会被运营商知道是通过域名访问的吗? - V2EX 关于 Wireguard 设置 Address /24 /33 疑问 - V2EX 快速部署 wireguard 的最佳实践是? - V2EX wireguard 能访问局域网但是不能访问本机 - V2EX 用 wireguard 组网跨境使用,如何实现境内外分流,现在通过 gre 隧道打通,所有的流量都走境外了,导致境内业务访问就比较慢了 - V2EX 如何调试 WireGuard 内核模块 - V2EX wireguard 运行在 layer4 会造成很大的性能损耗? - V2EX 免费 WireGuard 节点 - V2EX 简直是丧心病狂,连 wireguard 官网也 TM 的 DNS 污染,日了狗了! - V2EX WireGuard 的 docker 容器如何为局域网做代理 - V2EX wiregaurd 打洞同 nat3 需要打洞很长时间,有个疑问和包大小数据发送间隔 - V2EX wiregaurd 用命令启动的,但是我想实现配置文件里面的 Table = off 效果,失败 - V2EX 编译 wireguard 的安卓客户端遇到点问题,开发语言是 Kotlin - V2EX unity web gl 中 上游路由不生效 netbird - V2EX WireGuard MTU 设置心得 - V2EX “心跳间隔”该填多少比较好?
我的笔记本使用 wireguard 正常连接家里内网 ip,却没有办法使用家里的 dns。 - V2EX
jqbbbbb123 · 2024-01-09 · via WireGuard

我在家里的内网部署了 dns (开源项目 blocky),在内网使用是正常的。

我在公司上班笔记本都是开着三个 vpn 软件:工作的 vpn ,wireguard (访问家里),clash-verge (用的 meta 核心)。

因为工作时要连接公司的 vpn ,所以在 clash-verge 配置文件里 .dns.nameserver-policy 我指定了工作使用的域名走工作的 dns ,工作上我使用起来是正常的。

dns:
  enable: true
  ipv6: false
  enhanced-mode: redir-host
  fake-ip-range: 198.18.0.1/16
  proxy-server-nameserver:
    - 8.8.8.8
  default-nameserver:
    - 8.8.8.8
  nameserver:
    - 8.8.8.8
    - 10.30.1.29  #工作 dns
    - 192.168.20.74   #家里 dns
  nameserver-policy:
    '+.xxx.com.cn': '10.30.1.29'  #工作域名
    '+.xxx.com': '192.168.20.74'  #家里域名
tun:
  enable: true
  stack: system 
  dns-hijack: 
    - any:53
  auto-route: true
  auto-detect-interface: true 
  inet4_route_address:

我使用 wireguard 连接内网,同样在配置文件里 .dns.nameserver-policy 设置内网域名走家里内网 dns ,但是没有效果。

在 powershell 中使用 nslookup 指定家里域名和家里 dns 提示:DNS request timed out.

我在部署家里内网 dns 前一直都是使用 wireguard 直连的,ip 都能正常访问。

( clash-verge 一直都是使用 tun 模式)

我关闭了工作 vpn 和 clash-verge ,并配置 wireguard dns 为内网 dns

[Interface]
PrivateKey = 
Address = 10.66.99.21/32
DNS = 192.168.20.74

[Peer]
PublicKey = 
PresharedKey = 
AllowedIPs = 192.168.20.0/24, 192.168.3.0/24, 192.168.100.0/24, 10.66.99.0/24
Endpoint = 

此时使用 nslookup 指定家里域名和家里 dns 还是提示:DNS request timed out.