Acme dns
services.acme-dns.enable
Whether to enable acme-dns.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.package
The acme-dns package to use.
Type: package
Default
pkgs.acme-dns
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings
Free-form settings written directly to the acme-dns.cfg
file.
Refer to https://github.com/joohoi/acme-dns/blob/master/README.md#configuration for supported values.
Type: TOML value
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.api.disable_registration
Whether to disable the HTTP registration endpoint.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.api.ip
IP to bind the HTTP API on.
Type: string
Default
"[::]"
Example
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.api.port
Listen port for the HTTP API.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8080
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.api.tls
TLS backend to use.
Type: one of "letsencrypt", "letsencryptstaging", "cert", "none"
Default
"none"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.database.connection
Database connection string.
Type: string
Default
"/var/lib/acme-dns/acme-dns.db"
Example
"postgres://user:password@localhost/acmedns"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.database.engine
Database engine to use.
Type: one of "sqlite3", "postgres"
Default
"sqlite3"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.domain
Domain name to serve the requests off of.
Type: string
Example
"acme-dns.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.listen
IP+port combination to bind and serve the DNS server on.
Type: string
Default
"[::]:53"
Example
"127.0.0.1:53"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.nsadmin
Zone admin email address for SOA
.
Type: string
Example
"admin.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.nsname
Zone name server.
Type: string
Example
"acme-dns.example.com"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.protocol
Protocols to serve DNS responses on.
Type: one of "both", "both4", "both6", "udp", "udp4", "udp6", "tcp", "tcp4", "tcp6"
Default
"both"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.general.records
Predefined DNS records served in addition to the _acme-challenge
TXT records.
Type: list of string
Example
[# replace with your acme-dns server's public IPv4"acme-dns.example.com. A 198.51.100.1"# replace with your acme-dns server's public IPv6"acme-dns.example.com. AAAA 2001:db8::1"# acme-dns.example.com should resolve any *.acme-dns.example.com records"acme-dns.example.com. NS acme-dns.example.com."]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix
services.acme-dns.settings.logconfig.loglevel
Level to log on.
Type: one of "error", "warning", "info", "debug"
Default
"info"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/acme-dns.nix