Skip to content

Commit d4e5863

Browse files
author
wafuwafu13
committed
fix document
1 parent ab2fc78 commit d4e5863

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

check-dns/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ check-dns -H a.root-servers.net -s 8.8.8.8
3434

3535
If DNS server returns 1.1.1.1 and 2.2.2.2
3636
```
37-
-a 1.1.1.1 -a 2.2.2.2 -> OK
38-
-a 1.1.1.1 -a 2.2.2.2 -a 3.3.3.3 -> WARNING
39-
-a 1.1.1.1 -> WARNING
40-
-a 1.1.1.1 -a 3.3.3.3 -> WARNING
41-
-a 3.3.3.3 -> CRITICAL
42-
-a 3.3.3.3 -a 4.4.4.4 -a 5.5.5.5 -> CRITICAL
37+
-e 1.1.1.1 -e 2.2.2.2 -> OK
38+
-e 1.1.1.1 -e 2.2.2.2 -e 3.3.3.3 -> WARNING
39+
-e 1.1.1.1 -> WARNING
40+
-e 1.1.1.1 -e 3.3.3.3 -> WARNING
41+
-e 3.3.3.3 -> CRITICAL
42+
-e 3.3.3.3 -e 4.4.4.4 -e 5.5.5.5 -> CRITICAL
4343
```
4444
```
4545
check-dns -H a.root-servers.net -s 8.8.8.8 -e 198.41.0.4
@@ -61,7 +61,7 @@ Or you can use this program by installing the official Mackerel package. See [Us
6161
Next, you can execute this program :-)
6262

6363
```
64-
check-dns -H example.com -s 8.8.8.8
64+
check-dns -H a.root-servers.net -s 8.8.8.8
6565
```
6666

6767

@@ -71,5 +71,5 @@ If there are no problems in the execution result, add a setting in mackerel-agen
7171

7272
```
7373
[plugin.checks.dns-sample]
74-
command = ["check-dns", "-H", "example.com", "-s", "8.8.8.8"]
74+
command = ["check-dns", "-H", "a.root-servers.net", "-s", "8.8.8.8"]
7575
```

0 commit comments

Comments
 (0)