domain name entries in a zone

Preston Wade Preston_Wade at hilton.com
Wed Jun 2 16:12:11 UTC 2004


Thanks for the reply.

The primary domain is actually being hosted by someone else.  So in this =
case this would not work.  However I am using this method for some other =
domains.

I think a lot of people have missed my point.  I wasn't looking for =
responses about what users expect.  I get that all the time.  I was =
really looking for more of a philosophical conversation around whether =
host type records should be allowed for domain names.  Personally, I =
believe host type resource records for foo.com should have to be made in =
the com domain.  Not that it would be possible, but given the hierarchy =
that is how I think it should work.

Thanks,
Preston

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of David Botham
Sent: Wednesday, June 02, 2004 5:47 AM
To: bind-users at isc.org
Subject: Re: domain name entries in a zone


bind-users-bounce at isc.org wrote on 05/28/2004 12:42:11 PM:
> Hello All,
>=20
> I would like to start some conversations around valid domain name =3D
> entries in a zone file.  It would seem to me that out of the more =
common=20
=3D
> records the only valid entries for a domain name would be a SOA =
record,=20
=3D
> some MX records and some NS records.  We have several customers that =
=3D
> would like an A record for the domain name.  So that when some enters =
=3D
> foo.com in the browser the user would actually get to the web site.  =
=3D
> Some customers would even like a CNAME record for the domain name, so =
=3D
> that they could have a primary domain and have other domains CNAME to =
=3D
> the primary domain.  I have tested this in BIND 9 and it doesn't seem =
to=20
=3D

By now you have read the other posts on why the CNAME idea is not going =
to=20
work.  However, a work around might be to use a generic zone db file for =

all the "like" domains.  This work around only works if all the domains =
in=20
question are hosted on the same name server.  Here is a sample generic=20
zone db file that might work (there is also a recipe for this in =
Cricket's=20
Cookbook):

;Generic db file for all domain names at web site on IP address=20
10.10.10.1.

$TTL 1d
@               IN      SOA ns1.foo.com.    postmaster.foo.com. (
                                2004050701      ;Serial as yyyymmddnn
                                10800           ;Refresh Interval
                                3600            ;Retry Interval
                                604800          ;Expire Timeout
                                3600)           ;Negetive Caching TTL

;Name Servers
@                               IN      NS     ns1.foo.com.
@                               IN      NS     ns2.foo.com.

;Mail Exchangers


;Other Zone Data
@                               IN      A       10.10.10.1
www                             IN      CNAME   @


hth,

Dave...


> like the CNAME record for a domain.  I have found very little about =
this=20
=3D
> topic on the web so I figured this list could provide me some =
direction.
>=20
> Thanks,
> Preston
>=20
>=20







More information about the bind-users mailing list