[Pdns-users] CNAME Question
ahu at ds9a.nl
Fri Jul 9 08:19:17 UTC 2004
On Fri, Jul 09, 2004 at 03:17:24AM -0500, Barry Bourdage wrote:
> I only have 1 IP address for the virtual domains, I then use host
> headers to distinguish the correct domain. How do I do that with only
> one A record.
That just works, Barry, try it. You keep having different host names, they
just point (via CNAME) to the same A record.
> -----Original Message-----
> From: bert hubert [mailto:ahu at ds9a.nl]
> Sent: Friday, July 09, 2004 2:49 AM
> To: Barry Bourdage
> Cc: pdns-users at mailman.powerdns.com
> Subject: Re: [Pdns-users] CNAME Question
> On Fri, Jul 09, 2004 at 01:48:31AM -0500, Barry Bourdage wrote:
> > Thank you Bert,
> > I had never checked into it, My Microsoft DNS server had been doing
> > this for about 4 years and never complained, it seemed to have worked
> > well, Unusuall for Microsoft not to follow a standard.
> Hehe. I bet they just ignored that record.
> > What recommendations do you have for my situation. I virtual host
> > most of the websites, and therefore cannot have more than 1 A record
> > for that IP address, that is why I was using the CNAME. I was trying
> > to make it so when the user went to xxxxxx.com, without the www, it
> > would resolve the correct web server.
> The trick is to do it the other way, give xxx.com an A record and CNAME
> www.xxx.com to it.
> http://www.PowerDNS.com Open source, database driven DNS Software
> http://lartc.org Linux Advanced Routing & Traffic Control
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
More information about the Pdns-users