
웹페이지가 로드되지 않거나 매우 오랜 시간이 걸리는 경우가 있습니다. Chrome에서는 오류가 DNS_PROBE_FINISHED_BAD_CONFIG 또는 DNS_PROBE_FINISHED_NXDOMAIN이라고 표시합니다.
발굴 시간이 초과되거나 나열된 것보다 훨씬 오래 걸리는 경우 명령줄에서 이를 재현할 수 있었습니다.;; Query time:
나는 이 세 가지 발굴 쿼리를 연속해서 기록했습니다. 1순간 후 12초보다 시간 초과됩니다(그러나 발굴 결과는 3.5초라고 합니다).
systemd-resolve --status
아래 에 반영된 8.8.8.8 및 8.8.4.4로 DNS를 설정했습니다.
전체 출력 살펴보기:https://pastebin.com/YPZTnk8U
$ time dig myshopify.com
<omitted>
;; Query time: 36 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Aug 12 18:49:02 PDT 2020
;; MSG SIZE rcvd: 58
real 0m0.044s
$ time dig panda.tv
; <<>> DiG 9.11.3-1ubuntu1.12-Ubuntu <<>> panda.tv
;; global options: +cmd
;; connection timed out; no servers could be reached
real 0m15.009s
$ time dig panda.tv
<VALID ANSWER>
;; Query time: 3859 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Aug 12 18:49:40 PDT 2020
;; MSG SIZE rcvd: 132
real 0m13.871s
127.0.0.53
에서 오는etc/resolv.conf
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
$ systemd-resolve --status
Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
<omitted long list of X.172.in-addr.arpa>
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 2 (eno1)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 8.8.8.8
8.8.4.4
2607:f060:2::1
2607:f060:2:1::1
2001:4860:4860::8888
2001:4860:4860::8844
DNS Domain: ~.
$ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet <omitted> netmask 255.255.255.192 broadcast <omitted>
inet6 <omitted> prefixlen 64 scopeid 0x0<global>
inet6 <omitted> prefixlen 64 scopeid 0x0<global>
inet6 <omitted> prefixlen 64 scopeid 0x20<link>
RX/TX errors = 0, device interrupt 20 memory 0xf73...
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX/TX errors = 0