How do I find the authoritative name-server for a domain name?

前端 未结 12 1963
你的背包
你的背包 2021-01-29 17:17

How can I find the origins of conflicting DNS records?

12条回答
  •  清酒与你
    2021-01-29 17:36

    Unfortunately, most of these tools only return the NS record as provided by the actual name server itself. To be more accurate in determining which name servers are actually responsible for a domain, you'd have to either use "whois" and check the domains listed there OR use "dig [domain] NS @[root name server]" and run that recursively until you get the name server listings...

    I wish there were a simple command line that you could run to get THAT result dependably and in a consistent format, not just the result that is given from the name server itself. The purpose of this for me is to be able to query about 330 domain names that I manage so I can determine exactly which name server each domain is pointing to (as per their registrar settings).

    Anyone know of a command using "dig" or "host" or something else on *nix?

提交回复
热议问题