急!!很急!!如何为一个本机ip设置多个域名?
在windows里面,我用了一个392k的小软件软件:域名更新系统.exe。就完成了
随便加多少域名都可以,任何ip也可以
随便加多少域名都可以,任何ip也可以。
unix里面有吗?或者比较简单的方法也行的。
Unix如何为一个本机ip设置多个域名?
ip:10.1.1.2
域名:abc.def.com
域名:ghi.lmn.com
如何设置?
或者有什么软件?
请教了
a.jpg (1.52 MB)
|
作者: SDfcSDfcasdfc 发布时间: 2011-04-15
/etc/inet/ipnodes?
作者: zhmzhouming 发布时间: 2011-04-15
root@hostname # more /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
10.1.1.2 hostname loghost abc.def.com
10.1.1.2 hostname ghi.lmn.com
这样呢?
For a host with more than one IP address, consecutive
entries for these addresses may contain the same or differ-
ing nicknames. Different nicknames are useful for assigning
distinct names to different addresses.
多个IP,可以指定同一nickname.反过来应该也可以吧。
我只是看手册,没有实验。
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
10.1.1.2 hostname loghost abc.def.com
10.1.1.2 hostname ghi.lmn.com
这样呢?
For a host with more than one IP address, consecutive
entries for these addresses may contain the same or differ-
ing nicknames. Different nicknames are useful for assigning
distinct names to different addresses.
多个IP,可以指定同一nickname.反过来应该也可以吧。
我只是看手册,没有实验。
作者: diandianrong 发布时间: 2011-04-15