[Pdns-users] Question about Multiple CNAMES

Lorens Kockum lorens-pdns-3987 at tagged.lorens.org
Fri Oct 8 20:21:08 UTC 2004


On Fri, Oct 08, 2004 at 12:31:03PM -0700, Clint Martin wrote:
> Hello,
> 
> 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
1.0.0.10.in-addr.arpa   IN PTR  relay00.dev.domain.net.
2.0.0.10.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 mailing list