网站服务器建设方案,wordpress 好看的主题,网站建设价格单,无极兼职网现在有一台服务器dbprod126#xff0c;ip是172.22.100.4
现在有一个需求#xff0c;需要在dns中对dbprod126建一个别名wondadb3r的记录#xff0c;也就是ping wondadb3r的时候显示的是dbprod126的ip#xff0c;目前有两种方法#xff0c;主要使用方法1指向别名#xf…现在有一台服务器dbprod126ip是172.22.100.4
现在有一个需求需要在dns中对dbprod126建一个别名wondadb3r的记录也就是ping wondadb3r的时候显示的是dbprod126的ip目前有两种方法主要使用方法1指向别名因为使用方法1的时候如果dbprod126更改了ip以后ping wondadb3r也会显示更改后的ip 方法1指向别名在dns中建立wondadb3r指向服务器dbprod126结果类似图中name为DWPROD2R的记录 方法2指向ip在dns中建立wondadb3r指向ip 172.22.100.4结果类似图中name为DWdbalias的记录 方法1的ping结果dwprod2r和dbprod83指向通一个ip但是ping dwprod2r时显示的是dbprod83
C:\Users\lukes.liaoping dwprod2r
Pinging dbprod83.dai.netdai.com [172.22.100.45] with 32 bytes of data:
Reply from 172.22.100.45: bytes32 time136ms TTL123
Reply from 172.22.100.45: bytes32 time135ms TTL123
Reply from 172.22.100.45: bytes32 time135ms TTL123
Reply from 172.22.100.45: bytes32 time138ms TTL123C:\Users\lukes.liaoping dbprod83
Pinging dbprod83.dai.netdai.com [172.22.100.45] with 32 bytes of data:
Reply from 172.22.100.45: bytes32 time135ms TTL123
Reply from 172.22.100.45: bytes32 time134ms TTL123
Reply from 172.22.100.45: bytes32 time134ms TTL123
Reply from 172.22.100.45: bytes32 time135ms TTL123方法2的ping结果dwdbalias和dbprod4指向通一个ip但是ping dwdbalias时显示dwdbalias自己而不显示dbprod4
C:\Users\lukes.liaoping dwdbalias
Pinging dwdbalias.dai.netdai.com [172.22.100.75] with 32 bytes of data:
Reply from 172.22.100.75: bytes32 time138ms TTL123
Reply from 172.22.100.75: bytes32 time136ms TTL123
Reply from 172.22.100.75: bytes32 time135ms TTL123
Reply from 172.22.100.75: bytes32 time135ms TTL123C:\Users\lukes.liaoping dbprod4
Pinging dbprod4.dai.netdai.com [172.22.100.75] with 32 bytes of data:
Reply from 172.22.100.75: bytes32 time134ms TTL123
Reply from 172.22.100.75: bytes32 time134ms TTL123
Reply from 172.22.100.75: bytes32 time134ms TTL123
Reply from 172.22.100.75: bytes32 time134ms TTL123