dns problems

serverin

Verified User
Joined
Sep 10, 2010
Messages
39
hello

my server has running fine in about a month, and becuase my payment was rejected by my bank for some reason, then my isp closed for the net, and i payed and everything was good to go, but then my server was makeing some trouble with my eth1 ( it had removed the ip, so i typed: ifconfig eth1 85.27.151.228) thats my server ip and it is static, so it doesn't change.
and I could visit my sites and so on.. but then i was told that ppl couldn't see the sites that i am hosting or my own sites..
and i thinks its something with my dns services..
in /etc/resolve.conf there is this:

nameserver 194.255.56.78
nameserver 83.136.89.6
nameserver 83.136.89.4


the two last one is my isp dns server..

i have tryed reloading the named services in 85.27.151.228:2222 admin panel.. but it didn't work..

so what is my next step ?

btw. i can't ping http://google.com or any other site for that matter.
when i try to ping 194.255.56.78
i get this:
ping 194.255.56.78
connect: Network is unreachable
 
Last edited:
Hello,

How do you access then your server? Is it a VPS or a dedicated server? If the last, I suppose, you added IP with wrong netmask. So try and restart networking. You did not mention your system type, so I hesitate to give you any direct commands to run in shell.
 
Hello,

How do you access then your server? Is it a VPS or a dedicated server? If the last, I suppose, you added IP with wrong netmask. So try and restart networking. You did not mention your system type, so I hesitate to give you any direct commands to run in shell.

by putty ( but my server is right under my table )..
its debian 5 but i am using it without graphics.

thanks i'll try that..
 
It didn't help, but is it possiable that i can choose another dns server as i please ? or do i have to use my isp's and the one that i don't what is for ?


edit:
i just tryed to remove that ip from resolve.conf that i don't know what is and why its there. and then restartet networking.. but it didn't help..
 
Last edited:
You can use google's reverse DNS:

nameserver 8.8.8.8
nameserver 8.8.4.4

or any other. But it should influence on your sites accessibility.

What if you do
Code:
traceroute -I 8.8.8.8
?
 
You can use google's reverse DNS:

nameserver 8.8.8.8
nameserver 8.8.4.4

or any other. But it should influence on your sites accessibility.

What if you do
Code:
traceroute -I 8.8.8.8
?


it says:
server:/home/nooter# traceroute -I 8.8.8.8

connect: Network is unreachable
 
Then use this:

Code:
/etc/init.d/networking restart

Please update us with results. You can use http://host-tracker.com/ to check, whether your sites are world accessible.

i used that command to restart it..

the site gave me this after i change the dns to 8.8.8.8 and 8.8.4.4

Scranton, PA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 HostPojok.Com
Fort Lee,NJ,US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 ProGoldHost.net
Seattle, WA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 OH Web Hosting
Minsk, Belarus Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 BelInfoNet Ltd.
Gunsenhausen, Germany Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 StableHost.com
Nuremberg, Germany Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 VPS-server.ru
Muenchen, Germany Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 PersianWhois
Donetsk, Ukraine Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 HostLife
Istanbul, Turkey Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 Hostmaestro
Gunzenhausen, Germany Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 aBajt
Scranton , PA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 ParsDade (of iran)
Kansas City, MO, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 JWN Media
Moscow, Russia Http error:Unix.Unix_error(_, "check_connect", "nooter.dk:80:Connection timed out") 20.99 sec 85.27.151.228 OpenHosting
Scranton, PA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 TheJetHost.com
Scranton, PA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 Lawyers Directory
Moscow, Russia Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 JustHost
Bloomsburg, PA, US Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.00 sec 85.27.151.228 indonetmedia
Roubaix, France Http error:Http_client.Bad_message("Unknown reason (e.g. unexpected eof, timeout)") 40.01 sec 85.27.151.228 HejNet
Nuremberg, Germany Http error:Unix.Unix_error(_, "check_connect", "nooter.dk:80:Connection timed out") 23.00 sec 85.27.151.228 OneTux.org
Kharkiv, Ukraine Http error:Unix.Unix_error(_, "check_connect", "nooter.dk:80:Connection timed out") 21.00 sec 85.27.151.228 Infium, Ltd.
East Lansing, MI, US Http error:Unix.Unix_error(_, "check_connect", "nooter.dk:80:Connection timed out") 21.00 sec 85.27.151.228 NIMHOST
Roubaix, France Http error:Unix.Unix_error(_, "check_connect", "nooter.dk:80:Connection timed out") 21.00 sec 85.27.151.228 XVM Hosting
 
Is apache running and listening all IPs? Are you using any firewall that blocks your ports?

my directadmin says:
Apache 2.2.17 Running
DirectAdmin 1.37.0 Running
Exim 4.73 Running
MySQL 5.1.54 Running
Named 9.6 Running
ProFTPd 1.3.3c Running
sshd Running
dovecot 2.0.9 Running
Php 5.2.17 Installed

no its directly connectet to the internet
 
Your IP is not reachable. ping 85.27.151.228 fails.

Will you post here or send me a PM with result for:

Code:
netstat -rn
ifconfig
 
OK, as I supposed, you've got completely wrong netmask. You need to fix netmask.

Will you show

Code:
cat /etc/network/interfaces

?
 
OK, as I supposed, you've got completely wrong netmask. You need to fix netmask.

Will you show

Code:
cat /etc/network/interfaces

?


server:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
 
Are you sure, that neither any router, nor switch is used in your home/office between server and your ISP?

If none, you might want to try and delete dhcplease file.

/var/lib/dhcp3/dhclient.leases
/var/run/dhclient.eth1.leases

and restart networking. If it fail, you should contact your ISP.
 
Are you sure, that neither any router, nor switch is used in your home/office between server and your ISP?

If none, you might want to try and delete dhcplease file.

/var/lib/dhcp3/dhclient.leases
/var/run/dhclient.eth1.leases

and restart networking. If it fail, you should contact your ISP.

i am getting: bash: /var/lib/dhcp3/dhclient.leases: Permission denied
when i try to delete it

what should i say to my isp ?
 
Code:
lsattr /var/lib/dhcp3/dhclient.leases
?

Say, that you get wrong netmask with DHCP offer and none gateway is set.
 
Code:
lsattr /var/lib/dhcp3/dhclient.leases
?

Say, that you get wrong netmask with DHCP offer and none gateway is set.

server:/home/nooter# lsattr /var/lib/dhcp3/dhclient.leases
------------------- /var/lib/dhcp3/dhclient.leases
server:/home/nooter# lsattr /var/lib/dhclient.eth1.leases
lsattr: No such file or directory while trying to stat /var/lib/dhclient.eth1.leases
server:/home/nooter#


okay i will try that.. its just that they don't have open in weekends.. :(
 
Of course, you can try and reboot your server, at least. Or try to re-fresh DHCP leases and re-send DHCP requests.

P.S. If your server can't get access in internet, how do you connect then?
 
Of course, you can try and reboot your server, at least. Or try to re-fresh DHCP leases and re-send DHCP requests.

P.S. If your server can't get access in internet, how do you connect then?

how do i re-fresh dhcp leases and re-send dhcp request ?

well i just typed in my server ip, and typed it in putty and i could login, like always..

but my brother talks something about that the reason for that i can see the websites from my own computer that is on a diff. ip is that its the same isp.. ?
i will try reboot now
 
Back
Top