Re: MX record outside domain -- DLZ with LDAP

Graeme Fowler <[email protected]> Thu, 25 Sep 2008 09:25:33 +0100
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
On Thu, 2008-09-25 at 09:32 +0200, Ahmed El-Mirghany wrote:
> According to http://bind-dlz.sourceforge.net/ldap_example.html  ,Tree 
> structure 1
> How can I add a MX record which is outside this zone file
> Ex: domain is example.com
> mx0 is mail.example.com  with preference 0   that is OK one
> mx1 is backup.example1.com (different domain) with preference 10    ....HOW?

Like this, perhaps (untested)?

dn:
dlzRecordID=6,dlzHostName=@,dlzZoneName=example.com,ou=dns,o=bind-dlz
objectclass: dlzMXRecord
dlzRecordID: 6
dlzHostName: @
dlzType: mx
dlzData: backup.example1.com.
dlzPreference: 40
dlzTTL: 10

Note the period on the end of the dlzData line.

Graeme


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/