Skip to content

Commit 2899adf

Browse files
author
Nicolas Oman
committed
updates to code indentation
1 parent 2707660 commit 2899adf

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,30 @@ 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-
"addonFeatures": [
76-
"DnsService"
77-
],
78-
...
79-
}
80-
```
72+
```json
73+
"properties": {
74+
...
75+
"addonFeatures": [
76+
"DnsService"
77+
],
78+
...
79+
}
80+
```
81+
8182
- 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).
8283

8384
```json

0 commit comments

Comments
 (0)