DNS: add option --dns-show-type

This commit is contained in:
李通洲
2024-06-12 19:52:25 +08:00
committed by 李通洲
parent 218c553841
commit 0a899e1e80
7 changed files with 169 additions and 22 deletions
+13
View File
@@ -1367,6 +1367,19 @@
"default": false
}
},
{
"long": "dns-show-type",
"desc": "Specify the type of DNS servers should be detected",
"arg": {
"type": "enum",
"enum": {
"ipv4": "Show IPv4 addresses only",
"ipv6": "Show IPv6 addresses only",
"both": "Show both IPv4 and IPv6 addresses"
},
"default": "both"
}
},
{
"long": "netio-name-prefix",
"desc": "Show interfaces with given name prefix only",