[Freeipa-users] No $ORIGIN directive in bind-dyndb-ldap

Brendan Kearney bpk678 at gmail.com
Tue Oct 22 14:26:14 UTC 2013


list,

i am trying to setup BIND to use the DynDB LDAP backend, and have found
that the $ORIGIN directive is not used or documented for use with the
backend.

the use case is the for the $ORIGIN directive is to handle unqualified
queries.  Below is an example of what happens without the $ORIGIN
directive set in a zone:

[brendan at test ~]$ nslookup server 127.0.0.1
Server:      127.0.0.1
Address:   127.0.0.1#53

** server can't find server: SERVFAIL

[brendan at test ~]$ nslookup server.my-domain.com 127.0.0.1
Server:      127.0.0.1
Address:   127.0.0.1#53

Name:   server.my-domain.com
Address: 192.168.1.1

the below is the BIND Admin Reference Manual entry for the $ORIGIN
directive.

The $ORIGIN Directive

Syntax: $ORIGIN domain-name [comment] 

$ORIGIN sets the domain name that will be appended to any unqualified
records. When a zone is first read in there is an implicit $ORIGIN
<zone_name>. (followed by trailing dot). The current $ORIGIN is appended
to the domain specified in the $ORIGIN argument if it is not absolute. 

$ORIGIN example.com.
WWW     CNAME   MAIN-SERVER

is equivalent to 

WWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.

would a Request For Enhancement be needed or should a bug be filed for this missing functionality?

thank you,

brendan kearney




More information about the Freeipa-users mailing list