A Nagios blacklist check CRITICAL alert means that the monitoring check found your server's IP address on at least one DNS blocklist (DNSBL). Some blocklists are used by mail servers to decide whether to accept email. The alert can also be a false alarm caused by timeouts, so read the alert text before you act.
Nagios is third-party monitoring software. The person or team that runs Nagios sets it up and receives its alerts. Hostking does not send these alerts, so ask the Nagios administrator for the full output of the check.
What the alert means
The check is usually a DNS blocklist plugin. It takes the server's IP address and looks it up on a set of blocklists. A CRITICAL state means at least one lookup returned a listing.
A listing is found by a DNS lookup. The checker reverses the IP address (1.2.3.4 becomes 4.3.2.1) and adds the blocklist name, for example 4.3.2.1.zen.spamhaus.org. If the answer is an address in the 127.0.0.x range, the IP address is listed. The return code tells you why.
A CRITICAL result is not always a listing. The plugin can also report timeouts when it cannot reach a blocklist server. Check the output text. Timeouts mean the check could not complete, not that the IP is listed.
Listings matter because receiving mail servers use them. Before accepting an email, many mail servers check the sender's IP address against one or more blocklists. A listed IP address may cause mail to be rejected, marked as spam or discarded.
Common causes
- Spam, or a compromised account or script sending mail. A hacked WordPress site sending mail is one example.
- An open relay, where a mail server accepts mail from anyone and sends it on.
- Missing or incorrect reverse DNS (the record that maps an IP address back to a host name).
- Missing or incorrect mail server banner greetings.
- Missing email authentication, such as SPF, DKIM or DMARC.
How to check and fix a blacklist CRITICAL alert
- Note the time of the alert and the blocklist name shown in the output.
- Ask the Nagios administrator for the full plugin output.
- Check whether the output shows a listing or timeouts.
- Look up the IP address on the blocklist's own website or on an IP blacklist checker.
- Read the reason the blocklist gives for the listing.
- Fix the cause first. If you request removal before fixing it, the IP address is likely to be listed again.
- Check your email settings in your control panel. Follow the steps for cPanel or DirectAdmin below.
- Request removal from the blocklist. Follow its removal rules, as they differ.
- Wait for the next Nagios check run. The alert should clear once the listing is removed.
- If the listing continues or you need help, contact support using the steps in the Troubleshooting section.
cPanel
- Log in to cPanel.
- Go to Email, then Email Deliverability.
- Select Manage for the domain.
- Check the SPF status. Fix any issues shown.
- Check the DKIM status. If DKIM is not enabled, select Repair to set it up.
- Add a DMARC record if you do not have one. cPanel does not create it for you.
- Go to Domains, then Zone Editor, and add a TXT record named
_dmarc. - Use a starting value of
v=DMARC1; p=none;. Other policies includep=quarantine(moves mail to spam or junk) andp=reject(blocks the email).
DirectAdmin
- Log in to DirectAdmin.
- Check your email settings for SPF, DKIM and DMARC. Our steps for this panel are limited, so contact support if you cannot find the settings.
- Check the blocked IP address list. Our steps for this panel are limited, so contact support if you cannot find it.
Troubleshooting
The output shows timeouts, not a listing. The check could not reach a blocklist server. Ask the Nagios administrator to re-run the check later.
The IP address is listed. Fix the cause first, then request removal from the blocklist. Some lists remove addresses automatically after reports stop. Others need a manual request.
The listing returns after removal. The cause has not been fixed. Check your email settings and any scripts or accounts that send mail.
The site loads but the alert continues. The check may be set up wrongly. Ask the Nagios administrator to confirm the check settings.
When you contact support, send the time of the alert, the blocklist name and the exact alert text. Do not post your account details or passwords in public places.
If you are still stuck, contact support by live chat on the website or by opening a ticket from the client area at https://my.hostking.host.
