Solved

How to determine DNS TTL Remaining

Posted on 2014-01-02
2
720 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 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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