Commit Graph

6 Commits

Author SHA1 Message Date
Rucke Teg
79dce33128 bind: Fix ipv6 detection logic
Bug was introduced in a7b770eec4370087a5ccd27887386dac9266214e and
results in bind always stating with the `-4` flag.

Signed-off-by: Rucke Teg <rucketeg@protonmail.com>
2023-03-01 19:01:49 +08:00
Philip Prindeville
9c6541422d bind: start up with -4 if not listening on ipv6 addresses
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-01-05 11:48:11 +08:00
Philip Prindeville
2a8055d2ba named: don't leak mktemp files on reload
Unless we're using "mktemp -u ..." (not recommended), it will
create the temp file as part of its safety checking.  Thus you
should only create the name (file) if you're going to use it,
and always remove it if you have created it.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-03-18 11:39:38 +00:00
Philip Prindeville
9ed5c9bab4 bind: created /var/run/named directory
Side-effect of dropping capabilities(7) with last commit is now we
need the `/var/run/named/` directory created for us at startup.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-02-01 19:21:40 +00:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00
coolsnowwolf
d17588da1a first commit 2018-10-18 16:56:47 +08:00