域环境把内网域名解析添加hosts以防解析不了云平台内网域名出现kms激活不了、云监控数据上报异常、TAT和主机安全离线(云镜/YD/安全组件,名字真多)等问题

2023-05-25 11:52:19 浏览数 (1)

激活一般就2个注意事项

代码语言:javascript复制
时间是否准确,准确的话忽略
dns是否能解析内网kms域名,不能的话直接指定kms地址时指定成kms域名对应的ip

域的第一位dns是域控相关内网ip,因此解析不了云平台kms内网域名,就得用kms域名对应的ip地址了

执行这2句可激活

代码语言:javascript复制
slmgr -skms 169.254.0.19
slmgr -ato

代码语言:javascript复制
169.254.0.3  mirrors.tencentyun.com
169.254.0.15  update2.agent.tencentyun.com
169.254.0.4  receiver.barad.tencentyun.com
169.254.0.5  custom.message.tencentyun.com
169.254.10.10  metadata.tencentyun.com
169.254.0.23  metadata.tencentyun.com
169.254.0.19  kms.tencentyun.com
169.254.0.54  kms1.tencentyun.com
169.254.0.26  windowsupdate.tencentyun.com
169.254.0.2  ntpupdate.tencentyun.com
169.254.0.79  time1.tencentyun.com
169.254.0.80  time2.tencentyun.com
169.254.0.81  time3.tencentyun.com
169.254.0.82  time4.tencentyun.com
169.254.0.83  time5.tencentyun.com
169.254.0.138 notify.tat-tc.tencentyun.com
169.254.0.138 invoke.tat-tc.tencentyun.com
169.254.0.138 invoke.tat-tc.tencent.cn
169.254.0.138 invoke.tat-tc.tencent.com.cn
169.254.0.138 invoke.tat.tencent-cloud.com
169.254.0.138 notify.tat-tc.tencent.cn
169.254.0.138 notify.tat-tc.tencent.com.cn
169.254.0.138 notify.tat.tencent-cloud.com

腾讯云平台,域环境把以上内网域名解析添加hosts

代码语言:javascript复制
C:WindowsSystem32driversetchosts

0 人点赞