m0rpheu5

Well-Known Member
Jun 16, 2005
75
0
156
Brazil, Curitiba/PR
cPanel Access Level
Root Administrator
Hi guys, i´m having a big problem in two NEW servers, my server is online, but when i try to access the websites, sometimes they´re online, sometimes they´re offline, i don´t know what could be, the Server is a P4 3.4HT, using CentOS 4.x and cPanel, anybody know what could be??

Thanks
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
m0rpheu5 said:
Hi guys, i´m having a big problem in two NEW servers, my server is online, but when i try to access the websites, sometimes they´re online, sometimes they´re offline, i don´t know what could be, the Server is a P4 3.4HT, using CentOS 4.x and cPanel, anybody know what could be??
Can you ping the server when the Web sites are offline?
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
When it's down... ping the website (not the ip). If it's working the DNS is doing it's job.
If it's not working.... you found the problem.

If DNS is ok... then try restarting apache. If this help, great you found the problem. Try checking your logs to see if you have any other problems (dmesg could be a great start). Also check out your load.

If everything is ok, BIND restarted, APACHE restarted and still not working, try pinging the ip. If it's not working, try pinging from www.dnsstuff.com (do this site your friend).

Check your websites with www.dnsreport.com, it's a great tool... try resolving all those red marked problems.
 

m0rpheu5

Well-Known Member
Jun 16, 2005
75
0
156
Brazil, Curitiba/PR
cPanel Access Level
Root Administrator
designeru said:
When it's down... ping the website (not the ip). If it's working the DNS is doing it's job.
If it's not working.... you found the problem.

If DNS is ok... then try restarting apache. If this help, great you found the problem. Try checking your logs to see if you have any other problems (dmesg could be a great start). Also check out your load.

If everything is ok, BIND restarted, APACHE restarted and still not working, try pinging the ip. If it's not working, try pinging from www.dnsstuff.com (do this site your friend).

Check your websites with www.dnsreport.com, it's a great tool... try resolving all those red marked problems.

Men, i use the www.dnsreport.com and found a problem, the problem is Open DNS Servers!!

ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:

Server 72.232.49.109 reports that it will do recursive lookups. [test]
Server 72.232.49.110 reports that it will do recursive lookups. [test]


See this page for info on closing open DNS servers.

What i need to do to fix my problem =\
 

skyhorse

Active Member
Aug 18, 2004
25
0
151
fixing open dns servers

if you do a search for "open dns" in this forum you'll find loads of threads about this...
have a quick look at this tutorial: Fixing open DNS servers as well, it might help...
always remember to backup your named.conf before any changes!

sky
 

m0rpheu5

Well-Known Member
Jun 16, 2005
75
0
156
Brazil, Curitiba/PR
cPanel Access Level
Root Administrator
skyhorse said:
if you do a search for "open dns" in this forum you'll find loads of threads about this...
have a quick look at this tutorial: Fixing open DNS servers as well, it might help...
always remember to backup your named.conf before any changes!

sky

Thanks Skyhorse, but now, i use the dnsreport.com again, and the open dns is ok, but appear another error to me, the error is Single Point of Failure.

ERROR: Although you have at least 2 NS records, they both point to the same server, resulting in a single point of failure. You are required to have at least 2 nameservers per RFC 1035 section 2.2.

What is this??
Thanks
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
It means both name server IP's are located in the same place. It is not a big deal but you could use your DC name servers as well.