Host name and domain name the same?

From: Peter Chapin <pchapin_at_twilight.vtc.vsc.edu>
Date: Fri, 06 Nov 1998 09:14:03 -0500 (EST)

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_at_twilight.vtc.vsc.edu http://twilight.vtc.vsc.edu/~pchapin/
Received on Fri Nov 06 1998 - 14:15:01 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT