食物中毒用什么药| 缺铁性贫血的人吃什么补血最快| 什么血型可以生出o型血| 门当是什么| 10月份是什么星座| 肺结节看什么科| 乙状结肠腺瘤是什么病| kg什么意思| 血糖是什么意思| 拉稀肚子疼是什么原因| 巧克力囊肿有什么症状表现| 白露是什么季节的节气| 油菜花像什么| 尿酸高去医院挂什么科| 宫颈萎缩意味着什么| 衣原体阴性是什么意思| 肺部结节是什么引起的| 脚趾抽筋是什么原因引起的| 尿是褐色的是什么原因| 跳什么舞减肥最快| 打呼噜吃什么| 屁多且臭是什么原因| 大什么什么什么成语| 婴儿为什么吐奶| 伊玛目是什么意思| 微信什么时候推出的| 1981年属什么生肖| 谷丙转氨酶偏高吃什么好| 啤酒加味精有什么作用| 促排药什么时候开始吃| 淋巴结肿大是什么样子的| 划扣是什么意思| 有机和无机是什么意思| 喝醋有什么作用与功效| 对策是什么意思| 糖类抗原是什么| 少将相当于什么级别| 10月7日什么星座| 肛瘘挂什么科| 结婚纪念日送什么礼物| 白细胞高是什么问题| 绮丽的什么| 什么服务| 狗的尾巴有什么作用| 布洛芬起什么作用| 法兰克穆勒什么档次| 03属什么| 支气管发炎用什么药| 算了吧什么意思| 腰痛去医院挂什么科| 背上长白斑是什么病的症状| 牙龈充血是什么原因| 什么是otc| 大雄宝殿供奉的是什么佛| 亥时属什么生肖| 小孩血压低是什么原因| 炎黄子孙是什么生肖| nacl是什么| 母亲节送妈妈什么好| 什么是拉拉| 入睡难是什么原因| 劳热是什么意思| 喉咙干是什么原因| 绿茶男是什么意思| 指教是什么意思| 晚上睡觉手发麻是什么原因| 胸椎退行性变什么意思| 见龙在田什么意思| 眼睛发黄什么原因| 什么是腺肌症| 男人小便刺痛吃什么药| 梦见葱是什么意思| 阿迪耐克为什么那么贵| 赫依病是什么病| 不排大便是什么原因| 非分之想什么意思| 军士长是什么级别| 小儿拉肚子吃什么药好得快| 股骨径是指胎儿什么| 头皮屑多是什么原因| seconds是什么意思| 多汗症看什么科| 西游记什么朝代写的| 油漆味对人有什么危害| 坊字五行属什么| 什么的形象| 肾结石不能吃什么| 为什么不能空腹喝牛奶| 521代表什么含义| 小姐的全套都有什么| 忠实的什么| degaia是什么牌子| 护士学什么专业| 撸猫是什么意思| 十月十六号是什么星座| hushpuppies是什么牌子| 六味地黄丸什么人不能吃| 房颤吃什么药效果最好| 蒲地蓝消炎片主治什么| 肩颈疼痛挂什么科| 522是什么意思| boq是什么意思| 总是低烧是什么原因造成的| 什么药治便秘效果最好最快| 舌尖起泡是什么原因| 生活是什么意思| 细胞质是什么| 梦见掉牙齿是什么意思| 兰芝属于什么档次| 治疗阳痿早泄什么药最好| 做梦梦见拉屎是什么意思| 疥疮用什么药膏好得快| 气性大是什么意思| 1d是什么意思| 醪糟是什么东西| 宝宝打嗝是什么原因| 缪斯女神什么意思| 尿蛋白低是什么原因| 肝郁化火吃什么中成药| 泰勒为什么叫霉霉| 打牌老是输是什么原因| 冲菜是什么菜| 胰腺癌晚期什么症状| 西楚霸王是什么生肖| 白案是什么意思| 屠苏是什么意思| 发泥和发蜡有什么区别| 牙发黑是什么原因怎么办| 菠菜和豆腐为什么不能一起吃| 烊化兑服是什么意思| 吉祥三宝是什么意思| 猫咪来家里是什么寓意| 低血糖是什么原因引起的| 外婆菜是什么菜| 女人脸色发黄吃什么补得最快| 铁塔公司是干什么的| 清华大学校长是什么级别| pv什么意思| 红对什么| 螃蟹不能和什么食物一起吃| 梦见白事场面什么意思| 啤酒加生鸡蛋一起喝有什么效果| 妇乐颗粒的功效能治什么病| 甘油三酯高是什么意思| 秋黄瓜什么时候种| 三点水加分念什么| 什么药可以推迟月经| 靖康耻指的是什么历史事件| 布洛芬有什么副作用| 木元念什么| 为什么子宫会下垂| 五彩缤纷是什么生肖| 为什么会得hpv| 尿酸高什么症状| 梦见抢银行是什么意思| 小便尿血是什么原因| 嗳腐吞酸是什么意思| 脾虚胃热吃什么中成药| 什么的快乐| 傻子是什么意思| 以纯属于什么档次| 小腿长痣代表什么意思| 红细胞偏低是什么原因| 铁观音适合什么季节喝| 吃东西恶心想吐是什么原因| pd是什么病| 口干口苦口臭是什么原因引起的| 妈妈a型爸爸b型孩子是什么血型| 牛顿三大定律是什么| 碳酸钙d3片什么时候吃最好| 雷人是什么意思| 基围虾不能和什么一起吃| 黑裙配什么颜色的上衣| 卡替治疗是什么意思| 碱中毒是什么引起的| 宫腔灌注是治疗什么的| 小拇指长痣代表什么| 挠头什么意思| 为什么说尽量不戴脚链| 藏红花泡水是什么颜色| 锴字五行属什么| 婴儿口水多是什么原因| 纤支镜检查是用来查什么的| MECT是什么| 喜欢吃酸的是什么原因| 什么是ct检查| 口水臭是什么原因| 董酒是什么香型| 孕妇脚抽筋是什么原因| 好运是什么意思| haze是什么意思| 戴银首饰对身体有什么好处| 肉身成圣是什么意思| 什么是周期| 尿浑浊是什么原因| 宫颈欠光滑是什么意思| he是什么气体| 5月12日什么星座| 名不见经传是什么意思| 肺部肿瘤吃什么好| 维多利亚是什么意思| 95年属什么生肖婚配表| 翡翠和玉的区别是什么| 黑t恤搭配什么裤子| 脱发缺什么维生素| 肾宝片有什么副作用吗| 手脱皮是缺什么维生素| c3c4补体是什么意思| 满月是什么意思| 女人吃黄芪有什么好处| 虚火旺吃什么去火最快| 喉咙里的小肉球叫什么| 无住生心是什么意思| 心肌缺血吃什么食物好| 滚床单什么意思| 一个彭一个瓦念什么| 老人头晕挂什么科| 吃什么长指甲最快| 公知是什么意思| 总胆固醇是什么意思| 脚拇指发麻是什么原因| drg什么意思| 完美收官是什么意思| 1974属什么生肖| 1103是什么星座| 明月照沟渠是什么意思| 什么作用| buns是什么意思| hdv是什么病毒| 吃什么减脂肪| 梦见买帽子是什么意思| 郎中是什么意思| 英国用什么货币| 半夜是什么时辰| 风寒感冒吃什么水果| 肾结石不能吃什么| 新疆是什么民族| 骨量偏高代表什么意思| 手发抖是什么原因引起的年轻人| 眼睛出血什么原因| 水晶眼镜对眼睛有什么好处| 蜂蜜是什么糖| 玉露茶属于什么茶| 为什么泡完脚后非常痒| 阿修罗道是什么意思| 刮脸有什么好处与坏处| 急性阑尾炎可以吃什么| 计抛是什么意思| 胎菊泡水喝有什么功效| 右肩膀疼是什么原因| 金牛座的幸运色是什么| 什么时候用得| hbv是什么| 古人的婚礼在什么时候举行| 什么是规培生| 前身是什么意思| 撮鸟是什么意思| 尿常规白细胞高是什么原因| 吃完虾不能吃什么水果| 痔疮是什么样子的图片大全| 为什么会得心脏病| 耳鸣是什么原因引起的嗡嗡的响| 赞赏是什么意思| 肝郁化火吃什么药| 百度Jump to content

[甘肃] 今年普通高校体育专业统考首次实行网上报名

From Wikipedia, the free encyclopedia
百度 “海外网视”:汇集了每天最精彩的视频新闻。

Time to live (TTL) or hop limit is a mechanism which limits the lifespan or lifetime of data in a computer or network. TTL may be implemented as a counter or timestamp attached to or embedded in the data. Once the prescribed event count or timespan has elapsed, data is discarded or revalidated. In computer networking, TTL prevents a data packet from circulating indefinitely. In computing applications, TTL is commonly used to improve the performance and manage the caching of data.

Description

[edit]

The original DARPA Internet Protocol's RFC describes[1]:?§1.4? TTL as:

The Time to Live is an indication of an upper bound on the lifetime of an internet datagram. It is set by the sender of the datagram and reduced at the points along the route where it is processed. If the time to live reaches zero before the internet datagram reaches its destination, the internet datagram is destroyed. The time to live can be thought of as a self destruct time limit.

IP packets

[edit]

Under the Internet Protocol, TTL is an 8-bit field. In the IPv4 header, TTL is the 9th octet of 20. In the IPv6 header, it is the 8th octet of 40. The maximum TTL value is 255, the maximum value of a single octet. A recommended initial value is 64.[2][3]

The time-to-live value can be thought of as an upper bound on the time that an IP datagram can exist in an Internet system. The TTL field is set by the sender of the datagram, and reduced by every router on the route to its destination. If the TTL field reaches zero before the datagram arrives at its destination, then the datagram is discarded and an Internet Control Message Protocol (ICMP) error datagram (11 - Time Exceeded) is sent back to the sender. The purpose of the TTL field is to avoid a situation in which an undeliverable datagram keeps circulating on an Internet system, and such a system eventually becoming swamped by such "immortals".

In theory, under IPv4, time to live is measured in seconds, although every host that passes the datagram must reduce the TTL by at least one unit. In practice, the TTL field is reduced by one on every hop. To reflect this practice, the field is renamed hop limit in IPv6.

DNS records

[edit]
TTL of a DNS answer resolving google.com, seen in Wireshark

TTLs also occur in the Domain Name System (DNS), where they are set by an authoritative name server for a particular resource record. When a caching (recursive) nameserver queries the authoritative nameserver for a resource record, it will cache that record for the time (in seconds) specified by the TTL. If a stub resolver queries the caching nameserver for the same record before the TTL has expired, the caching server will simply reply with the already cached resource record rather than retrieve it from the authoritative nameserver again. TTL for NXDOMAIN (non-existent domain) responses is set from the minimum of the MINIMUM field of the SOA record and the TTL of the SOA itself, and indicates how long a resolver may cache the negative answer.[4][jargon]

Shorter TTLs can cause heavier loads on an authoritative name server, but can be useful when changing the address of critical services like web servers or MX records, and therefore are often lowered by the DNS administrator prior to a service being moved, in order to reduce possible disruptions.

The units used are seconds. An older common TTL value for DNS was 86400 seconds, which is 24 hours. A TTL value of 86400 would mean that, if a DNS record was changed on the authoritative nameserver, DNS servers around the world could still be showing the old value from their cache for up to 24 hours after the last update by client.

Newer DNS methods that are part of a disaster recovery (DR) system may have some records deliberately set extremely low on TTL. For example, a 300-second TTL would help key records expire in 5 minutes to help ensure these records are flushed quickly worldwide. This gives administrators the ability to edit and update records in a timely manner. TTL values are "per record" and setting this value on specific records is sometimes honored automatically by all standard DNS systems worldwide. However, a problem persists in that some caching DNS nameservers set their own TTLs regardless of the authoritative records, thus it cannot be guaranteed that all downstream DNS servers have the new records after the TTL has expired.

HTTP

[edit]

Time to live may also be expressed as the date and time on which a record expires. The Expires: header in HTTP responses, the Cache-Control: max-age header field in both requests and responses and the expires field in HTTP cookies express time-to-live in this way.

See also

[edit]

References

[edit]
  1. ^ J. Postel, ed. (September 1981). INTERNET PROTOCOL - DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION. IETF. doi:10.17487/RFC0791. STD 5. RFC 791. IEN 128, 123, 111, 80, 54, 44, 41, 28, 26. Internet Standard 5. Obsoletes RFC 760. Updated by RFC 1349, 2474 and 6864.
  2. ^ "Default TTL Values in TCP/IP". Archived from the original on 2025-08-05. Retrieved 2025-08-05.
  3. ^ "IP OPTION NUMBERS". 2025-08-05. Retrieved 2025-08-05. The current recommended default time to live (TTL) for the Internet Protocol (IP) is 64 [RFC791], [RFC1122].
  4. ^ M. Andrews (March 1998). Negative Caching of DNS Queries (DNS NCACHE). Network Working Group. doi:10.17487/RFC2308. RFC 2308. Proposed Standard. Updates RFC 1034 and 1035. Updated by RFC 4035, 4033, 4034, 6604, 8020, 8499, 9499 and 9520.
[edit]
奋不顾身的顾是什么意思 汴去掉三点水念什么 梦见很多蛇是什么意思 芝士是什么东西 皮重是什么意思
捐精有什么要求 铁扇公主是什么妖精 gloomy是什么意思 04年是什么年 正科级是什么级别
32周孕检检查什么项目 秋天能干什么 伏天从什么时候开始 周杰伦为什么叫周董 百米12秒什么水平
岬是什么意思 喉咙痒咳嗽吃什么药好 喝什么茶减肥效果最好 夜长梦多是什么意思 为什么一喝牛奶就拉肚子
辰字五行属什么hcv9jop7ns0r.cn 武夷岩茶属于什么茶travellingsim.com 祖籍是什么意思wmyky.com 眼睛看东西模糊是什么原因hcv9jop7ns3r.cn 手指甲出现双层是什么原因hcv8jop8ns8r.cn
滋阴潜阳是什么意思hcv8jop7ns7r.cn 老人流口水是什么原因hcv8jop2ns7r.cn 周传雄得了什么病hcv9jop5ns9r.cn 安代表什么生肖hcv7jop9ns5r.cn 1951属什么生肖sscsqa.com
牙龈萎缩吃什么药见效快hcv9jop2ns8r.cn 一什么野菜hcv8jop4ns6r.cn 小便黄吃什么药hcv9jop5ns7r.cn 手信是什么东西baiqunet.com 四平八稳是什么生肖gysmod.com
舌头短的人意味着什么hcv8jop6ns4r.cn 将军指什么生肖hcv7jop6ns5r.cn 无忧是什么意思hcv9jop4ns1r.cn 洗头什么时间洗最好hcv8jop3ns3r.cn 黑是什么生肖hcv7jop9ns8r.cn
百度