Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 99
  • Last Modified:

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
0
jskfan
Asked:
jskfan
2 Solutions
 
bbaoIT 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
 
davorinCommented:
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now