Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想查询 DNS 记录,直到获得正确的域名。
例如,给定 www.subdomain.site.com.br,可以从 .br 挖掘到 site.com.br。
实现这一目标的最(协议)方式是什么?最好使用 dig/nslookup 的食谱。
谢谢。
dig +trace www.subdomain.site.com.br
会告诉你到底发生了什么。
dig www.mysite.domain.com @a.root-servers.net
您将从那里获得下一个级别。只需替换“@”之后的部分并继续递归,直到您查询给出答案而不是附加信息的服务器