slow load times over LAN using domain versus IP address

slow load times over LAN using domain versus IP address

Post by aaronly » Wed, 28 Jan 2004 10:55:19



My setup: Mac OS X and Windows 2000/98 machines on LAN with RH9 Linux
server running Apache, BIND, Sendmail.

If I browse http://192.168.0.9 (the IP of the server), everything
works well, very snappy response, all is good. However, if I browse
http://monkeymatic.com, which is the same server and web site, the
HTML file loads quickly, but all the graphics take 60 to 90 seconds to
load! If I use any computer OUTSIDE my LAN, it works fine. Go ahead,
try http://monkeymatic.com (I'm on DSL).

How can I diagnose this problem?

-aaron

 
 
 

slow load times over LAN using domain versus IP address

Post by Jeroen Geilma » Wed, 28 Jan 2004 16:00:25



> My setup: Mac OS X and Windows 2000/98 machines on LAN with RH9 Linux
> server running Apache, BIND, Sendmail.

> If I browse http://192.168.0.9 (the IP of the server), everything
> works well, very snappy response, all is good. However, if I browse
> http://monkeymatic.com, which is the same server and web site, the
> HTML file loads quickly, but all the graphics take 60 to 90 seconds to
> load! If I use any computer OUTSIDE my LAN, it works fine. Go ahead,
> try http://monkeymatic.com (I'm on DSL).

> How can I diagnose this problem?

By examining the difference between the DNS resolution you run on your
LAN and the way your domain is resolved on the Internet.

Hint: the solution will involve setting up BIND in moderately smart
ways, to do different things in different circumstances.

You probably have the 'monkeymatic" thing resolved to the public address
on your LAN as well - which causes the delays.

If you have a recent enough version of BIND (8.x or 9.x) then look into
the "views" directive - this allows you to do split DNS on one server,
which is what you probably want.

--
Jeroen Geilman

Analog bits courtesy of adaptr.

 
 
 

slow load times over LAN using domain versus IP address

Post by Bill Marcu » Mon, 01 Mar 2004 08:17:59


On 26 Jan 2004 17:55:19 -0800, aaronlyon

> My setup: Mac OS X and Windows 2000/98 machines on LAN with RH9 Linux
> server running Apache, BIND, Sendmail.

> If I browse http://192.168.0.9 (the IP of the server), everything
> works well, very snappy response, all is good. However, if I browse
> http://monkeymatic.com, which is the same server and web site, the
> HTML file loads quickly, but all the graphics take 60 to 90 seconds to
> load! If I use any computer OUTSIDE my LAN, it works fine. Go ahead,
> try http://monkeymatic.com (I'm on DSL).

> How can I diagnose this problem?

Is there really a problem, or was this a ploy to advertise your site? :)
Assuming the former, you might try "traceroute monkeymatic.com" from
inside the LAN.

--
Incrsease your earoning poswer and gaerner profwessional resspect.
Get the Un1iversity Dewgree you have already earned.
 [from the prestigious, non-accredited University of Spam!]

 
 
 

1. Can't Reach My Web Server From Within My LAN Using External IP Address

I have a LAN with a W2K Server PDC, and my webserver is running on the PDC.
There is a Linux firewall/gateway. My IDP gave me a single IP address.

Since I have only 1 IP address, which reaches the Linux firewall, I
obviously use masquerading (via the UNIX "ipmasqadm portfw" command) to pass
all incoming traffic destined for port 80 to the W2K server.

When I am located outside of my LAN, I can use my real host name
(www.mydomain.com) or its external IP address to access the site. However,
from within my LAN, IE5 tells me that the site is unreachable. If I use the
W2K Server's internal, NATted address, I have no problem.

From within the LAN, I can reach services running on the Linux firewall
itself with no problem.

Is this a known limitation of masquerading/NATting, or have I mucked
something up?

TIA,

Meron Lavie

NOTE: THERE IS NO DIGIT IN MY REAL EMAIL ADDRESS DOMAIN NAME (ANTI-SPAM)

2. SparcPrinter problems

3. how to connect a LAN to Internet using only one IP address

4. system lockup issues w/ 2.4.19

5. how to setup multiple domains using the same ip address

6. Cannot mount a hard disk under Linux???

7. Mail server for multiple domain using a single IP address

8. RSA auth...........A Bull's problem

9. checking if a MAC address exist in a LAN and which is the attached IP address

10. Domain address switches to IP address in browser

11. Can I have a domain with private IP address and a public class C address?

12. using mac address instead of an IP address of hostname

13. IP-Forwarding PPP-LAN but not LAN-LAN