Application/DNSResolver
Schema
| Property |
Type |
Description |
listen_address |
string |
Address to listen on (e.g., 127.0.0.1, 0.0.0.0) |
listen_port |
integer |
Port to listen on (default: 53) |
upstream_servers |
array of strings |
Upstream DNS servers for recursive resolution |
cache_size |
integer |
Maximum number of cache entries |
These properties are common across all DNS resolver implementations. Sub-types add application-specific settings.
Sub-types
Example
_type: amadla.org/entity/application/dns-resolver@v1.0.0
_body:
listen_address: "127.0.0.1"
listen_port: 53
upstream_servers:
- 1.1.1.1
- 8.8.8.8
- 9.9.9.9
cache_size: 10000
Consumers
| Tool |
How It Uses Application/DNSResolver |
| lay |
Installs the DNS resolver application (unbound, dnsmasq, etc.) |
| enjoin-service |
Enables/starts the DNS resolver service |
| weaver |
Generates configuration files (unbound.conf, dnsmasq.conf) |