Web Hosting Talk







View Full Version : wierd DNS problem.. cant navigat to server page, but can send email..


zoom
11-23-2002, 03:15 AM
hey i got this really wierd problem after i changed my IP of my Linux server yesterday...

I cant use a computer that is on the same network (a windows xp machine) and open up IE and type in my server address (IP or Domain).. the browser gives me a standard Cannot find server or DNS Error

the wierd thing is, that if I send an email to the domain, it gets it no problem and forwards it to a seperate email account that i can go and get from the same windows xp machine.

As well, I ask other people in different states if they can goto the site, and they say yes no problem.

Any Ideas? I have a feeling its really something stupid, I just cant figure it out. Thanks in advance :)

yellow_belly
11-23-2002, 05:31 AM
Hi - it sounds like just a DNS propagation issue where your ISP has a cached entry for your domain, just sit tight and wait about 48hours for the entry to time out.

HTH

YB

PS I assume that you can get to your domain with the IP address (if it has a dedicated IP)

achost_ca
11-23-2002, 05:32 AM
Are you using some form of caching/proxy server?

Or have you rebooted your computer since the IP was changed? If you haven't, try going start->run, type cmd, then type 'ipconfig -flushdns' to remove all the dns info that your system has cached. if that doesn't work, reboot.

There have been two cases where I've seen this happen: 2k/XP caching the dns, or a novell borderbound proxy being itself.

zoom
11-23-2002, 05:37 AM
well, the server is on a static IP and I cannot access it via IP.

As well, I did reboot, did the flushdns in ipconfig, but it doesn't work.. its really really strange..

As for waiting 48 hours, Since both the sytems are running off the same ISP, and since the emails to the domain are getting to the server, I imagine the ISP would be updated or it wouldnt work right?

zoom
11-23-2002, 05:39 AM
oh, the URL is www.pagegods.com if that helps, the IP is 147.something. I believe.

yellow_belly
11-23-2002, 09:17 AM
Originally posted by zoom
well, the server is on a static IP and I cannot access it via IP.My DNS says the IP = 142.179.67.159 - is that correct, if so I can access the site from the IP - so if you cant then its not a dns problem.

Originally posted by zoom
As for waiting 48 hours, Since both the sytems are running off the same ISP, and since the emails to the domain are getting to the server, I imagine the ISP would be updated or it wouldnt work right? Not necessarily - we do not know how the original email was set up therefore cant tell if it is using that or not ????

HTH

YB

zoom
11-23-2002, 01:41 PM
yes thats the right IP..... the fact that everyone else can see the site but i cant would point me to blieve it it something with my computer, but problem is there are 4 systems on the network and none of them can access the site...

sasha
11-23-2002, 02:03 PM
So everyone but the systems on your network can access the site? Are all systems on your network oin the same subnet, or more specific, the IP that you changed, is it still on the same subnet as the rest of the systems?

zoom
11-23-2002, 02:26 PM
well I have two static IP's from my ISP, the server is on one IP, and all the other systems go through a router on the other IP (I tried taking off the router and directly connecting a system, but it still had the same problem)

I am not to sure what a subnet is, but Both IPs changed at the same time, so at the same time the IP was assigned to the server there was another one assigned to the router.

sasha
11-23-2002, 02:37 PM
try doing tracerurte from one of the systems on you internal network to the system which ip changed. Then you might see how are your windows machines trying to access linux box.

What is your router? Can you telnet to it ? Can you check if it can access linux box directly.

zoom
11-23-2002, 02:43 PM
k, i did a tracert to the domain of the server, from a machine behind the router. It succesfully hit the router then named the server IP on the fist step, but after that it times out over and over and over again. I must say that I dont think its the router problem, because if i go outside the router the same thing happens....

I have a SMC router, I can loginto it and it gives me a whack of options, i am not sure how to go in and try to access the linux boc directly though.

Sasha, I must take a moment to thank you for you taking time to help me here. Thank you!

sasha
11-23-2002, 03:32 PM
Originally posted by zoom
Sasha, I must take a moment to thank you for you taking time to help me here. Thank you!

Do not. As I do not think I helped you at all. If I understand this correctly problem is in the router as the only machines that can not reach your server by its IP are the ones behind this router. I never put my hands on the SMC router so I can not help you with this unless you want to catch me later today on AIM or something so we can both learn something about this router.

zoom
11-23-2002, 03:50 PM
no, sorry to not be clear, I took the router totally out of the network and directly hooked a system up to the internet, and it wouldnt work :)

chet
11-23-2002, 04:43 PM
Your name servers are not responding.

http://www.dnsreport.com/tools/dnsreport.ch?domain=pagegods.com

Chet

zoom
11-23-2002, 04:59 PM
wow chet... thats cool! Thanks! I am not to sure what that means though... I actually use HN.ORG as my name servers, something there is screwed? should I delete the record then enter it again?

yellow_belly
11-23-2002, 05:53 PM
Originally posted by chet
Your name servers are not responding.

http://www.dnsreport.com/tools/dnsreport.ch?domain=pagegods.com

Chet Hi - when I looked at it the name servers were working because that is how I got the IP address, anyway if they are not working now IMO it is 'another' problem as zoom still cannot access the site using the IP address.

YB

zoom
11-23-2002, 05:55 PM
yes, i know I think HN is a slow server because half the time i do the dnsreport it worked fine, but sometimes it didnt.

Anyways, I wish Bind was easier to use or I would run my own DNS server, but when i look at Bind it looks like a nightmare. At hn it so simple, on a side note is there a easier program then bind?

zoom
11-23-2002, 07:49 PM
ok, i just went to http://visualroute.visualware.com to do a visual traceroute, and when i enter the IP of the server, 142.179.67.159 it goes to ottawa canada (I am in Vancouver BC)
jesus what the hell?


__________________

achost_ca
11-23-2002, 11:07 PM
that is because you use telus, but the IP range is one telus bought from a company that used to be in ottawa and it hasn't been updated. the same applied to my old connection when I used telus (and I am outside calgary)

zoom
11-23-2002, 11:16 PM
lol cool. that answers that :)

now if i could only figure out this ping problem.

PHBPendragon
11-24-2002, 12:43 AM
did you check the arp tables?
arp -a
MAC addy ->IP addy

Check it on everything.......... again.

zoom
11-24-2002, 01:08 AM
Mac daddy? huh? never heard of it so that very well could be the problem.. sorry to bug you but could you explain what that does, and i assume its to be done to the linux machine right?

zoom
11-24-2002, 01:11 AM
when i do arp -a it shows blah blah.telus.net 142.something .. and that something is very close to the IP of the server, but its not.. should it be the same?

PHBPendragon
11-24-2002, 01:22 AM
MAC address = physical address of the NIC. Each and every one has it's own -
do an ifconfig -a and it'll look something like this
ether 00:07:95:e5:c7:9a
arp tables keep track of the IP-MAC mapping.

Try deleting the arp tables aon both/all. Could be a router or switch in there hosing things up. We see it a lot when we move machines to new networks and just vlan the switch

No, I won't tell you how because that cripples you, and won't know what happens if you screw it up. Read the man page on arp through to find the delete args and check out the rest.

(include std.disclaimer)

zoom
11-24-2002, 01:59 AM
k.. i know what MAC is but arp I never have.. so when I ran ARP it gave a IP addess that didnt match the IP of the server.. is that right?

I guess deleting ARP tables would be best, where are they?

Oh and thanks PHB for your help here BTW.. :D :D :D

zoom
11-24-2002, 02:34 AM
I typed the MAC addy line and it didnt work... it said MAC was unknown command?

zoom
11-24-2002, 03:24 PM
here is some more info if it helps:

Windows XP box:

Ethernet adapter Hard Wired 100mps:

Connection-specific DNS Suffix . : bc.hsia.telus.net
IP Address. . . . . . . . . . . . : 64.180.111.82
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 64.180.104.254


Linux Box (mandrake 9.0):

inet: 142.179.67.159
bcast: 142.179.67.255
mask: 255.255.254.0


I took the hardware router off the network to elimante that possibility, both mahcines are directly connected to the Modem via a standard switch, and both are reciving the Static IP'S given from my ISP.

I am not sure what changed when the IPS changed, but something happend (I did not hardcode or change any settings on either machine, I just released/renewd my windows machine and rebooted the linux server and they both attatched to the given IPS automatically.

sasha
11-24-2002, 03:55 PM
hmm, maybe adding static rotes could help here.

on the Linux box
route add -host 64.180.111.82 netmask 255.255.255.255 dev eth0

There is route command in the windows but I am not sure of the syntax. Maybwe something like this
route add -host 142.179.67.159 netmask 255.255.255.255 ....

Do not take this too seriosly.

zoom
11-24-2002, 04:00 PM
thanks sasha.. can i ask what this does? and the netmasks are supposed to be the same?

zoom
11-24-2002, 04:29 PM
well that didnt work :(