This is a discussion on slow load times over LAN using domain versus IP address within the Linux Networking forums, part of the Linux Forums category; My setup: Mac OS X and Windows 2000/98 machines on LAN with RH9 Linux server running Apache, BIND, Sendmail. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
aaronlyon wrote:
> 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. |
|
|||
|
On 26 Jan 2004 17:55:19 -0800, aaronlyon
<aaron@monkeymatic.com> wrote: > 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!] |