[wplug] Webserver having trouble serving images (2)

Devin Lee Drew dld at pobox.com
Tue Jan 6 03:43:35 EST 2004


Russ Schneider wrote:

> On Sat, 3 Jan 2004, Joe wrote:
> 
<snip>
> Note: I have a router which DHCP's each machine an IP address.  Each 
> machine has a reserved IP.

Assuming that it's a cable/dsl router, first thing to try is to go to 
its configuration screen, and get the addresses that it is using for DNS.

At your workstations:

dig @ipaddress somename.org

where ipaddress is dns server's ip that you got from your router.

If that doesnt return an A record quickly then call your isp and ask 
them what dns server addresses you should use. Put these into your 
cable/dsl router configuration, save it, and powercycle/reboot everything.


More stuff for removing guess work:

edit /etc/host.conf (or equiv)

order hosts,bind

edit /etc/hosts (or equiv)

127.0.0.1     localhost
xxx.xxx.xxx.xxx     www.sugapabloi.com  alias.sugapablo.com
xxx.xxx.xxx.yyy     dell.sugapablo.com
xxx.xxx.xxx.zzz     sony.sugapablo.com
128.2.194.8     www.wplug.org

This will break when you get new ip addresses.

To solve the problem that Kuzman is describing put your isp's dns 
servers into /etc/resolv.conf and figure out how to keep your DHCP 
client from overwriting it. Alternately just pitch the router off a roof 
--or metaphorically pitch its DHCP server. Manual setup up of a small 
number of machines is simple and methinks may have saved you this hassle 
in the first place.

Devin




More information about the wplug mailing list