About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
powershell_heavy
⚠️
windows_first
⚠️
windows_tools
Summary:
The documentation provides both Azure CLI and PowerShell examples for configuring Azure Firewall DNS settings, but it demonstrates a Windows bias by including detailed PowerShell instructions (a Windows-centric tool) and referencing Azure PowerShell modules. The PowerShell examples are given equal prominence to CLI, but there are no explicit Linux shell (bash) or cross-platform scripting examples. The documentation also uses terminology and patterns (such as PowerShell object manipulation) that are specific to Windows environments. Additionally, the custom metadata includes 'devx-track-azurepowershell', further indicating a Windows/PowerShell focus.
Recommendations:
- Add explicit bash or shell scripting examples for Linux users, especially for tasks currently shown only in PowerShell.
- Clarify that Azure CLI commands are cross-platform and can be run on Windows, Linux, and macOS.
- Where possible, provide bash scripting equivalents for multi-step PowerShell object manipulations (e.g., updating DNS server lists).
- Balance the order of examples: sometimes show CLI or bash first, not always PowerShell.
- Remove or balance custom metadata tags (such as 'devx-track-azurepowershell') to reflect cross-platform support.
- Explicitly state that all configuration steps can be performed from Linux/macOS using Azure CLI, and provide troubleshooting tips for non-Windows environments.
Create pull request
Flagged Code Snippets
> [!IMPORTANT]
> The command `az network firewall` requires the Azure CLI extension `azure-firewall` to be installed. You can install it by using the command `az extension add --name azure-firewall`.
#### [PowerShell](#tab/powershell)
The following example updates Azure Firewall with custom DNS servers by using Azure PowerShell.
#### [PowerShell](#tab/powershell)
You can use Azure PowerShell to configure DNS proxy settings in Azure Firewall. You can also use it to update virtual networks to use Azure Firewall as the DNS server.
##### Configure virtual network DNS servers
The following example configures the virtual network to use Azure Firewall as a DNS server.