DNS Records
Kevin Darcy
kcd at daimlerchrysler.com
Fri Apr 6 20:21:25 UTC 2001
Adam Lang wrote:
> You're correct about the MX and bush. people will be sending mail to
> @rutgersinsurance.com and not to @mail.rutgersinsurance.com.
>
> So does that mean then
>
> bush A 38.138.71.194
> www cname bush
> mail cname bush
>
> is ok?
Yeah, that's fine. And you could define the MX as "@ mx 0 bush" or with
initial whitespace as the owner name (i.e " mx 0 bush"), if all of the
entries between the MX entry and the last "@" owner name in the zone file had
initial whitespace as their owner name (this probably means you'd want to put
that MX record up near the top of the zone file). In other words:
$TTL xxx
@ soa (etc.)
ns (etc.)
ns (etc.)
mx 0 bush
bush a 38.138.71.194
www cname bush
mail cname bush
would work fine.
- Kevin
> Adam Lang
> Systems Engineer
> Rutgers Casualty Insurance Company
> http://www.rutgersinsurance.com
> ----- Original Message -----
> From: "Kevin Darcy" <kcd at daimlerchrysler.com>
> To: <bind-users at isc.org>
> Sent: Friday, April 06, 2001 3:18 PM
> Subject: Re: DNS Records
>
> >
> > Adam Lang wrote:
> >
> > > I'm sort of iffy on what is and isn't good practice.
> > >
> > > I have a server that houses email and web. Say the hostname is bush.
> Is it
> > > ok to do something like this:
> > >
> > > bush A 38.138.71.194
> > > www cname bush
> > > mail cname bush
> > > mx bush
> > >
> > > That way, if I ever separate the servers, I just change what the cname
> > > points to? Or should I have individual A records for each of them?
> >
> > You have broken the "CNAME and other data" rule. "mail" owns a CNAME
> record,
> > therefore it cannot own a record of any other type.
> >
> > What exactly were you trying to accomplish, anyway, by making "mail"
> *both* a
> > CNAME for "bush" *and* an MX record with "bush" as its target?
> >
> > Of course, the syntax for the MX record is hosed also. You forgot the
> > preference-value field.
> >
> >
> > - Kevin
> >
> >
> >
More information about the bind-users
mailing list