DNS Cheatsheet / Resolveping
For Ubuntu Linux
DNS Check
Get DNS Configuration / Show nameservers
-
systemd-resolve --status --no-pager
-
cat /etc/resolv.conf
-
nslookup orf.at
Flush DNS Cache
- systemd-resolve --flush-caches
DNS Traceroute
- dig -trace xxx.example.com
Query a nameserver
- dig @192.168.0.10 somehost.example.com
Zone TTLs
-
2022052500 serial
10800 time to refresh 3h
3600 time to retry
604800 time to expire
28800 minimum ttl 7,7h