prefill: Address family not supported by protocol
I see this error in the logs. What could be causing it? (Machine has both IPv4 and IPv6 Internet access.)
Error
kresd [prefill] cannot download new zone (/usr/lib/knot-resolver/kres_modules/prefill.lua:85: [prefill] fetch of `https://www.internic.net/domain/root.zone` failed: HTTP client library error: Address family not supported by protocol (97)), will retry root zone download in 09 minutes 55 seconds
Platform
- Ubuntu 18.04.4 LTS (GNU/Linux 5.4.10-x86_64-linode132 x86_64)
Status
$ systemctl status kresd@1.service
● kresd@1.service - Knot Resolver daemon
Loaded: loaded (/lib/systemd/system/kresd@.service; indirect; vendor preset: enabled)
Active: active (running) since Thu 2020-05-14 02:42:01 UTC; 1 weeks 4 days ago
Docs: man:kresd.systemd(7)
man:kresd(8)
Main PID: 944 (kresd)
Tasks: 1 (limit: 1149)
CGroup: /system.slice/system-kresd.slice/kresd@1.service
└─944 /usr/sbin/kresd -c /usr/lib/knot-resolver/distro-preconfig.lua -c /etc/knot-resolver/kresd.conf -n
Package
- Version:
5.1.0
- Repo:
http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_18.04/ /
- Name:
home:CZ-NIC:knot-resolver-latest
Config
-- Cache
-- Path: /var/cache/knot-resolver
cache.size = 100*MB
-- Network
net.listen('127.0.0.1', 53, { kind = 'dns' })
net.listen('::1', 53, { kind = 'dns', freebind = true })
-- DoT for CA connections
modules.load('experimental_dot_auth')
-- Cache roots
modules.load('prefill')
prefill.config({
['.'] = {
url = 'https://www.internic.net/domain/root.zone',
ca_file = '/etc/ssl/certs/ca-certificates.crt', -- Ubuntu specific
interval = 86400 -- seconds
}
})
-- Keep frequent domains fresh
modules.load('predict')
predict.config({
window = 15, -- 15 minutes sampling window
period = 6*(60/15) -- track last 6 hours
})