[Web4lib] Using DNS to assign a name to a host on a different domain

Thomas Krichel krichel at openlib.org
Tue Apr 18 08:51:45 EDT 2006


  John Fitzgibbon writes

> Is it possible to use DNS to assign a name to a host on a different
> domain? For example, I control the domain galwaylibrary.ie. The domain
> clarelibrary.ie is controlled by someone else. Is it possible for me to
> point clare.galwaylibrary.ie at the IP address of www.clarelibrary.ie
> <http://www.clarelibrary.ie/> ?

  Sure. There are two ways to do it. 

  An "A" record associates your name clare.galwaylibrary.ie
  with the IP address of  www.clarelibrary.ie, which is
  195.7.56.195. In a BIND configuration file

clare.galwaylibrary.ie. IN      A       195.7.56.195

  You can also associate clare.galwaylibrary.ie with
  the name www.clarelibrary.ie. This is known as a "CNAME". 
  In a BIND configuration file

clare.galwaylibrary.ie.	IN	CNANE	www.clarelibrary.ie.

  Note the position of the dots in the two example lines.

  Cheers,

  Thomas Krichel                             mailto:krichel at openlib.org
                                        http://openlib.org/home/krichel
                                    RePEc:per:1965-06-05:thomas_krichel
                                                skype id: thomaskrichel


More information about the Web4lib mailing list