![]() ![]() |
Feb 20 2007, 07:15 AM
Post
#1
|
|
|
Newbie Group: Members Posts: 13 Joined: 4-April 04 Member No.: 40,287 |
While doing some routine checks at dnsreport for my domain I realized that it was reporting my nameservers, which are on my main machine (I plan on using one from theplanet as secondary soon) as Open and thus failing the Open DNS Server test.
It suggested a fix for bind: "Open named.conf with a text editor Use a line "recursion no;" in the "options" clause (or in the "view" clause) If you need to enable recursion for your local network, you can use a "allow-recursion { ADD_LIST_OF_YOUR_IP_RANGES_HERE; }" line in the "options" section. " I also found this thread in the Ensim forum: http://forums.theplanet.com/index.php?showtopic=85643 where it said that I should edit a file in /etc/bind/ . However - the folder /bind/ does not exist on my server. I use CPanel, not ensim. Is that the reason? Should I edit the named.conf file with the same lines like was mentioned in the other thread (xxx being the two ip's to my nameservers): options { directory "/var/named"; version "DNS"; allow-recursion { 127.0.0.1; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; }; listen-on { 127.0.0.1; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; }; } or should I only use options { recursion no; allow-recursion { 127.0.0.1; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; }; } I don't want to break anything so I just wanted to check with you guys. Thanks in advance. /Björn |
|
|
|
Feb 20 2007, 07:31 AM
Post
#2
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,237 Joined: 25-October 03 From: Clearwater, FL Member No.: 10,900 |
Either way works. Just be aware that although that warning is there, it's benign. It's not mission critical.
-------------------- Joseph Dobransky
Anti-spam Mail Gateways, Server Administration, CustomEnsimBackup, EnsimFixes.com AIM: CrankyCronos, Yahoo: skeeter1jd, ICQ: 21228143 |
|
|
|
Feb 21 2007, 03:21 AM
Post
#3
|
|
|
Newbie Group: Members Posts: 13 Joined: 4-April 04 Member No.: 40,287 |
Either way works. Just be aware that although that warning is there, it's benign. It's not mission critical. Thanks! i guessed it wasn't to critical since everything has worked fine until now but since it did fail me and suggest you close the DNS--server I thought I might as well get it done. And so far it seems to have not broken anything /B |
|
|
|
Feb 28 2007, 10:40 PM
Post
#4
|
|
|
Newbie Group: Members Posts: 8 Joined: 28-April 06 Member No.: 21,180 |
I closed my dns using the following between the option {} adding recursion no; it closed the dns however i wasn't able to use wget or ping until i took it out, i also added this allow-recursion { 127.0.0.1; xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; }; and still couldn't use ping or wget, am i missing something?
P.S. the xxx.xxx.xxx.xxx was replaced by my nameserver ips |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 10:24 AM |