[Pdns-users] Question about Multiple CNAMES
clintm at laplink.com
Fri Oct 8 20:39:34 UTC 2004
I can accomplish my goals this way.. This is how I have done it in the
past.. I don't mind having to change my setup if this one just won't
work, or is fundamentally flawed. .. This environment, as you may be
able to tell, is a development environment,.. I was trying to keep the
references to specific IP addresses limited to a bare few number of
records.. This would allow me to modify the domain far easier and
simpler than having many, many A records..
This one small example is not the only place where I reference these
particular machines/IP's in this fashion..
So, baring the "right way" to do this, and personal taste.. Is PDNS's
response to the current configuration correct or "close but not quite" ?
LapLink Software Inc.
From: Lorens Kockum [mailto:lk-sender-02 at lorens.com] On Behalf Of Lorens
Sent: Friday, October 08, 2004 1:21 PM
To: Clint Martin
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Question about Multiple CNAMES
On Fri, Oct 08, 2004 at 12:31:03PM -0700, Clint Martin wrote:
> I have PDNS 9.16 with the gmysql backend configured to serve several
> domains. I am very impressed with PDNS btw..
> One of the requirements for some of the services we have is the
> ability to point one DNS name at multiple machines.
> relay.dev.domain.net CNAME relay00.dev.domain.net
> relay.dev.domain.net CNAME relay01.dev.domain.net
I do not think it is valid to have several CNAMEs. I may be wrong, but
I've never seen it tried.
The classical way is to have
relay00.dev.domain.net IN A 10.0.0.1
relay01.dev.domain.net IN A 10.0.0.2
relay.dev.domain.net IN A 10.0.0.1
relay.dev.domain.net IN A 10.0.0.2
(and the corresponding
18.104.22.168.in-addr.arpa IN PTR relay00.dev.domain.net.
22.214.171.124.in-addr.arpa IN PTR relay01.dev.domain.net.
You will not have any problems with that.
#include <std_disclaim.h> Lorens Kockum
More information about the Pdns-users