Skip to content

Commit 2707660

Browse files
author
Nicolas Oman
committed
cleanup of code, added note about upgrading dns
1 parent 2c40b61 commit 2707660

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

articles/service-fabric/service-fabric-dnsservice.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,29 @@ After you have a template, you can enable the DNS service with the following ste
5555

5656
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:
5757

58-
```json
58+
```json
5959
{
6060
"apiVersion": "2017-07-01-preview",
6161
"type": "Microsoft.ServiceFabric/clusters",
6262
"name": "[parameters('clusterName')]",
6363
"location": "[parameters('clusterLocation')]",
6464
...
6565
}
66-
```
66+
```
6767

6868
2. Now enable the DNS service in one of the following ways:
6969

7070
- To enable the DNS service with default settings, add it to the `addonFeatures` section inside the `properties` section as shown in the following example:
7171

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+
```
8281
- 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).
8382

8483
```json
@@ -107,7 +106,10 @@ After you have a template, you can enable the DNS service with the following ste
107106
]
108107
}
109108
```
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.
111113

112114

113115
## Setting the DNS name for your service

0 commit comments

Comments
 (0)