What is the maximum TTL value and what is the default value?

Source: Internet
Author: User

What is the default value for the TTL?

Different operating system, its TTL value is not the same. Here to talk about some common operating system default TTL values, by default, the Linux system TTL value of 64 or 255,windows NT/2000/XP system TTL value is 128,windows 98 system TTL value is 32, The UNIX host has a TTL value of 255. DNS resolution of domain names the default TTL value is typically 60.

Second, the TTL maximum value of the operating system:

The TTL maximum is 255, such as the initial default TTL value for the TT value of the UNIX operating system is 225. Different system maximum values vary, and the default TTL maximum for the operating system used in the lab environment is 128, depending on the situation.

Iii. How to modify TTL values

First of all, this TTL is best to set the initial default value, do not go disorderly modification. In general, there may be errors in the changes, and we do not know that it is appropriate to modify the TTL value. Of course, if you need to modify the TTL value, it is really easy to modify the TTL value. The specific actions are as follows:

1, click "Start → run", in the "Run" dialog box, enter the "regedit" command and Return, pop-up "Registry Editor" dialog box, expand the Hkey_local_ Machinesystemcurrentcontrolsetservicestcpipparameters ", find" DefaultTTL ", modify the value to decimal" 64 ", restart the server system.

2, or try a batch file to modify the TTL value. First open Notepad txt and paste the following code into Notepad:

@echo Regedit4>>changettl.reg

@echo. >>changettl.reg

@echo [Hkey_local_machlnesystemcurrentcontrolsetservicest Cpipparameters]>>changettl.reg

@echo "DefaultTTL" =dword:000000 ">>changettl.reg

@REGEDIT/s/c Changettl.reg

Then, in the batch file that saves the Notepad file as. bat, the folder sets itself, and then runs the. bat file. The default TTL value for your operating system will be modified to FF, or 10 to 255, which means that your operating system is artificially converted to UNIX. After modification, a Changettl.reg registry file is automatically generated on the path of the current folder. bat. If you want to run through this batch file without producing a Changettl.reg file, you can add deltree/y Changettl.reg to the last line of this batch file without having to confirm that the Changettl.reg file is automatically deleted.

Friendly tips:

3, there is a number of third-party tools to modify your TTL value, such as Susu view TTL value tool can view the TTL value and modify the TTL value, suggest you can go to try.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.