Skip to content

Commit 7814a7f

Browse files
committed
adds code fence
1 parent 2c15f35 commit 7814a7f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/site-recovery/site-recovery-active-directory.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,15 @@ If DNS isn't on the same VM as the domain controller, you need to create a DNS V
191191

192192
1. Run the following commands to add a zone on the DNS server, allow nonsecure updates, and add an entry for the zone to DNS:
193193

194-
`dnscmd /zoneadd contoso.com /Primary`
194+
```cmd
195+
dnscmd /zoneadd contoso.com /Primary
195196
196-
`dnscmd /recordadd contoso.com contoso.com. SOA %computername%.contoso.com. hostmaster. 1 15 10 1 1`
197+
dnscmd /recordadd contoso.com contoso.com. SOA %computername%.contoso.com. hostmaster. 1 15 10 1 1
197198
198-
`dnscmd /recordadd contoso.com %computername% A <IP_OF_DNS_VM>`
199+
dnscmd /recordadd contoso.com %computername% A <IP_OF_DNS_VM>
199200
200-
`dnscmd /config contoso.com /allowupdate 1`
201+
dnscmd /config contoso.com /allowupdate 1
202+
```
201203

202204
## Next steps
203205

0 commit comments

Comments
 (0)