有没有办法通过知道 CNAME 指向的地址来恢复它们?
最近,由于数据库故障,客户提供的一堆 CNAME 设置丢失了。是否有办法仅根据所有客户指向的 DNS 地址来获取 CNAME 列表?金钱在这里不是一个对象,我们只需要以最优雅的方式从这次失败中恢复过来。
Recently a bunch of CNAME settings that were customer provided were lost because of a database failure. Is there anyways to get a list of CNAME's based on just having the DNS address that all the customers point to? Money is not an object here, we just need to recover from this failure in the most graceful way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简短的回答,不。 CNAME 永远不会指向 IP 地址,而是与单独的主机名关联。一台主机可以有任意数量的 CNAME。如果您足够幸运,在反向 DNS 区域文件(用于 IP 块)中注册了 CNAME,则可以从那里获取信息。
Short answer, no. A CNAME never points to an IP address and are instead associated with a separate hostname. There could be any number of CNAMEs associated with one host. If you are lucky enough to have registered the CNAMEs in the reverse DNS zone-file (for the IP block), you can get the info from there.