Mark12345
Basic Pleskian
- Server operating system version
- Ubuntu 22.04.1 LTS
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.48
When looking at config check in the Plesk Email Security plugin it says DNS caching is disabled and there is a tutorial that says that nameserver 127.0.0.1 should be added to etc/resolv.conf. But Ubuntu is using Bind9 and adding this apparently slows down http API calls.
But adding this to the top of /etc/resolvconf/resolv.conf.d/head does clear the warning. So maybe it is simply looking for a response # host -tTXT 2.0.0.127.multi.uribl.com which seems to look for 127.0.0.1 and if it doesn't see one it refuses the query.
Everything seems to be working fine when /etc/resolvconf/resolv.conf.d/head has the following. There is just that warning about DNS cache disabled. Is there anything that should be added to this specific to bind9 that would enable cache?
But adding this to the top of /etc/resolvconf/resolv.conf.d/head does clear the warning. So maybe it is simply looking for a response # host -tTXT 2.0.0.127.multi.uribl.com which seems to look for 127.0.0.1 and if it doesn't see one it refuses the query.
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
search domainname.com
nameserver 127.0.0.1
nameserver 8.8.4.4
nameserver 8.8.8.8
Everything seems to be working fine when /etc/resolvconf/resolv.conf.d/head has the following. There is just that warning about DNS cache disabled. Is there anything that should be added to this specific to bind9 that would enable cache?
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
search domainname.com
nameserver 8.8.4.4
nameserver 8.8.8.8