tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Host name and domain name the same?
@ 1998-11-06 20:36 Peter Chapin
  0 siblings, 0 replies; only message in thread
From: Peter Chapin @ 1998-11-06 20:36 UTC (permalink / raw)
  To: tru64-unix-managers


My original question is below. I received several responses. However,
the one that sums up the answer most consisely came from Ian Goodacre
<Ian.Goodacre@mbs.gov.on.ca>:

	DNS (or more particularly bind) does not allow CNAME records to be
	combined with other records, so you cannot have a CNAME record
	associated with the same DNS name as SOA, NS and A records.

	If you want your domain name to map to the address of your web server,
	then you can add an A record instead of the CNAME record, and simply
	set the address to the address of your web server.

Thanks! This was just what I needed to know.

I also received good responses from

	Tim Winders <twinders@SPC.cc.tx.us>
	Sheila Hollenbaugh <shollen@cs.wright.edu>
	Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
	Hans Ranke <Hans.Ranke@ei.tum.de>
	Michael A Crowley <mcrowley@MtHolyoke.edu>
	Steve VanDevender <stevev@hexadecimal.uoregon.edu>

Original message below.

-----> cut here <-----

Date: Fri, 06 Nov 1998 09:14:03 -0500 (EST)
From: Peter Chapin <pchapin@twilight.vtc.vsc.edu>
To: OSF Managers <alpha-osf-managers@ornl.gov>
Subject: Host name and domain name the same?

This is really a DNS/bind question, but I thought I would try this list
due to the excellent quality of the responses I have gotten from it in the
past. I am running named on a Digital Unix machine (v4.0B) using the name
server that came "in the box."

I would like to create a host name (or CNAME) that is the same as the name
of its domain. This is a request from the people who live in this domain.
They feel it is very important that their web server be accessible using
just the domain name (no www.stuff).

My domain database file looks like this (abbreviated):

wvtc.net. IN SOA twilight.vtc.vsc.edu pchapin.twilight.vtc.vsc.edu. (
  ... etc ...
)

... etc ...

wvtc.net. IN CNAME otherhost.vtc.vsc.edu.

When I load up named, I get the following error in syslog:

Nov 6 09:11:19 twilight named[23075]: wvtc.net has CNAME and other data (illegal)

However, it appears to *mostly* work. From some sites it does not work,
but from others it does. Is it possible to do what I'm trying to do? If
so, is this the way to do it?

*****************************************************************************
Peter
pchapin@twilight.vtc.vsc.edu            http://twilight.vtc.vsc.edu/~pchapin/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-06 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-06 20:36 SUMMARY: Host name and domain name the same? Peter Chapin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox