作为一个自学项目,我正在实现C ++ Whois客户端。我正在使用几个古老的C实现来参考,例如, koders.com

一件事让我困惑。以及预期的路径格式,如example.com,example.co.uk,192.0.32.10或2620:0:2D0:200 :: 10,旧的C实现接受一些其他格式:

  1. 从以下字符串之一开始的路径: “net-”,“netblk-”,“asn-”,“为”,“lim-”,“coco-”,“coco-”,“coho-”或“核心 - ”。

    我认为这些看起来像“netblk-example”,但我没有工作示例。

    1. 以下列字符串之一结尾的路径: “-aum”,“-dom”,“-org”,“-hst”,“--arin”,“-ripe”,“-mnt”,“-gandi”,“-ap”,“-ap”,“-ap”,-au “,”-ti“,”-is“,”-6bone“,”-norid“,”-ripn“,”-sgnic“,”-metu“,”-cknic“或”-kg“。

      再次,我认为这些看起来像“示例 - 阿林”,但我不确定。

      (最后)到达我的问题:有人知道这些路径是什么吗?他们还在使用吗?有没有人有合法的例子是这样的有效路径?

      更新2011年5月23日 添加了C ++标签(我的实现语言),因为甚至没有人看起来没有语言的“网络编程”。

有帮助吗?

解决方案

These extra strings are (mostly) for recognising the object types maintained by the Regional Internet Registries, such as RIPE, ARIN, APNIC.

Their databases are also accessible via the whois protocol, even though the entries within them are not domain names.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top