Link to home
Start Free TrialLog in
Avatar of soffcec
soffcecFlag for Iceland

asked on

Set-AzureService for making reverse DNS

When I run
PS C:\> Set-AzureService -ServiceName "TheNameofMyservice" -Description "App with Reverse DNS" -ReverseDnsFqdn "MyFQDNName.dot."

I get this:


Set-AzureService : BadRequest: The reverse DNS FQDN MyFQDNName.dot. must resolve to one of:


a). the DNS name of this Hosted Service (TheNameofMyservice.cloudapp.net),
b). the DNS name of a different Hosted Service in this subscription (xxxxxx-xxxxx-4xa1-2aa-ce91e4316997),
c). a Reserved IP belonging to this subscription,or
d). the IP of a deployment or of a VM in this subscription.



At line:1 char:1
+ Set-AzureService -ServiceName "bob-drvcr6f2" -Description "App with Reverse DNS" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Set-AzureService], CloudExcepti   on
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.HostedServices.SetAzureServiceCommand


What might I be doing wrong ? I have reserved external ip address supscription at the Azure cloud
Avatar of gheist
gheist
Flag of Belgium image

Can you provide correct hostnames so people can test whats wrong with your DNS?
Avatar of soffcec

ASKER

Set-AzureService -ServiceName "bob-drvcr6f2" -Description "App with Reverse DNS" -ReverseDnsFqdn "bob.vdsl.is."
Avatar of soffcec

ASKER

bob-drvcr6f2.cloudapp.net
Error merely says you use a reverse name that is not associated with your azure subscription. You need to enter it somewhere in your subscription like a site name etc before using as reverse name.
Avatar of soffcec

ASKER

I cannot find out where somewhere is.
Hyper V picks random name out of etc/hosts of guest...
ASKER CERTIFIED SOLUTION
Avatar of soffcec
soffcec
Flag of Iceland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of soffcec

ASKER

I got support from Microsoft