Article 4WMA2 DNS query

DNS query

by
joemon83
from LinuxQuestions.org on (#4WMA2)
I am just trying to understand caching/TTL for dns records in rhel 8.

when I do dig on google.com for example, it fetches the the A record and the TTL is 60 seconds. And then every time I do dig I see this is being decremented every second till it becomes 0. Does this mean the record is cached for 60 seconds ? I don't think so because when I do tcpdump and I see the DNS query sent out for every single dig. I am trying to understand the decrementing TTL counter on the local machine and then at the same time every dig resulting in local resolver sending out dns query..latest?d=yIl2AUoC8zA latest?i=sJVxp1F3x2Y:IWka9_adsxI:F7zBnMy latest?i=sJVxp1F3x2Y:IWka9_adsxI:V_sGLiP latest?d=qj6IDK7rITs latest?i=sJVxp1F3x2Y:IWka9_adsxI:gIN9vFwsJVxp1F3x2Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments