diff --git a/src/Network/Network/help/Set-AzFirewall.md b/src/Network/Network/help/Set-AzFirewall.md index ccba81613e66..8fe9d7bc1964 100644 --- a/src/Network/Network/help/Set-AzFirewall.md +++ b/src/Network/Network/help/Set-AzFirewall.md @@ -122,6 +122,17 @@ $azFw | Set-AzFirewall In this example, the management public IP address of the firewall will be changed to "AzFwMgmtPublicIp2" +### 6: Add DNS configuration to an Azure Firewall +``` +$dnsServers = @("10.10.10.1", "20.20.20.2") +$azFw = Get-AzFirewall -Name "AzureFirewall" -ResourceGroupName "rg" +$azFw.DNSEnableProxy = $true +$azFw.DNSServer = $dnsServers + +$azFw | Set-AzFirewall +``` + +In this example, DNS Proxy and DNS Server configuration is attached to the Firewall. ## PARAMETERS