---
name: "key.dns_resolver.conf"
section: "5"
platform: "linux"
package: "keyutils"
version: "1.6.3-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/key.dns_resolver.conf"
---

# key.dns\_resolver.conf(5)

Kernel DNS resolver config

## NAME

key.dns\_resolver.conf - Kernel DNS resolver config

## DESCRIPTION

This file is used by the key.dns\_resolver(5) program to set parameters. Unless otherwise overridden with the **-c** flag, the program reads:

-

  /etc/key.dns\_resolver.conf

Configuration options are given in **key\[=value\]** form, where **value** is optional.  If present, the value may be surrounded by a pair of single ('') or double quotes ("") which will be stripped off.  The special characters in the value may be escaped with a backslash to turn them into ordinary characters.

Lines beginning with a '#' are considered comments and ignored.  A '#' symbol anywhere after the '=' makes the rest of the line into a comment unless the '#' is inside a quoted section or is escaped.

Leading and trailing spaces and spaces around the '=' symbol will be stripped off.

Available options include:

- **default\_ttl=\<number\>**

  The number of seconds to set as the expiration on a cached record.  This will be overridden if the program manages to retrieve TTL information along with the addresses (if, for example, it accesses the DNS directly).  The default is 5 seconds.  The value must be in the range 1 to INT\_MAX.

The file can also include comments beginning with a '#' character unless otherwise suppressed by being inside a quoted value or being escaped with a backslash.

## FILES

/etc/key.dns\_resolver.conf

## SEE ALSO

[**key.dns\_resolver**(8)](/key.dns_resolver/8.md)
