coredns_custom_build
coredns_custom_build copied to clipboard
用coredns 每次解析都很慢,需要刷好几下,才能返回正确的dns解析,这个怎么破?
用coredns 每次解析都很慢,需要刷好几下,才能返回正确的dns解析,这个怎么破? 现在基本需要刷新10次以上才能获取到正确的ip,前10次chrome都提示无法获取dns解析
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
https://gist.github.com/missdeer/5c7c82b5b67f8afb41cfd43d51b82c2d?permalink_comment_id=3449734#gistcomment-3449734