You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,9 +167,20 @@ shortcut flags work on all commands:
167
167
-e, --established established connections
168
168
-4, --ipv4 ipv4 only
169
169
-6, --ipv6 ipv6 only
170
-
-n, --numeric no dns resolution
171
170
```
172
171
172
+
## resolution
173
+
174
+
dns and service name resolution options:
175
+
176
+
```
177
+
--resolve-addrs resolve ip addresses to hostnames (default: true)
178
+
--resolve-ports resolve port numbers to service names
179
+
--no-cache disable dns caching (force fresh lookups)
180
+
```
181
+
182
+
dns lookups are performed in parallel and cached for performance. use `--no-cache` to bypass the cache for debugging or when addresses change frequently.
183
+
173
184
for more specific filtering, use `key=value` syntax with `ls`:
174
185
175
186
```bash
@@ -208,8 +219,19 @@ optional config file at `~/.config/snitch/snitch.toml`:
208
219
209
220
```toml
210
221
[defaults]
211
-
numeric = false
212
-
theme = "auto"
222
+
numeric = false# disable name resolution
223
+
dns_cache = true# cache dns lookups (set to false to disable)
224
+
theme = "auto"# color theme: auto, dark, light, mono
0 commit comments