Skip to main content
Version: 7.25

cache


ip/dns/cache​

Type: Directory

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.

FlagNameDescription
SstaticThe record comes from a static entry in /ip/dns/static. Static records show a TTL of 0s here.
Read-only ArgumentTypeDescription
typeenum (A | NS | CNAME | MX | TXT | AAAA | SRV) { A:1, NS:2, CNAME:5, MX:15, TXT:16, AAAA:28, SRV:33 }Record type.
dataalt { 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 }Data of the record, for example the address of an A record.
namestringDomain name of the record.
ttltimeRemaining time before the record expires from the cache. It counts down, and it is never longer than cache-max-ttl in /ip/dns.