Azure / Azure/azure-powershell
Azure Firewall : Not return DNS setting with Get-AzFirewall
- 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
Assessment
This issue has not been assessed yet.