保留测试 TLD
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/test-tld/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/test-tld/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/test-tld/)
Use the native HTML custom element.
保留测试TLD是[[iana|IANA]](RFC 2606)为文档编写、测试和开发目的划定的[[tld|顶级域]],这些域名永远不会在公共[[dns|DNS]]根区获得委托。四个主要保留TLD为:.test(用于软件测试)、.example(用于文档和示例)、.invalid(保证不会解析)和.localhost(用于本地机器回环)。在代码、文档或演示中使用这些TLD,可确保示例永远不会意外解析到真实域名或产生意外的互联网流量。
示例
RFC documentation uses example.com, example.net, and example.org for all illustrative purposes; developers use http://myapp.test during local development to avoid conflicts with live domains.