I use dig +short @127.0.0.1 -p 5336 www.google.com
to get the IP address that is being resolved to. I am wondering if there is a similar bash command to just get the ttl value?
Asked
Active
Viewed 721 times
0

gogofan
- 533
- 1
- 10
- 20
-
read man dig, and you will find "+[no]ttlid Display [do not display] the TTL when printing the record." – darvark Nov 23 '17 at 12:12
-
@darvark I would like to get the TTL value, not avoid it. – gogofan Nov 23 '17 at 13:36