Forum Discussion
AD DS Auth for Azure File Shares / DNS Configuration Question
Hi
It will apply forwarders on all on premise DNS servers if you don't specify the OnPremDnsHostNames
parameter.
| OnPremDnsHostNames | HashSet<string> | A manually specified list of on-premises DNS host names to create forwarders on. This parameter is useful when you do not want to apply forwarders on all on-premises DNS servers, such as when you have a range of clients with manually specified DNS names. |
So if I am correct you run the "New-AzDnsForwarder" from within your Azure DNS server, where you specify your "OnPremDnsHostNames". Am I saying that correct?
The only point I am sceptical about is does the "NewAzDnsForwarder" command also spawn new Azure DNS servers or am I seeing that wrong?
Thanks for your answer.
- ibnmbodjiFeb 03, 2021Iron Contributor
Hi
You can run it everywhere with the right powershell module and the right credentials for your subscription . Yes you're right it's also mentionned in the documentation :
By default, New-AzDnsForwarder deploys two DNS servers in your Azure virtual network, in an Availability Set, to ensure redundancy. This number may be modified as desired.
By default, the DNS servers will be deployed into the same resource group as the virtual network.
The doc i'm referring to