diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-05-12 15:20:24 +0200 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-06-02 12:32:01 +0200 |
commit | 1bc786e379ed5575cf4dffaa23bf7d66f42e44d7 (patch) | |
tree | 88e2027f90907587f7138704776db8264441f966 /install/share/bind.named.conf.template | |
parent | 1893a802c78399c27c99523edcac4de0ab2a0ef0 (diff) | |
download | freeipa-1bc786e379ed5575cf4dffaa23bf7d66f42e44d7.tar.gz freeipa-1bc786e379ed5575cf4dffaa23bf7d66f42e44d7.tar.xz freeipa-1bc786e379ed5575cf4dffaa23bf7d66f42e44d7.zip |
Use LDAP instead of flat file for zone storage
Diffstat (limited to 'install/share/bind.named.conf.template')
-rw-r--r-- | install/share/bind.named.conf.template | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/install/share/bind.named.conf.template b/install/share/bind.named.conf.template index c1d2817e0..a04fc1813 100644 --- a/install/share/bind.named.conf.template +++ b/install/share/bind.named.conf.template @@ -1,10 +1,4 @@ options { - /* make named use port 53 for the source of all queries, to allow - * firewalls to block all ports except 53: - */ - query-source port 53; - query-source-v6 port 53; - // Put files that named is allowed to write in the data/ directory: directory "/var/named"; // the default dump-file "data/cache_dump.db"; @@ -34,8 +28,9 @@ zone "." IN { include "/etc/named.rfc1912.zones"; -zone "$DOMAIN" { - type master; - file "$DOMAIN.zone.db"; +dynamic-db "ipa" { + library "ldap.so"; + arg "uri ldap://$FQDN"; + arg "base cn=dns, $SUFFIX"; + arg "auth_method none"; }; - |