Seems like you’re missing an entry of your actual hostname.
What does “hostname -f” give you?
Seems like that should be in your /etc/hosts file also. My servers are set up differently, some have
and some have
i.e. the public IP address.
You might try adding one of these.
Hestia isn’t yet IPv6 optimised, so you can probably ignore the IPv6 entries (the ones with :s in them).
Were you asking what should be in your hosts file for any particular reason? Does your DNS resolution appear to be broken? Are there any symptoms? Otherwise, the hosts file above looks OK, except you probably don’t need the line
But leaving it in probably wouldn’t really hurt
So just to be clear, your server will always look in /etc/hosts first, before trying any DNS lookups, so it works as a kind of override to public DNS. Keep that in mind when editing it.
“We have received a notification from an FBL service that a message you have sent has been marked as spam. We are passing this information on to you so you can investigate further. If you think your mail is legitimate, please consider removing the recipient of this message of future campaigns.”
Investigating I found out that rDNS is not configured, and that it had to be fixed in the hosts file.
You tell me that the hosts file, which I deleted the ip6, is the one that should remain, right?
You cannot configure rDNS in the hosts file. It is set by PTR records in the ISP DNS. It can only be set by the party who has been allocated the IP network. This is usually the network operator. Sometimes they offer a way to easily update that record via a web form. You may need to send them an email or contact their support via other means of your provider doesn’t offer another mechanism.