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_tools
⚠️
windows_first
Summary:
The documentation provides both Azure CLI and PowerShell examples for configuring Azure Firewall DNS settings, but the PowerShell examples are prominent and detailed, reflecting a Windows-centric approach. There are no explicit Linux shell or scripting examples, and PowerShell is highlighted as an equivalent to CLI rather than providing Bash or Linux-native commands. The custom metadata includes 'devx-track-azurepowershell', and PowerShell is given its own tab, reinforcing a Windows bias. No Linux-specific tools or guidance are mentioned.
Recommendations:
- Add explicit Bash/Linux shell examples alongside PowerShell, especially for scripting and automation scenarios.
- Include notes or sections for Linux administrators, such as how to use Azure CLI from a Linux environment or integrate with Linux-native DNS tools.
- Balance the order of examples so that CLI/Bash examples are presented before or alongside PowerShell, not after.
- Remove or supplement custom metadata that highlights PowerShell exclusively (e.g., 'devx-track-azurepowershell') with Linux/Bash equivalents.
- Where possible, mention cross-platform tools and avoid assuming PowerShell as the default scripting environment.
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.