DNS provider
The DNS provider maps DNS questions to files. Domains are typed path captures; record files return one answer per line, and raw returns the resolver response summary for a default query.
No credentials are required.
At a glance
Section titled “At a glance”| Field | Value |
|---|---|
| Provider id | dns |
| Default mount | /dns |
| WASM | omnifs_provider_dns.wasm |
| Manifest | providers/dns/omnifs.provider.json |
| Routes | providers/dns/src/lib.rs |
| Auth | none |
| Capabilities | cloudflare-dns.com and dns.google for DNS-over-HTTPS; declared memory need 32 MB |
omnifs init dnsomnifs upomnifs shellMain paths
Section titled “Main paths”/dns/resolvers/dns/{domain}/dns/{domain}/{record}/dns/{domain}/CAA/dns/{domain}/all/dns/{domain}/raw/dns/reverse/{ip}/dns/@{resolver}/{domain}/dns/@{resolver}/{domain}/{record}/dns/@{resolver}/reverse/{ip}Built-in resolver aliases include Cloudflare and Google. The code supports a default resolver and resolver map, but the provider manifest does not expose a public config schema for them.
Examples
Section titled “Examples”cat /omnifs/dns/resolversls /omnifs/dns/example.comcat /omnifs/dns/example.com/Acat /omnifs/dns/example.com/MXcat /omnifs/dns/@google/example.com/TXTcat /omnifs/dns/reverse/8.8.8.8Capability notes
Section titled “Capability notes”The provider declares DNS-over-HTTPS resolver domains and expected memory needs. Resolver network access still goes through the host capability broker.
Limitations
Section titled “Limitations”DNS directories are open and dynamic. ls /omnifs/dns cannot enumerate arbitrary domains.