tethis IT
New Pleskian
- Server operating system version
- Debian 11.6
- Plesk version and microupdate number
- Obsidian 18.0.49
Hi there,
just want to share what I found out.
Brand new server with Debian 11 / Plesk Obsidian.
Everything seems to work fine, but /var/log/syslog is quickly filled up by messages like that:
Basically, every DNS query generates a whole bunch of those.
My server does not have an IPv6 address assigned, IPv6 is not used at all. Still, bind seems to query some nameservers via IPv6. And obviously fails.
You'll find some hints that the named service should be started with the -4 option to restrict it to IPv4. But where to add that parameter?
After some searching I found that Plesk modifies /etc/default/named or /etc/default/bind9 (i guess that depends on the Debian/Ubuntu version being used).
According to the last modification date of those files, Plesk only modify that file during installation, but doesn't touch it when Plesk is updated.
So for me the solution was to change /etc/default/named from
By the way, you can configure some bind options in Plesk under Tools & Settings / DNS Settings / server-wide settings.
Initially the following settings were present:
I assume that any change there should end up in /etc/named.conf or /etc/named-user-options.conf
But the first file does not contain any of those options and the second file doesn't even exist.
This looks like a bug to me, but for now I don't really care.
If required, I would create /etc/named-user-options.conf and put my options there.
Hope this helps
Christian Toller
tethis IT
just want to share what I found out.
Brand new server with Debian 11 / Plesk Obsidian.
Everything seems to work fine, but /var/log/syslog is quickly filled up by messages like that:
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:30b#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:837#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:7e2#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:937#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:408#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:506#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:121#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:21#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:209#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/A/IN': 2400:cb00:2049:1::a29f:606#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/AAAA/IN': 2400:cb00:2049:1::a29f:606#53
Feb 2 20:51:48 host8 named[395169]: network unreachable resolving 'damon.ns.cloudflare.com/AAAA/IN': 2400:cb00:2049:1::a29f:121#53
Basically, every DNS query generates a whole bunch of those.
My server does not have an IPv6 address assigned, IPv6 is not used at all. Still, bind seems to query some nameservers via IPv6. And obviously fails.
You'll find some hints that the named service should be started with the -4 option to restrict it to IPv4. But where to add that parameter?
After some searching I found that Plesk modifies /etc/default/named or /etc/default/bind9 (i guess that depends on the Debian/Ubuntu version being used).
According to the last modification date of those files, Plesk only modify that file during installation, but doesn't touch it when Plesk is updated.
So for me the solution was to change /etc/default/named from
toOPTIONS=" -t /var/named/run-root -c /etc/named.conf -u bind -n 2"
No more "network unreachable resolving..." messages were logged after that.OPTIONS=" -4 -t /var/named/run-root -c /etc/named.conf -u bind -n 2"
By the way, you can configure some bind options in Plesk under Tools & Settings / DNS Settings / server-wide settings.
Initially the following settings were present:
I modified the last line toversion "none";
auth-nxdomain no;
listen-on-v6 { all; };
But those options seem to be ignored.listen-on-v6 { none; };
I assume that any change there should end up in /etc/named.conf or /etc/named-user-options.conf
But the first file does not contain any of those options and the second file doesn't even exist.
This looks like a bug to me, but for now I don't really care.
If required, I would create /etc/named-user-options.conf and put my options there.
Hope this helps
Christian Toller
tethis IT