/ip/dns/cache
cache
Answers the router can give from its cache: upstream answers and the static entries. For a complete list, including the PTR records made for static entries, see all. For an overview, see DNS.
ip/dns/cache
Type: Directory
路由器可以从其缓存中给出的应答:上游应答和静态条目。要查看完整列表(包括为静态条目创建的 PTR 记录),请参阅 all。概述请参阅 DNS。
| 标志 | 名称 | 描述 |
|---|---|---|
S | static | 该记录来自 /ip/dns/static 中的静态条目。静态记录在此处显示的 TTL 为 0s。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
type | enum (A | NS | CNAME | MX | TXT | AAAA | SRV) { A:1, NS:2, CNAME:5, MX:15, TXT:16, AAAA:28, SRV:33 } | 记录类型。 |
data | alt { address: ipAddr , name: string , info: composite { rmail: string , email: string } , mx: composite { preference: num , exchange: string } , srv: composite { port: num , target: string } , soa-mname: string , address6: ip6Addr } | 记录数据,例如 A 记录的地址。 |
name | string | 记录的域名。 |
ttl | time | 记录从缓存中过期前的剩余时间。它会倒计时,并且永远不会超过 /ip/dns 中的 cache-max-ttl。 |