coredns_custom_build icon indicating copy to clipboard operation
coredns_custom_build copied to clipboard

用coredns 每次解析都很慢,需要刷好几下,才能返回正确的dns解析,这个怎么破?

Open Error996 opened this issue 2 years ago • 2 comments

用coredns 每次解析都很慢,需要刷好几下,才能返回正确的dns解析,这个怎么破? 现在基本需要刷新10次以上才能获取到正确的ip,前10次chrome都提示无法获取dns解析

Error996 avatar Mar 06 '22 04:03 Error996

dig google.com

; <<>> DiG 9.16.1-Ubuntu <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55753
;; flags: qr rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             0       IN      A       142.251.40.46

;; Query time: 919 msec
;; SERVER: 172.19.224.1#53(172.19.224.1)
;; WHEN: Sun Mar 06 12:17:37 CST 2022
;; MSG SIZE  rcvd: 54

Error996 avatar Mar 06 '22 04:03 Error996

https://gist.github.com/missdeer/5c7c82b5b67f8afb41cfd43d51b82c2d?permalink_comment_id=3449734#gistcomment-3449734

Error996 avatar Mar 06 '22 04:03 Error996