[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: domain name: internet vs. intra-net



On Mon, Mar 26, 2001 at 06:21:56AM -0800, Pann McCuaig wrote:
> On Mon, Mar 26, 2001 at 03:17, will trillich wrote:
> > let's say you have a static IP 12.34.56.78 and a public domain
> > name 'mydomain.org' attached to it.
> > 
> > now you add a private internal lan using 192.168.*.* so your
> > spouse and kids can surf for bomb recipes and porn...
> > 
> > what kind of naming setup do you use for the intRAnet? something
> > totally different from the public access point ("timmy.my.lan"
> > for example) or do you branch off the original public name
> > ("timmy.private.mydomain.org" for example)?
> 
> $ cat /etc/hosts
> 127.0.0.1       localhost
> 192.168.1.5     potato.ourmanpann.com   potato
> 192.168.1.1     firewall.ourmanpann.com firewall
> 192.168.1.2     rescue.ourmanpann.com   rescue
> 192.168.1.3     win95.ourmanpann.com    win95
> 192.168.1.4     openbsd.ourmanpann.com  openbsd
> 192.168.1.101   laptop.ourmanpann.com   laptop
> 
> pann@potato:~$ ssh firewall cat /etc/hosts
> # $Id: hosts,v 1.6 2001/03/12 03:02:33 root Exp root $
> 
> 127.0.0.1       localhost
> abc.def.142.58  blowfish.ourmanpann.com blowfish
> 192.168.1.1     firewall.ourmanpann.com firewall
> 192.168.1.2     rescue.ourmanpann.com   rescue
> 192.168.1.3     win95.ourmanpann.com    win95
> 192.168.1.4     openbsd.ourmanpann.com  openbsd
> 192.168.1.5     potato.ourmanpann.com   potato
> 192.168.1.101   laptop.ourmanpann.com   laptop
> 
> I use my domain. And abc.def.142.58 isn't "public" in the sense you
> mean, it's not in DNS as belonging to ourmanpann.com. My web site is
> hosted externally. .2-.5 are all the same machine, depending on what I
> select at boot time.

heavens, you're not using bind/named/dns? just /etc/hosts?
is that a better (less insecure?) idea for a tiny homelan?

and, just curious, how do you get several ip addresses hooked to
one interface?

-- 
http://newbieDoc.sourceforge.net/ -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!



Reply to: