[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 03:17, will trillich wrote:
> at the risk of exposing another 'religious' issue--
> 
> 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)?
> 
> ...and explain your rationale. thanks!

$ 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.

Haven't given this too much thought, it's just that one domain is plenty
to keep track of for my tiny mind.

Luck,
Pann
-- 
geek by nature, Linux by choice                     L I N U X       .~.
                                                    The Choice      /V\
http://www.ourmanpann.com/linux/                     of a GNU      /( )\
                                                    Generation     ^^-^^



Reply to: