I use my astlinux as my router at home and run a webserver behind it...  the
DHCP server in the astlinux provides DHCP to my client machines inside... of
course the DHCP names the astlinux box as the DNS resolver - which is fine
as DNSMASQ is running...  however if I go to http://www.cadillackid.com from
the INSIDE network I end up trying to hit the astlinux box instead of my
webserver..  so I went to the rc.conf file and set up STATHOSTS... like
this:

STATHOSTS="cadillackid.com:172.16.1.3 www.cadillackid.com:172.16.1.3"

Then I rebooted.

Now inside the /etc/hosts file I have:

127.0.0.1  localhost
172.16.1.5  babyasterisk.astlinux babyasterisk
172.16.1.5  cadillackid.com
172.16.1.3      cadillackid.com
172.16.1.3      www.cadillackid.com

How do I get rid of reference to the 172.16.1.5 for cadillackid.com in my
/etc/hosts? Since it isdyna,mically created I cant just edit it..

-Christopher






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to