[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
relay01.dev.domain.net  IN A
relay.dev.domain.net    IN A
relay.dev.domain.net    IN A

(and the corresponding   IN PTR  relay00.dev.domain.net.   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