kenshinx / godns

A fast dns cache server written by go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dig xxxx @127.0.0.1 AAAA block 5 seconds or so

jianhaiqing opened this issue · comments

it seems that godns doesn't support IPV6, and can be disabled. Or is there any thing i mistaken ?

I can't reproduce the issue, the following is my test demo dig google.com @localhost AAAA, please note the Query time section, we get the response in an absolutely short time.

➜  godns $ dig google.com @localhost AAAA

; <<>> DiG 9.10.6 <<>> google.com @localhost AAAA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9131
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;google.com.                    IN      AAAA

;; ANSWER SECTION:
google.com.             75      IN      AAAA    2607:f8b0:4007:800::200e

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 22 11:38:56 CST 2018
;; MSG SIZE  rcvd: 77

Do you mind supplement more details and make sure your upstream resolver work fine?

Thanks.