我一直以为域名是以某种方式相关的一系列机器。当我ping一个域名(如google.com)时,如何返回一个IP地址?这个IP指的是什么?Ping命令和域名
0
A
回答
0
引述centos.org BIND documentation:
Zone File Resource Records
...
A — Address record, which specifies an IP address to assign to a name.
<host> IN A <IP-address>
Figure 14-7. Sample A record configuration
If the <host> value is omitted, then an A record points to a default IP address for the top of the namespace. This system will be the target of all non-FQDN requests.
Consider the following A record examples for the domain.com zone file:
IN A 10.0.1.3
server1 IN A 10.0.1.5
在上文中,10.0.1.3是该域的IP。例如。如果以上是域example.com
的区域文件,则ping example.com
将会ping 10.0.1.3。每个域都有这个“默认”IP地址,就像上面的情况一样,其他IP也是如此。
请注意,您可以使用相同的DNS名称指定多个IP--这用于负载平衡(请参阅,例如this或this)。要看到这个,doo nslookup google.com
。
0
相关问题
- 1. Ping命令参数
- 2. Apache,Linux和远程命令像'Ping'
- 3. Python多线程:Ping域名
- 4. 管在Ping命令输出
- 5. while循环与Ping命令
- 6. 域名命名
- 7. kinit命令的默认域名
- 8. 从C++中的系统命令检索ping时间(ping x.x.x.x -n)
- 9. 如何运行PING命令并获取ping主机摘要?
- 10. Ping的等效命令是什么
- 11. ping命令几个服务器
- 12. 批处理文件ping -t命令
- 13. Ping超时命令-W为Android
- 14. ping命令后1秒延迟
- 15. Java包命名和非.com域名
- 16. Drupal安装和域名命名策略?
- 17. 使用for循环和执行命令Ping多个IP地址
- 18. 命令名
- 19. 命令别名
- 20. 使用CodeIgniter命令按域名扩展名Active Record类
- 21. xlwings - 获取和设置命名区域
- 22. 执行ping命令来使用Lua io.popen地址,非阻塞如果Ping超时
- 23. 如何在没有Ping统计的情况下获取ping命令的输出?
- 24. 命令不认识bash命令别名
- 25. 如何在Android中使用接口名称执行ping命令(例如:wlan0)?
- 26. Hadoop的重命名命令
- 27. 重命名DOS命令
- 28. 读命名命令参数
- 29. 使用tcpflow和tcpdump ping ping
- 30. 命令名多个
啊。说得通。谢谢。 – 2012-03-21 02:04:05