Giter Club home page Giter Club logo

Comments (12)

pymumu avatar pymumu commented on May 29, 2024

发log才知道发生了什么,还有对应出问题的域名。

from smartdns.

kgggggb avatar kgggggb commented on May 29, 2024

发log才知道发生了什么,还有对应出问题的域名。

以下 log 对应了 电脑浏览器闪现这个错误然后会立马重载正常访问

[2024-03-01 16:05:58,605][DEBUG][     dns_server.c:7114] recv query packet from 内网电脑, len = 39, type = 0
[2024-03-01 16:05:58,605][DEBUG][     dns_server.c:7130] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 39, id = 3546, tc = 0, rd = 1, ra = 0, rcode = 0
[2024-03-01 16:05:58,605][DEBUG][     dns_server.c:7155] query www.eri.u-tokyo.ac.jp from 内网电脑, qtype: 1, id: 3546, query-num: 7
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,605][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,605][ INFO][     dns_client.c:4242] request: www.eri.u-tokyo.ac.jp, qtype: 1, id: 8564, group: default
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 18
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 8564, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,623][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 3546
[2024-03-01 16:05:58,623][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 8564, retry.
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:4117] retry query www.eri.u-tokyo.ac.jp, type: 1, id: 8564
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,623][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,635][DEBUG][     dns_client.c:1600] result: server.arcgisonline.com, qtype: 1, has-result: 1, id 8677
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 19
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 8564, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,641][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 3546
[2024-03-01 16:05:58,641][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 8564, retry.
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:4117] retry query www.eri.u-tokyo.ac.jp, type: 1, id: 8564
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,641][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,642][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,642][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,642][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,642][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,648][DEBUG][     dns_server.c:7114] recv query packet from 内网电脑, len = 39, type = 0
[2024-03-01 16:05:58,648][DEBUG][     dns_server.c:7130] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 39, id = 3546, tc = 0, rd = 1, ra = 0, rcode = 0
[2024-03-01 16:05:58,648][DEBUG][     dns_server.c:7155] query www.eri.u-tokyo.ac.jp from 内网电脑, qtype: 1, id: 3546, query-num: 7
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 18
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 8564, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,660][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 3546
[2024-03-01 16:05:58,660][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 8564, retry.
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:4117] retry query www.eri.u-tokyo.ac.jp, type: 1, id: 8564
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,660][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,665][DEBUG][     dns_client.c:2897] recv tcp packet from 1.0.0.1, len = 318
[2024-03-01 16:05:58,665][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 97, id = 17567, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,678][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 18
[2024-03-01 16:05:58,678][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 8564, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,678][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,678][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 3546
[2024-03-01 16:05:58,678][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 8564, retry.
[2024-03-01 16:05:58,678][DEBUG][     dns_client.c:4114] retry query www.eri.u-tokyo.ac.jp, type: 1, id: 8564 failed
[2024-03-01 16:05:58,678][DEBUG][     dns_client.c:1600] result: www.eri.u-tokyo.ac.jp, qtype: 1, has-result: 0, id 8564
[2024-03-01 16:05:58,678][ INFO][     dns_server.c:2612] result: www.eri.u-tokyo.ac.jp, qtype: 1, rtt: -0.1 ms, 0.0.0.0
[2024-03-01 16:05:58,678][DEBUG][     dns_server.c:2335] reply www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, reply: 1
[2024-03-01 16:05:58,678][ INFO][     dns_server.c:2390] result: www.eri.u-tokyo.ac.jp, client: 内网电脑, qtype: 1, id: 3546, group: default, time: 73ms
[2024-03-01 16:05:58,678][ INFO][     dns_server.c:4478] result: www.eri.u-tokyo.ac.jp, client: 内网电脑, qtype: 1, id: 3546, group: default, time: 30ms
[2024-03-01 16:05:58,686][DEBUG][     dns_server.c:7114] recv query packet from 内网电脑, len = 39, type = 0
[2024-03-01 16:05:58,686][DEBUG][     dns_server.c:7130] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 39, id = 19232, tc = 0, rd = 1, ra = 0, rcode = 0
[2024-03-01 16:05:58,686][DEBUG][     dns_server.c:7155] query www.eri.u-tokyo.ac.jp from 内网电脑, qtype: 1, id: 19232, query-num: 6
[2024-03-01 16:05:58,686][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,686][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,686][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,687][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,687][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,687][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,687][ INFO][     dns_client.c:4242] request: www.eri.u-tokyo.ac.jp, qtype: 1, id: 932, group: default
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 18
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 932, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,705][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 19232
[2024-03-01 16:05:58,705][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 932, retry.
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:4117] retry query www.eri.u-tokyo.ac.jp, type: 1, id: 932
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 1
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 远程 DNS 2
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 1.0.0.1:443
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 1.1.1.1:53
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 119.29.29.29:53
[2024-03-01 16:05:58,705][DEBUG][     dns_client.c:3845] send query to server 119.28.28.28:53
[2024-03-01 16:05:58,706][DEBUG][     dns_client.c:2599] recv udp packet from 223.6.6.6, len: 66, ttl: 118, latency: 2
[2024-03-01 16:05:58,706][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408
[2024-03-01 16:05:58,706][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,707][DEBUG][     dns_client.c:2599] recv udp packet from 223.6.6.6, len: 66, ttl: 118, latency: 2
[2024-03-01 16:05:58,707][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408
[2024-03-01 16:05:58,707][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,707][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408
[2024-03-01 16:05:58,707][DEBUG][     dns_server.c:4622] query result from server 119.29.29.29:53, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 19232
[2024-03-01 16:05:58,707][DEBUG][     dns_server.c:3858] domain: www.eri.u-tokyo.ac.jp TTL: 3600 IP: 153.126.242.167
[2024-03-01 16:05:58,719][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 96, ttl: 64, latency: 14
[2024-03-01 16:05:58,719][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 3, nscount = 0, nrcount = 0, len = 96, id = 56470, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,719][DEBUG][     dns_client.c:1848] domain: att.waqi.info qtype: 1  qclass: 1
[2024-03-01 16:05:58,719][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: att.waqi.info qtype: 1 rcode: 0, id: 48310
[2024-03-01 16:05:58,719][DEBUG][     dns_server.c:4118] name: att.waqi.info ttl: 14400 cname: api2.waqi.info
[2024-03-01 16:05:58,719][DEBUG][     dns_server.c:4118] name: api2.waqi.info ttl: 14400 cname: jp1b.waqi.info
[2024-03-01 16:05:58,719][DEBUG][     dns_server.c:3858] domain: jp1b.waqi.info TTL: 14400 IP: 139.162.119.175
[2024-03-01 16:05:58,723][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 50, ttl: 64, latency: 18
[2024-03-01 16:05:58,723][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 50, id = 932, tc = 1, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,723][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,723][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 1, type: 0, domain: www.eri.u-tokyo.ac.jp qtype: 1 rcode: 0, id: 19232
[2024-03-01 16:05:58,723][DEBUG][     dns_server.c:4172] result is truncated, www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, id: 932, retry.
[2024-03-01 16:05:58,723][DEBUG][     dns_client.c:1600] result: www.eri.u-tokyo.ac.jp, qtype: 1, has-result: 1, id 932
[2024-03-01 16:05:58,723][ INFO][     dns_server.c:2612] result: www.eri.u-tokyo.ac.jp, qtype: 1, rtt: -0.1 ms, 0.0.0.0
[2024-03-01 16:05:58,723][DEBUG][     dns_server.c:2335] reply www.eri.u-tokyo.ac.jp qtype: 1, rcode: 0, reply: 1
[2024-03-01 16:05:58,723][ INFO][     dns_server.c:2390] result: www.eri.u-tokyo.ac.jp, client: 内网电脑, qtype: 1, id: 19232, group: default, time: 37ms
[2024-03-01 16:05:58,724][DEBUG][     dns_client.c:2599] recv udp packet from 223.6.6.6, len: 66, ttl: 118, latency: 19
[2024-03-01 16:05:58,724][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408
[2024-03-01 16:05:58,724][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,735][DEBUG][     dns_client.c:1600] result: mapq.waqi.info, qtype: 1, has-result: 1, id 64739
[2024-03-01 16:05:58,735][DEBUG][     dns_client.c:1600] result: api.waqi.info, qtype: 1, has-result: 1, id 33219
[2024-03-01 16:05:58,742][DEBUG][     dns_client.c:2897] recv tcp packet from 1.1.1.1, len = 68
[2024-03-01 16:05:58,742][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,742][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,742][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,746][DEBUG][     dns_client.c:2897] recv tcp packet from 远程 DNS, len = 68
[2024-03-01 16:05:58,746][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,746][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,746][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,756][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 96, ttl: 64, latency: 52
[2024-03-01 16:05:58,756][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 3, nscount = 0, nrcount = 0, len = 96, id = 56470, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,756][DEBUG][     dns_client.c:1848] domain: att.waqi.info qtype: 1  qclass: 1
[2024-03-01 16:05:58,756][DEBUG][     dns_server.c:4622] query result from server 远程 DNS 2, type: 0, domain: att.waqi.info qtype: 1 rcode: 0, id: 48310
[2024-03-01 16:05:58,756][DEBUG][     dns_server.c:4118] name: att.waqi.info ttl: 14400 cname: api2.waqi.info
[2024-03-01 16:05:58,756][DEBUG][     dns_server.c:4118] name: api2.waqi.info ttl: 14400 cname: jp1b.waqi.info
[2024-03-01 16:05:58,756][DEBUG][     dns_server.c:3858] domain: jp1b.waqi.info TTL: 14400 IP: 139.162.119.175
[2024-03-01 16:05:58,756][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 66, ttl: 64, latency: 52
[2024-03-01 16:05:58,756][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,757][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,757][DEBUG][     dns_client.c:2599] recv udp packet from 远程 DNS, len: 66, ttl: 64, latency: 52
[2024-03-01 16:05:58,757][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,757][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-01 16:05:58,835][DEBUG][     dns_client.c:1600] result: att.waqi.info, qtype: 1, has-result: 1, id 56470
[2024-03-01 16:05:58,883][DEBUG][     dns_client.c:2599] recv udp packet from 223.5.5.5, len: 66, ttl: 118, latency: 178
[2024-03-01 16:05:58,883][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 8564, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408
[2024-03-01 16:05:58,883][DEBUG][     dns_client.c:1848] domain: www.eri.u-tokyo.ac.jp qtype: 1  qclass: 1
[2024-03-01 16:05:58,883][DEBUG][     dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 66, id = 932, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1408

from smartdns.

pymumu avatar pymumu commented on May 29, 2024

检查你的上游吧 ,上游服务器返回的结果被truncate了,这个结果透传到客户端,客户端认为无效的结果。

你可以尝试注释一些上游看看时哪个上游有问题。

from smartdns.

kgggggb avatar kgggggb commented on May 29, 2024

检查你的上游吧 ,上游服务器返回的结果被truncate了,这个结果透传到客户端,客户端认为无效的结果。

你可以尝试注释一些上游看看时哪个上游有问题。

上游是没有问题的,因为每次它显示被 truncate 的上游都会不一样,我对着所有上游使用 dig 和 curl 连续查询一个小时一个出错的都没有,但是为了避免真的是上游有问题我仍然尝试把所有私有上游都删了就留一个 Cloudflare 的也会时不时的出现 ERR_NAME_NOT_RESOLVED,其它同类软件从来都没有出现过类似错误,不过既然有可能是上游的问题的话,有没有办法不 passthrough 这个有问题的结果给客户端而是让 SmartDNS 等待其它上游回应没有问题的结果再返回给客户端?按理来说多上游的作用就是防止单一故障点,还是说 SmartDNS 有多线程并行查询但是没有类似防故障的功能?

from smartdns.

pymumu avatar pymumu commented on May 29, 2024

1.1.1.1不应该出现truncate,log里面有什么?还是一样?

from smartdns.

kgggggb avatar kgggggb commented on May 29, 2024

1.1.1.1不应该出现truncate,log里面有什么?还是一样?

一样。。。

from smartdns.

pymumu avatar pymumu commented on May 29, 2024

日志里面也有truncate?

from smartdns.

PikuZheng avatar PikuZheng commented on May 29, 2024

有点像传输层问题,MRU小于MTU?或是中间经过了某些点对点或桥接网?

from smartdns.

kgggggb avatar kgggggb commented on May 29, 2024

日志里面也有truncate?

如果留 tcp/udp 1.1.1.1 会有 truncate ,如果留 HTTTPS 不会有,但是仍然会 ERR_NAME_NOT_RESOLVED ,只是日志没有 truncate 。

有点像传输层问题,MRU小于MTU?或是中间经过了某些点对点或桥接网?

检查过了
都是对称的 1500
如果真的是网络问题那其它同类软件应该也会有相同的问题
而且 我对着所有上游使用 dig 和 curl 连续查询一个小时一个出错的都没有

我看到其它贴子说 SmartDNS 超时默认是 1s
每个 DNS 查询都会产生一条新的连接吗还是像 MUX 那样会复用?
好奇会不会是连接超过 1s 被终止之后导致新的 query 无处可 query 了 因为指定要使用的连接已不存在
然后它就给客户端返回了个空结果

from smartdns.

pymumu avatar pymumu commented on May 29, 2024

超时时间是2s,dig如果truncate的话,会使用tcp重试查询的。

你配置国内DNS看看吧。

from smartdns.

kgggggb avatar kgggggb commented on May 29, 2024

超时时间是2s,dig如果truncate的话,会使用tcp重试查询的。

你配置国内DNS看看吧。

国内 DNS 有污染,用 SmartDNS 就是为了国内外分流无污染
dig 没有问题,只有 SmartDNS 会有问题。

from smartdns.

pymumu avatar pymumu commented on May 29, 2024

smartdns已经大规模使用,大部分场景都应该是没有问题的,但如果在你的网络使用不正常,那我只能说非常抱歉。

smartdns代码质量是有相关自动化测试做保障的,不会说基本功能不正常就发布版本,但也不排除部分特殊场景下会有问题,这些特殊场景,就需要提供相关的日志,复现方法才能定位问题根因,定位过程也可能比较耗时,也可能最后没法找到问题原因,没法解决。

如果根据你的信息我这里可以复现肯定会解决问题的,但如果我这里无法复现问题,我没办法,没能力,也没精力去猜测问题发生的原因,这需要你的配合才能完成。

如果确实愿意使用smartdns,那么还请提供相关的复现的方法,日志等信息,也请耐心点。
当然如果确实没有时间配合,那推荐使用其他适合你网络的软件,减少对你上网的耽误。

望理解。

from smartdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.