*BSD News Article 70382


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!ux5.cso.uiuc.edu!igor
From: igor@students.uiuc.edu (Igor Vladim Roshchin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: multiple names
Date: 7 Jun 1996 03:51:42 GMT
Organization: University of Illinois at Urbana
Lines: 50
Message-ID: <4p890e$73r@vixen.cso.uiuc.edu>
References: <4p4clr$5lo@stratus.skypoint.net> <31B6378A.2F7D@www.play-hookey.com> <4p55a5$ag7@vixen.cso.uiuc.edu> <31B7AE54.3D59@www.play-hookey.com>
NNTP-Posting-Host: ux5.cso.uiuc.edu
X-Newsreader: TIN [version 1.2 PL2]

Ken Bigelow (kbigelow@www.play-hookey.com) wrote:
: Igor Vladim Roshchin wrote:
: > 
: > Ken Bigelow (kbigelow@www.play-hookey.com) wrote:
: > : 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
: > 
: > I don't think this is what was asked,
: > This allows to resolve them locally.
: > To have all the hostnames to be resolved from outside, one
: > needs to change DNS entry in the default name-server
: > (ask your provider, if you are not running it yourself)
: > 
: Perhaps true, although he *did* say "or hosts file." In any case, if you 
: want outside users to be able to recognize and access your site by any of 
: these names, you will indeed have to contact your ISP, who will have to 
: run your requested names through InterNIC to verify that they will be 
: unique. (This will cost some $$$ -- InterNIC charges $100 for two years' 
: registration, then $50 per year after that. Your ISP will be sure to pass 
: this along to you, with a surcharge!)

: Ken

Umm.. Since all the hostnames the original author wrote 
are withing the same domain artbbs.com, and it is registered
(more than an year ago), there is no need for extra registration.
All he needs is just make ISP to add entries in the DNS.

IgoR
aka StR@komkon.org