DNS: how to set up 192.168.*.* of public IP addys?
Pann McCuaig replied:
> will trillich wrote:
> > 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
Okay. Not using bind/named/dns proper, just /etc/hosts, i see.
But if you have another machine, say, "laptop" in your config, do
you have to set the laptop up extra, to use the localnet host
names? Or can you "ping firewall" from the laptop and have it
translate that into 192.168.1.1 ?
I've been using
*.serensoft.com
For all externally-visible stuff, and
*.lan
For intra- localnet stuff, which i'd like to revise. I'd like to
be on "deb2" at 192.168.1.2 and do "ping mac2" and have it know
to go to 192.168.1.102 ...
--
That is, for the internet at large (my connection is 24x7 and i
have the serensoft.com domain name attached to it):
serensoft.com == 208.33.90.85
www.serensoft.com == 208.33.90.85
ftp.serensoft.com == 208.33.90.85
And for localnet nodes (and ONLY for localnet nodes),
deb1.serensoft.com == deb1 == 192.168.1.1
deb2.serensoft.com == deb2 == 192.168.1.2
mac1.serensoft.com == mac1 == 192.168.1.100
mac2.serensoft.com == mac2 == 192.168.1.101
mac3.serensoft.com == mac3 == 192.168.1.102
win1.serensoft.com == win1 == 192.168.1.200
And within the localnet, i'd like for "mac2" to be able to ping
(i.e. resolve) "win1", and vice-versa, ad nauseum, using
192.168.1.1 as dns/resolver...
How would a potato user (such as i) set that up?
--
americans should never read anything so subversive as what's at
http://www.salon.com/people/col/pagl/2001/03/21/spring/index1.html
will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!
Reply to: