Skip to content
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
14 changes: 7 additions & 7 deletions docset/windows/dnsserver/test-dnsserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Tests that a specified computer is a functioning DNS server.
## SYNTAX

### Context (Default)
```
```yaml
Test-DnsServer [-IPAddress] <IPAddress[]> [-ComputerName <String>] [[-Context] <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
```

### ZoneMaster
```
```yaml
Test-DnsServer [-IPAddress] <IPAddress[]> [-ComputerName <String>] -ZoneName <String>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
```
Expand All @@ -47,29 +47,29 @@ If you also specify a zone name, the cmdlet validates that the DNS server can re
## EXAMPLES

### Example 1: Test whether a DNS server is functional
```
```Powershell
PS C:\> Test-DnsServer -IPAddress 10.123.183.155
IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server.

### Example 2: Test whether a DNS server is functional and has valid configured forwarders
```
```Powershell
PS C:\> Test-DnsServer -IPAddress 10.123.183.155 -Context Forwarder
IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server that has valid configured forwarders.

### Example 3: Test whether a DNS server is functional and has valid configured root hints
```
```Powershell
PS C:\> Test-DnsServer -IPAddress 10.123.183.155 -Context RootHints
IPAddress Result RoundTripTime TcpTried UdpTried
Expand Down
4 changes: 2 additions & 2 deletions docset/winserver2012-ps/dnsserver/Test-DnsServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you also specify a zone name, the cmdlet validates that the DNS server can re
PS C:\>Test-DnsServer -IPAddress "10.123.183.155"
IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server.
Expand All @@ -53,7 +53,7 @@ PS C:\>Test-DnsServer -IPAddress "10.123.183.155" -Context Forwarder

IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server that has valid configured forwarders.
Expand Down
4 changes: 2 additions & 2 deletions docset/winserver2012r2-ps/dnsserver/Test-DnsServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If you also specify a zone name, the cmdlet validates that the DNS server can re
PS C:\>Test-DnsServer -IPAddress "10.123.183.155"
IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server.
Expand All @@ -60,7 +60,7 @@ This command tests whether the computer that has an IP address of 10.123.183.155
PS C:\>Test-DnsServer -IPAddress "10.123.183.155" -Context Forwarder
IPAddress Result RoundTripTime TcpTried UdpTried
--------- -------- ------------ -------- --------
10.123.183.155 Success 00:00:11 True True
10.123.183.155 Success 00:00:11 False True
```

This command tests whether the computer that has an IP address of 10.123.183.155 is a functional DNS server that has valid configured forwarders.
Expand Down