Difference between revisions of "Talk:PowerDNS LDAP Backend/Example"

From Linuxnetworks
Jump to: navigation, search
(New page: == SRV Records == Could someone please provide an example for such records with dnsdomain2.schema?)
 
(dc object for tree mode)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== SRV Records ==
 
== SRV Records ==
 +
 
Could someone please provide an example for such records with dnsdomain2.schema?
 
Could someone please provide an example for such records with dnsdomain2.schema?
 +
 +
A SRV record should look like:
 +
 +
0 5 5060 sipserver.example.com
 +
 +
The fields are:
 +
 +
; Priority : the priority of the target host
 +
; Weight : A relative weight for records with the same priority
 +
; Port : the TCP or UDP port on which the service is to be found
 +
; Target : the host name of the machine providing the service.
 +
 +
 +
--[[User:Nose|Nose]] 23:14, 12 June 2007 (CEST)
 +
 +
== dc object for tree mode ==
 +
 +
dn: dc=1,dc=0,dc=1,dc=10,dc=in-addr,dc=arpa,ou=hosts,o=linuxnetworks,c=de
 +
objectclass: top
 +
objectclass: dnsdomain2
 +
objectclass: domainrelatedobject
 +
'''dc: 1.0'''
 +
ptrrecord: server.linuxnetworks.de
 +
associateddomain: 1.0.1.10.in-addr.arpa
 +
 +
shouldn't dc: be "1" instead of "1.0" ?
 +
 +
 +
Yes, that would be much cleaner.
 +
 +
--[[User:Nose|Nose]] 18:23, 16 August 2007 (CEST)

Latest revision as of 17:23, 16 August 2007

SRV Records

Could someone please provide an example for such records with dnsdomain2.schema?

A SRV record should look like:

0 5 5060 sipserver.example.com

The fields are:

Priority 
the priority of the target host
Weight 
A relative weight for records with the same priority
Port 
the TCP or UDP port on which the service is to be found
Target 
the host name of the machine providing the service.


--Nose 23:14, 12 June 2007 (CEST)

dc object for tree mode

dn: dc=1,dc=0,dc=1,dc=10,dc=in-addr,dc=arpa,ou=hosts,o=linuxnetworks,c=de
objectclass: top
objectclass: dnsdomain2
objectclass: domainrelatedobject
dc: 1.0
ptrrecord: server.linuxnetworks.de
associateddomain: 1.0.1.10.in-addr.arpa 

shouldn't dc: be "1" instead of "1.0" ?


Yes, that would be much cleaner.

--Nose 18:23, 16 August 2007 (CEST)