获取托管在一台服务器上的多个域 [英] Get multiple domains hosted on one server

查看:104
本文介绍了获取托管在一台服务器上的多个域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从一个IP地址获取域名列表。例如,当我输入IP地址和单击按钮时,应显示域名列表。我使用像GetHostbyAddr这样的函数,但它只能返回一个域名。我该怎么办?

请帮帮我。谢谢

I want to get domain list from one ip address. For example, when I input ip address and click button, the list of domain names should be displayed. I used functions like GetHostbyAddr but it can only return one domain name. How could I do?
Please help me. Thanks

推荐答案

这个问题几乎与软件开发无关,更多的是网络管理和IT。



这是可能的,因为您可以在同一主机上配置多个IP地址。问题很可能与Windows有关,你可以找到更多这样的细节: http://bit.ly/1poqmeG [ ^ ]。



现在,对于域名,问题仍然是简化为IP地址,因为域系统只不过是将域名集映射到IP地址集上。它是通过更新DNS数据来设置的。要了解它的工作原理,请参阅:

http://en.wikipedia.org/wiki/DNS [ ^ ]。



-SA
This problem is almost unrelated to software development, is more of network administration and IT.

This is possible because you can configure several IP addresses on the same host. As the question is, most likely, related to Windows, you can find further detail like this: http://bit.ly/1poqmeG[^].

Now, as to the domain names, the problem is still reduced to IP addresses, because domain system is nothing but mapping of the set of domain names onto the set of IP addresses, always. It is set up by updating DNS data. To understand how it works, please see:
http://en.wikipedia.org/wiki/DNS[^].

—SA


这篇关于获取托管在一台服务器上的多个域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆