折腾啥 头像

消息来源频道

折腾啥

@zhetengsha

频道40,410 位成员公开可见0 人在线

Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流 👥 群组 @zhetengsha_group 📌 资源合集导航 https://t.me/zhetengsha/2 🎁 恰饭推荐 https://t.me/zhetengsha/957 📢 广告投放 @xream Buy ads: https://telega.io/c/zhetengsha feedId:55438372655431680+userId:62307599601855488

成员规模40,410 位成员
在线情况0 人在线
消息总数4,340 条消息
浏览量总数7,753,402 次浏览

在这个频道里搜索消息……

t.me/zhetengsha

debug edns 小技巧
先安装 https://github.com/nxtrace/nali 用来查询 IP, https://github.com/mikefarah/yq 用来处理 JSON( JSON 是结构化的数据, 方便取某个字段. 如果只是想要看文本响应, 不需要输出 JSON)
1. 以 https://github.com/natesales/q 为例:
q o-o.myaddr.l.google.com TXT @tls://8.8.4.4 --format=json | yq eval '.[] | .replies[].answer[].txt[] | select(test("edns0-client-subnet"))' | nali
2. 以 https://github.com/ameshkov/dnslookup 为例:
JSON=1 RRTYPE=TXT dnslookup o-o.myaddr.l.google.com tls://8.8.4.4 | yq '.Answer | map(.Txt) | flatten | map(. | select(. == "edns"))'|nali
🧐 频道资源合集 😄 恰饭推荐 💬 群组
🥰 #edns #ecs #dns #dnslookup #q