• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Strange errors DNS related.

G

Galactic Zero

Guest
Ok, yesterday I did a dnsreport.com check of my site, found that it is flagging my DNS as being open. so to correct that I added to my /etc/named.conf the following lines:

options {
directory "/var";
auth-nxdomain no;
pid-file "/var/run/named/named.pid";
recursion no;
allow-recursion { 127.0.0.1; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; };



Each xxx.xxx.xxx.xxx block represents an ip address on my server, the only ip's I didn't put in there were for the main server and the 2 nameservers on this box.

Do I need to add those IP's or?

Here are some of the errors I'm getting:

[root@gz etc]# yum update clamd
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
retrygrab() failed for:
http://3es.atomicrocketturtle.com/at...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://3es.atomicrocketturtle.com/at...rs/header.info
[Errno 4] IOError: <urlopen error >
[root@gz etc]#

[root@gz etc]# freshclam
ClamAV update process started at Tue Jul 25 10:33:23 2006
ERROR: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
ERROR: Can't get information about db.local.clamav.net: No IP address
ERROR: No servers could be reached. Giving up
Trying again in 5 secs...

More information:
I added the IP's for the main box and the nameservers, dnsreport checked out fine, still have the errors above, removed those entries and all works fine, so I guess I need to find a way to close the open DNS and still allow the above to work.
 
remove the recursion no line

remove the recursion no line.

you only need to have one of those lines or the other regarding recursion.

and it appears you do want some IPs to do recursive lookups judging from the 2nd line, so it seems you just need to remove recursion no.
 
Thanks, got it sorted out a while back and all is working well so far.
 
Back
Top