Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to determine DNS TTL Remaining

Posted on 2014-01-02
2
Medium Priority
?
833 Views
Last Modified: 2014-01-02
I am wondering if there is a way to determine how long a cached DNS record has been on a DNS server and subsequently how long it will be before the record expires and the DNS server will do a look up to the domains DNS servers.

For example, if I do not have direct access to my ISPs DNS server is there away I can do a query against that server via nslookup for example, and determine how long it will be before that DNS server will dump www.dogpile.com from its cache and requery the authoritative DNS server for dogpile.com.  I am not looking simply for the TTL as I can get that.  What I want I am looking for is how many seconds to go before the TTL expires on the query/caching server.
0
Comment
Question by:BladesAway
2 Comments
 
LVL 9

Accepted Solution

by:
dipersp earned 2000 total points
ID: 39752794
Nslookup with -debug should do what you need.
0
 

Author Closing Comment

by:BladesAway
ID: 39752846
Perfect.

For others, the syntax is:

nslookup -debug - nameserver

;where name server is the IP or hostname of the DNS server.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

963 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