What does the authority section mean in dig results? [closed]

混江龙づ霸主 提交于 2019-12-20 08:57:34

问题


Yesterday I changed my domain's name server from cloudflare to dnspod. And I used dig to test it. But the ANSWER SECTION is always the old name servers.

;; AUTHORITY SECTION:
amazingjxq.com.         21336   IN      NS      kim.ns.cloudflare.com.
amazingjxq.com.         21336   IN      NS      brad.ns.cloudflare.com.

Is the ANSWER SECTION stand for name servers? If so why is it not changed?


回答1:


The Authority section indicates the server(s) that are the ultimate authority for answering DNS queries about that domain.

The reason for this section is that you can query any* DNS server(s) to answer a query for you. That server may choose though to answer the query from a cache. However, if you want to ensure you get an authoritative response ("from the horses mouth" so to speak) - you should ask the server(s) in the authority section.

(* = Any server which will accept your query, that is.)




回答2:


Those are cached records coming from the old servers. Cloudflare has 1-day TTLs on the NS records, so that indicates that your resolver cached them about 18 hours ago, and they should go away in 6 hours.



来源:https://stackoverflow.com/questions/16072817/what-does-the-authority-section-mean-in-dig-results

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!