在Azure上设置反向DNS

时间:2015-08-05 18:34:11

标签: azure dns reverse

我正在尝试在azure上设置ReverseDNSFqdn,但它会返回内部错误。

这是我的命令:

Set-AzureService –ServiceName my service –Description "Myservice with Reverse DNS" –ReverseDnsFqdn "mail.domain.comt."

但是这个命令挂了一段时间后我得到了:

> VERBOSE: 17:03:37 - Begin Operation: Set-AzureService Set-AzureService
> : InternalError: The server encountered an internal error. Please
> retry the request. OperationID : '305d9e84f7eac9b8be2b007ff06517f2' At
> line:1 char:1
> + Set-AzureService -ServiceName domaincom -ReverseDnsFqdn "mail.doma ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : CloseError: (:) [Set-AzureService], ComputeCloudException
>     + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.HostedServices.SetAzureServiceCommand
> 
> VERBOSE: 17:08:37 - Completed Operation: Set-AzureService

1 个答案:

答案 0 :(得分:0)

我认为这是因为最后一个参数是

" mail.domain.comt"

这不是一个合适的域,它应该引用一个现有的Azure域。这些是来自同一命令的另一个错误消息的条件:

Set-AzureService : BadRequest: The reverse DNS FQDN
mydomain.cloudapp.azure.com. must resolve to one of: 
a). the DNS name of this Hosted Service (MyDomain.cloudapp.net), 
b). the DNS name of a different Hosted Service in this subscription (2463b312-3e47-402d-944c-a38eec7a8286), 
c). a Reserved IP belonging to this subscription, or 
d). the IP of a deployment or of a VM in this subscription.