KEY.DNS_RESOLVER.CONF(5)
π KEY.DNS_RESOLVER.CONF(5) π
okay bestie, welcome to the Linux Key Management Utilities corner of the man pages β¨ this one's called key.dns_resolver.conf and it's literally just the config file situation for the kernel DNS resolver. sit down, grab a strawberry π, we're doing this.
πΈ NAME πΈ
key.dns_resolver.conf β Kernel DNS resolver config π
π¦ DESCRIPTION π¦
so this file? it's the one the key.dns_resolver(5) program reads to set its parameters. unless you've overridden it with the -c flag (iconic behaviour, respect), the program reads:
/etc/key.dns_resolver.conf
the config options go in key[=value] form, and ngl the value part is optional. if you do put a value in, you can wrap it in a pair of single quotes ('') or double quotes ("") and those quotes just get stripped right off. π
and if your value has special characters that are being weird about it, you can escape them with a backslash to turn them into ordinary, well-behaved little characters.
lines that start with a # are comments, full stop, ignored, not the moment. π« and a # symbol anywhere after the = turns the rest of that line into a comment too β unless the # is chillin' inside a quoted section or you escaped it. iykyk.
leading and trailing spaces, plus spaces around the = symbol, all get stripped off. no extra fluff, we love a clean parse. β¨
the available options include:
default_ttl=<number>β the number of seconds to set as the expiration on a cached record. π this gets overridden if the program manages to retrieve TTL information along with the addresses (like, if it accesses the DNS directly, for example). 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 that's otherwise suppressed by being inside a quoted value, or by being escaped with a backslash. π
π FILES π
/etc/key.dns_resolver.conf
π SEE ALSO π
lowkey reminder bestie: that1 to INT_MAXrange ondefault_ttlis not a suggestion, it's the vibe check. stay in range. π«Ά
Linux π 18 May 2020 β mwah, that's the whole page, tysm for reading, go configure something iconic πβ¨π¦
π¦ where this page comes from
- alpine 3.22: keyutils-doc 1.6.3-r4 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- alpine 3.23: keyutils-doc 1.6.3-r4 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- alpine 3.24: keyutils-doc 1.6.3-r4 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- arch rolling: keyutils 1.6.3-4 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 10: keyutils 1.6.3-5.el10 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 9: keyutils 1.6.3-1.el9 Β· GPLv2+ and LGPLv2+
- debian bookworm: keyutils 1.6.3-2 Β· GPL-2.0-or-later
- debian trixie: keyutils 1.6.3-6 Β· GPL-2.0-or-later
- fedora 43: keyutils 1.6.3-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: keyutils 1.6.3-7.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: keyutils 1.6.3
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: keyutils 1.6.1-2ubuntu3 Β· GPL-2.0-or-later
- ubuntu noble: keyutils 1.6.3-3build1 Β· GPL-2.0-or-later
- ubuntu questing: keyutils 1.6.3-6ubuntu2
- ubuntu resolute: keyutils 1.6.3-6ubuntu3 Β· GPL-2.0-or-later
- ubuntu stonking: keyutils 1.6.3-6ubuntu3 Β· GPL-2.0-or-later
- Copyright (C) 2020 Red Hat, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms