Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 87

Shell script too see Time-To-Live (TTL) for a DNS recordnixCraft

$
0
0
Say you want to see the Time-To-Live (TTL) value for a given DNS record for A, AAAA, and MX. Here is a sample shell script that works on Linux, Unix, and macOS. You must have the bash and dig command installed.

Viewing all articles
Browse latest Browse all 87

Trending Articles