Skip to content

Commit 5040d53

Browse files
Update README.md
1 parent 1641054 commit 5040d53

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,26 @@ NS google.com. 93h48m24s ns1.google.com.
2828
SOA google.com. 55s ns1.google.com. dns-admin.google.com.
2929
```
3030

31+
### Query a specific record type
32+
33+
```sh
34+
$ zns google.com -q NS
35+
NS google.com. 93h48m24s ns2.google.com.
36+
NS google.com. 93h48m24s ns3.google.com.
37+
NS google.com. 93h48m24s ns4.google.com.
38+
NS google.com. 93h48m24s ns1.google.com.
39+
```
40+
41+
### Use a specific DNS server
42+
43+
```sh
44+
$ zns google.com -q NS --server 1.1.1.1
45+
NS google.com. 93h48m24s ns2.google.com.
46+
NS google.com. 93h48m24s ns3.google.com.
47+
NS google.com. 93h48m24s ns4.google.com.
48+
NS google.com. 93h48m24s ns1.google.com.
49+
```
50+
3151
### JSON output
3252

3353
```sh

0 commit comments

Comments
 (0)