Solved

Understanding DNS TTL Record

Posted on 2016-08-28
3
78 Views
Last Modified: 2016-08-29
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
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 37

Accepted Solution

by:
bbao earned 280 total points
ID: 41773640
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
 
LVL 27

Assisted Solution

by:davorin
davorin earned 220 total points
ID: 41774346
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
 

Author Closing Comment

by:jskfan
ID: 41775078
Thank you Guys
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question