Windows查看删除DNS缓存
查看DNS缓存
查看所有DNS缓存
打开CMD,输入ipconfig/displaydns
C:\>ipconfig/displaydns
Windows IP 配置
github.dev ---------------------------------------- 记录名称. . . . . . . : github.dev 记录类型. . . . . . . : 1 生存时间. . . . . . . : 572199 数据长度. . . . . . . : 4 部分. . . . . . . . . : 答案 A (主机)记录 . . . . : 20.43.185.14 记录名称. . . . . . . : github.dev 记录类型. . . . . . . : 1 生存时间. . . . . . . : 572199 数据长度. . . . . . . : 4 部分. . . . . . . . . : 答案 A (主机)记录 . . . . : 20.99.227.183 记录名称. . . . . . . : github.dev 记录类型. . . . . . . : 1 生存时间. . . . . . . : 572199 数据长度. . . . . . . : 4 部分. . . . . . . . . : 答案 A (主机)记录 . . . . : 51.137.3.17 github.dev ---------------------------------------- 没有 AAAA 类型的记录 225.195.231.54.in-addr.arpa ---------------------------------------- 记录名称. . . . . . . : 225.195.231.54.in-addr.arpa. 记录类型. . . . . . . : 12 生存时间. . . . . . . : 572199 数据长度. . . . . . . : 8 部分. . . . . . . . . : 答案 PTR 记录 . . . . . . : github-cloud.s3.amazonaws.com
DNS单个查询
打开CMD,输入nslookup -displaydns
C:\>nslookup -displaydns ------------ Got answer: HEADER: opcode = QUERY, id = 1, rcode = NOERROR header flags: response, want recursion, recursion avail. questions = 1, answers = 1, authority records = 0, additional = 0
QUESTIONS: 69.224.101.202.in-addr.arpa, type = PTR, class = IN ANSWERS: -> 69.224.101.202.in-addr.arpa name = ns.jxncptt.net.cn ttl = 35619 (9 hours 53 mins 39 secs)
默认服务器: ns.jxncptt.net.cn
Address: 202.101.224.69> github.com
服务器: ns.jxncptt.net.cn
Address: 202.101.224.69
Got answer:
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 0, additional = 0QUESTIONS: github.com, type = A, class = IN ANSWERS: -> github.com internet address = 20.205.243.166 ttl = 30 (30 secs)
非权威应答:
Got answer:
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0QUESTIONS: github.com, type = AAAA, class = IN AUTHORITY RECORDS: -> github.com ttl = 628 (10 mins 28 secs) primary name server = ns-1707.awsdns-21.co.uk responsible mail addr = awsdns-hostmaster.amazon.com serial = 1 refresh = 7200 (2 hours) retry = 900 (15 mins) expire = 1209600 (14 days) default TTL = 86400 (1 day)
名称: github.com
Address: 20.205.243.166
>
删除DNS缓存
打开CMD,输入ipconfig/flushdns
C:\Users\Second brain>ipconfig/flushdns
Windows IP 配置
已成功刷新 DNS 解析缓存。
标签:缓存,记录,Windows,recursion,github,DNS,com From: https://www.cnblogs.com/caomojian/p/18010085/windows-view-delete-dns-cache-1gmmnr