Understanding DNS TTL Record

Let's say we have a DNS zone with TTL of 24 hours, then I want to change it to 1 hour.
Will the PCs wait 24 hours to update their DNS cache (TTL) to 1 hour ? assuming they are not rebooted, and DNS has not been manually refreshed.

Thank you
jskfanAsked:
Who is Participating?
 
bbaoConnect With a Mentor IT ConsultantCommented:
you no need to wait for that long. you may manually flush the existing DNS cache on a computer using the following command lines:

Windows: IPCONFIG /FLUSHDNS

OS X: dscacheutil -flushcache

Linux: /etc/rc.d/init.d/nscd restart
0
 
davorinConnect With a Mentor Commented:
If you don't refresh dns manually, then you need to wait for 24 hrs (or TTL time specified before the change.)
PC  checks the dns record, gets the value and sees that it is valid for 24 hrs (firstly specified TTL time), so for the next 24 hrs it is not checking DNS server for changes. Within 24 hrs you change TTL to 1 hr. So after 24 hrs the PC is checking for DNS changes every 1 hr.
0
 
jskfanAuthor Commented:
Thank you Guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.