Skip to content

Nat-Lab/dnspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnspy: 显示客户端的 DNS 服务器地址

洗澡胡思乱想时的脑洞。演示:http://141.193.21.67:8080

部署

需要的东西:

  • 一个域名,例子中使用 dnspy.nat.moe
  • 一台服务器。
  1. dnspy.nat.moe 的 A 记录指向服务器。
  2. test.dnspy.nat.moe 的 NS 记录指向服务器。
  3. 修改 config.json 内的 testhost 值为 (2) 中的域名 (test.dnspy.nat.moe)。
  4. $ node index.js
  5. 访问服务器的 8080 端口。

License

Public Domain.

Releases

No releases published

Packages

No packages published