Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS Proxy support for Firewall Policy #9461

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
}
],
"firewalls": []
"firewalls": [],
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
}
],
"firewalls": []
"firewalls": [],
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
}
],
"firewalls": []
"firewalls": [],
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"fqdns": [
"*.microsoft.com"
]
},
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
Expand Down Expand Up @@ -52,7 +59,14 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2"
}
],
"firewalls": []
"firewalls": [],
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
},
Expand Down Expand Up @@ -85,7 +99,14 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2"
}
],
"firewalls": []
"firewalls": [],
"dnsSettings": {
"servers": [
"30.3.4.5"
],
"enableProxy": true,
"requireProxyForNetworkRules": false
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@
"transportSecurity": {
"description": "TLS Configuration definition.",
"$ref": "#/definitions/FirewallPolicyTransportSecurity"
},
"dnsSettings": {
"description": "DNS Proxy Settings definition.",
"$ref": "#/definitions/DnsSettings"
}
},
"description": "Firewall Policy definition."
Expand Down Expand Up @@ -1183,6 +1187,27 @@
}
}
}
},
"DnsSettings": {
"description": "DNS Proxy Settings in Firewall Policy.",
"x-ms-discriminator-value": "DnsSettings",
"properties": {
"servers": {
"type": "array",
"description": "List of Custom DNS Servers.",
"items": {
"type": "string"
}
},
"enableProxy": {
"type": "boolean",
"description": "Enable DNS Proxy on Firewalls attached to the Firewall Policy."
},
"requireProxyForNetworkRules": {
"type": "boolean",
"description": "FQDNs in Network Rules are supported when set to true."
}
}
}
}
}