]> go.fuhry.dev Git - runtime.git/commit
dns_cache: bypass systemd-resolved
authorDan Fuhry <dan@fuhry.com>
Fri, 26 Jul 2024 16:37:07 +0000 (12:37 -0400)
committerDan Fuhry <dan@fuhry.com>
Fri, 26 Jul 2024 16:37:07 +0000 (12:37 -0400)
commite899cf9bedbc04b940eb4f084733a074cad1502e
tree8fa2e1b26db3ad96fe55b29bfde3bca175e3d25a
parent897b260fe96a57939b4c0b5ac3d853e33c6b762e
dns_cache: bypass systemd-resolved

On Linux systems, the stub resolv.conf points at systemd-resolved which uses the hostsfile. We don't want this - we need the system's addresses as described by the network's DNS server.
mtls/provider_file.go
net/dns/dns_cache.go
utils/fsutil/file.go [new file with mode: 0644]