You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-dnsservice.md
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,30 +55,29 @@ After you have a template, you can enable the DNS service with the following ste
55
55
56
56
1. Check that the `apiversion` is set to `2017-07-01-preview` or later for the `Microsoft.ServiceFabric/clusters` resource, and, if not, update it as shown in the following example:
57
57
58
-
```json
58
+
```json
59
59
{
60
60
"apiVersion": "2017-07-01-preview",
61
61
"type": "Microsoft.ServiceFabric/clusters",
62
62
"name": "[parameters('clusterName')]",
63
63
"location": "[parameters('clusterLocation')]",
64
64
...
65
65
}
66
-
```
66
+
```
67
67
68
68
2. Now enable the DNS service in one of the following ways:
69
69
70
70
- To enable the DNS service with default settings, add it to the `addonFeatures` section inside the `properties` section as shown in the following example:
71
71
72
-
```json
73
-
"properties": {
74
-
...
75
-
76
-
"addonFeatures": [
77
-
"DnsService"
78
-
],
79
-
...
80
-
}
81
-
```
72
+
```json
73
+
"properties": {
74
+
...
75
+
"addonFeatures": [
76
+
"DnsService"
77
+
],
78
+
...
79
+
}
80
+
```
82
81
- To enable the service with other than default settings, add a `DnsService` section to the `fabricSettings` section inside the `properties` section. In this case, you don't need to add the DnsService to `addonFeatures`. To learn more about the properties that can be set for the DNS Service, see [DNS Service settings](./service-fabric-cluster-fabric-settings.md#dnsservice).
83
82
84
83
```json
@@ -107,7 +106,10 @@ After you have a template, you can enable the DNS service with the following ste
107
106
]
108
107
}
109
108
```
110
-
1. Once you have updated the cluster template with your changes, apply them and let the upgrade complete. When the upgrade completes, the DNS system service starts running in your cluster. The service name is `fabric:/System/DnsService`, and you can find it under the **System** service section in Service Fabric explorer.
109
+
3. Once you have updated the cluster template with your changes, apply them and let the upgrade complete. When the upgrade completes, the DNS system service starts running in your cluster. The service name is `fabric:/System/DnsService`, and you can find it under the **System** service section in Service Fabric explorer.
110
+
111
+
> [!NOTE]
112
+
> When upgrading DNS from disabled to enabled, Service Fabric Explorer may not reflect the new state. To solve, restart the nodes by modifying the UpgradePolicy in your Azure Resource Manager template. See the [Service Fabric Template Reference](https://docs.microsoft.com/azure/templates/microsoft.servicefabric/2019-03-01/clusters/applications) for more.
0 commit comments