Martin Schulte wrote:
Thanks,
now i add
---------------
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
---------------
to the /etc/ldap/dns:skole.ldif . After this i run
---------------
ldapadd -xZWD 'cn=admin,ou=People,dc=skole,dc=skolelinux,dc=no' -f
'/etc/ldap/dns_skole.ldif'
---------------
i get the message:
---------------
adding new entry "ou=hosts,dc=skole,dc=skolelinux,dc=no"
ldap_add: Already exists (68)
---------------
but seems to be OK (?) But after this, i can't reach ntinstall (e.g.
ping ntinstall --> ping: unknown host ntinstall)
So is there something more to do, to set a CNAME?
Thanks, Martin
Andreas Schockenhoff schrieb:
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
Did you remember to update the serialnumber of the SOA record ? without
incrementing the serial number powerdns will think that the zone is
unchanged. (this is similar to bind)
Ronny
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4974 (20100325) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]