Azure / Azure/azure-powershell

Azure Firewall : Not return DNS setting with Get-AzFirewall

Open
#15,431 2 comments 0 reactions 0 assignees View on GitHub
act-quality-productivity-squad customer-reported feature-request Network - Firewall question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

## Description of the new feature
Return DNS setting with Get-AzFirewall

Currently, Get-AzFirewall command does not return the DNS setting, so executing the following commands:

```
$azfw = Get-AzFirewall -Name "firewall name" -ResourceGroupName "resouce group name" -debug
```
```
$azfw = Get-AzFirewall -Name "firewall name" -ResourceGroupName "resouce group name"
$azfw | Format-List -Property *
```
```
$azfw = Get-AzFirewall -Name "firewall name" -ResourceGroupName "resouce group name"
$azfw.DNSServer
```

## Proposed implementation details (optional)
Return the following result when executing Get-AzFIrewall command:

```
"additionalProperties": {
"Network.DNS.EnableProxy": "false",
"Network.DNS.Servers": "8.8.8.8"
},
```

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.