我一直以为域名是以某种方式相关的一系列机器。当我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. Apache,Linux和远程命令像'Ping'
- 2. kinit命令的默认域名
- 3. 如何运行PING命令并获取ping主机摘要?
- 4. ping命令后1秒延迟
- 5. 批处理文件ping -t命令
- 6. Ping的等效命令是什么
- 7. Drupal安装和域名命名策略?
- 8. Java包命名和非.com域名
- 9. 命令名
- 10. 使用CodeIgniter命令按域名扩展名Active Record类
- 11. 命令不认识bash命令别名
- 12. 如何在Android中使用接口名称执行ping命令(例如:wlan0)?
- 13. Hadoop的重命名命令
- 14. 命令或别名
- 15. 命令名多个
- 16. Tcl错误无效命令名:无效的命令名称” 0.27722296"
- 17. 命名作用域的API
- 18. 域模型命名问题
- 19. 跨越两个命名域
- 20. 错误(命名)作用域
- 21. 如何通过linux命令检查域名可用性
- 22. 基于网页域名/网站的Javascript命令/变量
- 23. 在bash脚本中使用主机命令列出域名
- 24. Ping和远程命令不能在两台Windows电脑之间工作
- 25. 用ping命令和扫描范围内的IP给出具体结果
- 26. 批处理文件 - 从ping命令获取ip
- 27. Ruby net/ping返回false为谷歌? (从命令行工作)
- 28. 在PHP中执行ping命令,并在网页上
- 29. 运行ping * hostname *命令时使用哪个IPv4
- 30. Python 3.4.3:os.system不运行我的ping“命令”
啊。说得通。谢谢。 – 2012-03-21 02:04:05