大杰哥 發表於 2020-11-27 18:42:00

Windows Server 更改域名

<p><span style="font-size: 18px">&nbsp;&nbsp;有时候我们会有需求更改域名。域名更改早在Windows Server 2000及2003时期就已出现,Rendom更是我们域名更改的利器。</span></p>
<p><span style="font-size: 18px">Windows Server 2008中最主要的变化就是不再需要安装Ren东门工具,可以通过命令行“cmd”直接更改。</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp;&nbsp;下面就以一个示例分解Rendom的过程:</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp;1. 打开命令行"cmd"工具;</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp;2.&nbsp;<span style="color: rgba(255, 0, 0, 1)">rendom /list</span>&nbsp;- 会在当前目录生成Domainlist.xml文件;</span></p>
<p><span style="font-size: 18px"><img src="https://s4.51cto.com/attachment/201305/141838830.png"></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp;3. 进入到用户Administratior文件夹下,编辑Domainlist.xml中的内容,示例如下:</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 原域名是vSfgh.com,新域名是vSKimtest.com</span></p>
<p><span style="font-size: 18px"><img src="https://s4.51cto.com/attachment/201305/142057334.png"></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; 4. 修改完【Domainlist.xml】文件后,继续在cmd中执行下列命令:</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>rendom /showforest</strong></span></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>rendom /upload</strong></span></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>rendom /prepare</strong></span></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>rendom /execute</strong></span></span></p>
<p><span style="font-size: 18px"><img src="https://s4.51cto.com/attachment/201305/154644389.png"></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; 5. 执行完上面那条命令,系统会自动重启;</span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; 6.&nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>gpfixup /olddns:vSfgh.com</strong>(原域DNS)<strong>&nbsp;&nbsp;/newdns:vSKimtest.com</strong>(新域DNS)</span></span></p>
<p><span style="font-size: 18px"><img src="https://s4.51cto.com/attachment/201305/152606866.png"></span></p>
<p><span style="font-size: 18px">&nbsp; &nbsp; 7.&nbsp;C:\Users\Administrator&gt;<span style="color: rgba(255, 0, 0, 1)"><strong>rendom /clean</strong></span></span></p>
<p><span style="font-size: 18px">&nbsp;</span></p><br><br>
来源:https://www.cnblogs.com/zhengdaojie/p/14049739.html
頁: [1]
查看完整版本: Windows Server 更改域名