*BSD News Article 70244


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!news.be.innet.net!bofh.dot!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!news.mathworks.com!news.kei.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: multiple names
Date: Wed, 05 Jun 1996 18:42:34 -0700
Organization: Erols Internet Services
Lines: 22
Message-ID: <31B6378A.2F7D@www.play-hookey.com>
References: <4p4clr$5lo@stratus.skypoint.net>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (Win16; I)

Patrick Sonnek wrote:
> 
> How would I configure me DNS (or hosts file) to point several different
> names all to the same location.
> 
> I am running named.  My IP address is 206.9.159.17  the names are
> parker.artbbs.com  artbbs.com   www.artbbs.com  ftp.artbbs.com  All of
> these need to resolve to the same IP address.  and I'm a little confused
> on how to do this.
> 
Put the names all on one line of /etc/hosts, after the IP address and 
separated by spaces. For example, internally I know my main box as odin. 
Thus, I have a line in /etc/hosts:

206.161.179.129  www.play-hookey.com odin odin.play-hookey.com

Any of the three names works fine internally, although only the first one 
is on any DNS.

Hope this helps!

Ken