Skip to content

Commit

Permalink
Fix TCP/DNS examples in the manual (#429)
Browse files Browse the repository at this point in the history
The DNS examples needs fixing because the CNAME reference changed and
the Google free DNS server filters some test entries. Thus, I've
replaced the Google DNS server with the OpenDNS one where necessary.
  • Loading branch information
gsauthof authored and aelsabbahy committed May 21, 2019
1 parent 5b23ea2 commit ed797be
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/manual.md
Expand Up @@ -421,9 +421,10 @@ If you want to keep your tests in separate files, the best way to obtain a singl
Validates if a remote `address:port` are accessible.
```yaml
tcp://ip-address-or-domain-name:80:
reachable: true
timeout: 500
addr:
tcp://ip-address-or-domain-name:80:
reachable: true
timeout: 500
```
Expand Down Expand Up @@ -483,11 +484,11 @@ To validate specific DNS address types, prepend the hostname with the type and a
```yaml
dns:
# Validate a CNAME record
CNAME:dnstest.github.io:
CNAME:c.dnstest.io:
resolvable: true
server: 8.8.8.8
server: 208.67.222.222
addrs:
- "github.map.fastly.net."
- "a.dnstest.io."
# Validate a PTR record
PTR:8.8.8.8:
Expand All @@ -499,7 +500,7 @@ dns:
# Validate and SRV record
SRV:_https._tcp.dnstest.io:
resolvable: true
server: 8.8.8.8
server: 208.67.222.222
addrs:
- "0 5 443 a.dnstest.io."
- "10 10 443 b.dnstest.io."
Expand Down

0 comments on commit ed797be

Please sign in to comment.