小编Rom*_*cea的帖子

奇怪的 DNS 条目

我正在学习更多关于 DNS 系统的知识,现在我正在研究一个用 Go 编写的非常好的项目,我在代码中注意到它查询一些 DNS 记录 nowhere/?name=probe-test.dns.nextdns.io

最初我认为这不可能是正确的,它看起来更像是一个无效的 url 而不是域名,但我启动了一个控制台并点击dig nowhere/?name=probe-test.dns.nextdns.io并返回了一条 A 记录。

$ dig nowhere/?name=probe-test.dns.nextdns.io

; <<>> DiG 9.11.3-1ubuntu1.11-Ubuntu <<>> nowhere/?name=probe-test.dns.nextdns.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53429
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;nowhere/?name=probe-test.dns.nextdns.io. IN A

;; ANSWER SECTION:
nowhere/?name=probe-test.dns.nextdns.io. 300 IN A 45.90.28.0

;; Query …
Run Code Online (Sandbox Code Playgroud)

domain-name-system

18
推荐指数
2
解决办法
2931
查看次数

Dante 无法绑定到公共 IP 地址

我在具有多个公共 ip 地址的主机上有一个 Dante 服务器,但它无法绑定到主机的 ips。ips 是可以 ping 的,我有另一个服务在监听它们(不同的端口),它可以工作,所以我知道 ips 工作。在我的测试服务器上,它有 10 个公共地址,它没有问题,但在这个有数百个地址的服务器上却没有问题。错误:

debug: sockaddr2ifname(): address 138.xxx.93.2.51002 does not belong to interface

这是我的配置:

logoutput: /dev/stdout
debug: 1

internal: 138.xxx.93.2 port = 51002
external 138.xxx.93.2

external.rotation: same-same

socksmethod: username none
clientmethod: none

user.privileged: root
user.notprivileged: nobody

client pass {
        from: 45.xxx.56.91/32 to: 138.xxx.93.2/32
        log: error
}

socks pass {
        from: 0/0 to: 0/0
        session.state.key: from
        session.state.max: 100
        session.state.throttle: 10/2
}
Run Code Online (Sandbox Code Playgroud)

proxy socks dante

5
推荐指数
0
解决办法
812
查看次数

标签 统计

dante ×1

domain-name-system ×1

proxy ×1

socks ×1