[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CNAME and powerdns

Dear Martin,

Am Samstag, den 13.03.2010, 19:56 +0100 schrieb Martin Schulte:
> hello,
> i'm trying to add a CNAME for tjener (the new name should be ntinstall , 
> which should be refer to tjener, for bind it was 'ntinstall CNAME tjener')
> After reading something about powerdns i add the following to the 
> /etc/ldap/dns_skole.ldif
> ---------------
> dn: dc=ntinstall,dc=intern,ou=hosts,dc=skole,dc=skolelinux,dc=no
> objectclass: top
> objectclass: dnsdomain
> objectclass: domainrelatedobject
> dc: ntinstall
> cnamerecord: tjener.intern
> associateddomain: ntinstall.intern
> ---------------
> but it doesn't work. I don't know much about ldap and DNS, maybe there 
> ist someone how can give me a short advise, how to add a CNAME in powerdns.
But this data would only read at install time! 

You must add your entries to the ldap data base. 
Have a look at ldapadd .... 
Also you can compare your solution with www ... in the ldap data base
because this is a cname for tjener. 
Have a look at ldapsearch. 

bye Andreas

Reply to: