• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » TTL or Time to Live Explained

By Abhishek Ghosh March 30, 2014 7:39 pm Updated on March 30, 2014

TTL or Time to Live Explained

Advertisement

Time to Live or TTL is the term of validity of data in a given computer networks that limits the lifespan or lifetime of data, that determines how many intermediate stations (hops) a packet of data is allowed to pass in the Internet. We usually use Time to Live or TTL for Domain Name System (DNS) for Name Server Propagation. In brief, if TTL or Time to Live is very short like 300 Seconds, the propagation will take lesser time, but if it is set to higher value; DNS caching possibly (depends on setup) will take place, significantly reducing query time.

 

TTL or Time to Live : Basics

 

In computer networking, TTL or Time to Live prevents a data packet from circulating indefinitely. In computing applications, TTL or Time to Live is used to improve performance of caching or to improve privacy.

Internet Protocol (IP) specifies the TTL or Time to Live, which determines how many intermediate stations ( hops ) a packet in the Internet is allowed to pass. The data field for the TTL is an octet (8-bit field), so the maximum number of hops is 255. With each hop, the TTL is decremented by 1. When a data packet after its TTL has not yet reached its destination, it is discarded. The applied usage of this process is used  with traceroute. In IPv6, it has been replaced by a simple equal-sized hop limit and the lifetime is up to the higher layer protocols. We have limited the terminology TTL to DNS records in this article for practical usage.

Advertisement

---

 

Checking TTL or Time to Live

 

Here are the practical usages of how TTL is checked :

Vim
1
~  nslookup -type=A -debug google.com

It will give the output :

TTL or Time to Live Explained

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Server:220.226.100.40
Address:220.226.100.40#53
 
------------
    QUESTIONS:
google.com, type = A, class = IN
    ANSWERS:
    ->  google.com
internet address = 74.125.236.33
ttl = 159
    ->  google.com
internet address = 74.125.236.34
ttl = 159
    ->  google.com
internet address = 74.125.236.35
ttl = 159
    ->  google.com
internet address = 74.125.236.36
ttl = 159
    ->  google.com
internet address = 74.125.236.37
ttl = 159
    ->  google.com
internet address = 74.125.236.38
ttl = 159
    ->  google.com
internet address = 74.125.236.39
ttl = 159
    ->  google.com
internet address = 74.125.236.40
ttl = 159
    ->  google.com
internet address = 74.125.236.41
ttl = 159
    ->  google.com
internet address = 74.125.236.46
ttl = 159
    ->  google.com
internet address = 74.125.236.32
ttl = 159
    AUTHORITY RECORDS:
    ->  google.com
nameserver = ns2.google.com.
ttl = 257854
    ->  google.com
nameserver = ns4.google.com.
ttl = 257854
    ->  google.com
nameserver = ns1.google.com.
ttl = 257854
    ->  google.com
nameserver = ns3.google.com.
ttl = 257854
    ADDITIONAL RECORDS:
    ->  ns1.google.com
internet address = 216.239.32.10
ttl = 126291
    ->  ns2.google.com
internet address = 216.239.34.10
ttl = 125016
    ->  ns3.google.com
internet address = 216.239.36.10
ttl = 124622
    ->  ns4.google.com
internet address = 216.239.38.10
ttl = 129165
------------
Non-authoritative answer:
Name:google.com
Address: 74.125.236.33
Name:google.com
Address: 74.125.236.34
Name:google.com
Address: 74.125.236.35
Name:google.com
Address: 74.125.236.36
Name:google.com
Address: 74.125.236.37
Name:google.com
Address: 74.125.236.38
Name:google.com
Address: 74.125.236.39
Name:google.com
Address: 74.125.236.40
Name:google.com
Address: 74.125.236.41
Name:google.com
Address: 74.125.236.46
Name:google.com
Address: 74.125.236.32

Simple usage :

Vim
1
nslookup www.rackspace.com

Output :

Vim
1
2
3
4
5
6
7
Server:220.226.100.40
Address:220.226.100.40#53
 
Non-authoritative answer:
www.rackspace.comcanonical name = www.wip.rackspace.com.
Name:www.wip.rackspace.com
Address: 173.203.44.116

For more information on nslookup tool, use :

Vim
1
man nslookup

on OS X, Other UNIX OS and GNU Linux. The command nslookup works for Microsoft Windows too. You can easily get a text copy of the manual by running this kind of command :

Vim
1
man nslookup > /path/to/nslookup.txt

Tagged With time to live explained , txt ttl explained , ttl time to live or live , ttl explained , time to live types , time to live ttl detailed explanation , Time to live explanation , nslookup ttl explained , nslookup time to live , what establishes a time to live ttl packet
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to TTL or Time to Live Explained

  • Arduino and LED Bar Display : Circuit Diagram, Code

    Here is a Guide Explaining the Basics, Circuit Diagram, Code on Arduino and LED Bar Display. LED Bar Display is Actually Like Multiple LED.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Add Domain Name to OpenShift WordPress

    Adding Domain Name to OpenShift WordPress, Unlike IaaS Can Be Challenging. We Can Use Free CloudFlare to Make the Process of Pointing Easier.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy