我就想自建 PublicDNS 根据 DigitalOcean 的文档搭建好了
但是使用 dig 解析和其他 dns 返回的结果不一样 (:3 」∠)
1
GeekTest OP AliPublicDNS 返回的
`pi@raspberrypi:/etc $ dig @223.5.5.5 v2ex.com ; <<>> DiG 9.9.5-9+deb8u4-Raspbian <<>> @223.5.5.5 v2ex.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31451 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;v2ex.com. IN A ;; ANSWER SECTION: v2ex.com. 15 IN A 183.60.90.83 v2ex.com. 15 IN A 59.173.16.210 v2ex.com. 15 IN A 183.60.90.82 v2ex.com. 15 IN A 180.96.71.148 ;; Query time: 2185 msec ;; SERVER: 223.5.5.5#53(223.5.5.5) ;; WHEN: Sat Jan 09 06:51:11 UTC 2016 ;; MSG SIZE rcvd: 90` |
2
GeekTest OP 但是自建的 连域名 NS 记录也返回了
pi@raspberrypi:/etc/bind $ dig @127.0.0.1 v2ex.com ; <<>> DiG 9.9.5-9+deb8u4-Raspbian <<>> @127.0.0.1 v2ex.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48962 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 4, ADDITIONAL: 2 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;v2ex.com. IN A ;; ANSWER SECTION: v2ex.com. 600 IN A 180.96.71.148 v2ex.com. 600 IN A 183.60.90.83 v2ex.com. 600 IN A 183.60.90.82 v2ex.com. 600 IN A 59.173.16.210 ;; AUTHORITY SECTION: v2ex.com. 172796 IN NS ns-1546.awsdns-01.co.uk. v2ex.com. 172796 IN NS ns-1330.awsdns-38.org. v2ex.com. 172796 IN NS ns-940.awsdns-53.net. v2ex.com. 172796 IN NS ns-153.awsdns-19.com. ;; ADDITIONAL SECTION: ns-153.awsdns-19.com. 172796 IN A 205.251.192.153 ;; Query time: 3652 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sat Jan 09 06:54:56 UTC 2016 ;; MSG SIZE rcvd: 254 |
3
GeekTest OP 配置文件
named.conf: options { listen-on port 5553 { 127.0.0.1; }; recursion yes; }; |
4
zsj950618 2016-01-10 02:20:14 +08:00 via Android
两个结果不是一样的吗→_→
|
6
ryd994 2016-01-10 12:14:43 +08:00 via Android
你确定真的要 public 么? public DNS
|
7
ryd994 2016-01-10 12:14:58 +08:00 via Android
public DNS 是超大的坑
|
8
lenovo 2016-01-11 04:58:27 +08:00
可以试试 Unbound+DNSCrypt 的 LocalDNS 分流解析方案
|
9
lenovo 2016-01-11 04:58:56 +08:00
|
10
ztrt 2016-01-11 10:55:01 +08:00
@lenovo 按步骤来并修改好了配置没生效解析不了: D:\Program Files\unbound>unbound-checkconf unbound.conf
unbound-checkconf: no errors in unbound.conf D:\Program Files\unbound>unbound-control -c unbound.conf reload [1452480673] unbound-control[5780:0] error: connect: Connection refused. for ::1 D:\Program Files\unbound>ipconfig /flushdns Windows IP 配置 已成功刷新 DNS 解析缓存。 这是什么情况。 |
11
leonard916 2016-01-11 12:11:43 +08:00
问题在于 BIND 的性能表示 不能做大并发的递归 你本地使用当然没问题
|
12
lenovo 2016-01-11 17:15:02 +08:00
|
13
popu111 2016-01-11 21:37:50 +08:00 via Android
总是只在 op 上 fq 用好多人是不是忘了 dnsmasq 也是个不错的自制 DNS 方案?囧 rz
|