chore(snippets): add name resolving commands

This commit is contained in:
Michele Cereda
2025-05-28 20:28:17 +02:00
parent 9bbedda996
commit 11656c2d27

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env fish
nslookup 'www.google.com'
nslookup 'grafana.dev.ecs.internal' '172.31.0.2'
nslookup '172.16.43.212' '172.31.0.2'
host 'pi.hole'
host -t 'A' 'ifconfig.me'
host -a '172.16.43.212' '172.31.0.2'
dig 'google.com'
dig 'google.com' 'A'
dig -x '172.217.14.238'
dig '@8.8.8.8' 'google.com'
dig 'google.com' '+short'
resolvectl query 'archlinux.org'
dscacheutil -q 'host' -a 'name' '192.168.1.35'
dscacheutil -q 'host' -a 'name' 'gitlab.lan'