Azure-Samples / Azure-Samples/azure-files-samples

Error when creating Azure DNS forwarders

Open
#34 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
261
Forks
202
Avg merge
1d 5h
Merged PRs (30d)
4

Description

When I try to set up DNS forwarding I get an error that I'm not running the latest version bit I'm using the 2.0 version and hadn't installed a lover version previously.

PS C:\Users\xxxxx> $ruleSet = New-AzDnsForwardingRuleSet -AzureEndpoints StorageAccountEndpoint
PS C:\Users\xxxxx> New-AzDnsForwarder `
>> -DnsForwardingRuleSet $ruleSet `
>> -VirtualNetworkResourceGroupName "xxxxxxxxxxx" `
>> -VirtualNetworkName "xxxxxxxxxxx" `
>> -VirtualNetworkSubnetName "xxxxxxxxxxxxx"

Create Azure DNS forwarders
This action will fully configure DNS forwarding end-to-end, including deploying DNS forwarders in Azure VMs and configuring on-premises DNS to forward the appropriate zones to Azure.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
Write-Error: C:\Users\xxxxx\Documents\PowerShell\Modules\AzFilesHybrid\0.2.0.0\AzFilesHybrid.psm1:4872
Line |
4872 | Assert-DnsForwarderArmTemplateVersion
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The template for deploying DNS forwarders in the Azure repository is a newer version than the AzureFilesHybrid module expects. This likely indicates that you are using an older version of the AzureFilesHybrid module and
| should upgrade. This can be done by getting the newest version of the module from https://github.com/Azure-Samples/azure-files-samples/releases.

![image](https://user-images.githubusercontent.com/20879893/84278432-098be180-ab35-11ea-86ed-13630f6d0151.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.