1e2b1b9c0Schristos/* 2*497bf0b8Schristos * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3e2b1b9c0Schristos * 4*497bf0b8Schristos * SPDX-License-Identifier: MPL-2.0 5e2b1b9c0Schristos * 6*497bf0b8Schristos * This Source Code Form is subject to the terms of the Mozilla Public 7*497bf0b8Schristos * License, v. 2.0. If a copy of the MPL was not distributed with this 8*497bf0b8Schristos * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9*497bf0b8Schristos * 10*497bf0b8Schristos * See the COPYRIGHT file distributed with this work for additional 11*497bf0b8Schristos * information regarding copyright ownership. 12e2b1b9c0Schristos */ 13e2b1b9c0Schristos 14e2b1b9c0Schristoscontrols { }; 15e2b1b9c0Schristos 16e2b1b9c0Schristosoptions { 17e2b1b9c0Schristos directory "."; 18e2b1b9c0Schristos port 5300; 19e2b1b9c0Schristos pid-file "named.pid"; 20e2b1b9c0Schristos session-keyfile "session.key"; 21e2b1b9c0Schristos listen-on { any; }; 22e2b1b9c0Schristos listen-on-v6 { none; }; 23e2b1b9c0Schristos recursion no; 24e2b1b9c0Schristos}; 25e2b1b9c0Schristos 26e2b1b9c0Schristoskey rndc_key { 27e2b1b9c0Schristos secret "1234abcd8765"; 28e2b1b9c0Schristos algorithm hmac-md5; 29e2b1b9c0Schristos}; 30e2b1b9c0Schristos 31e2b1b9c0Schristoscontrols { 32e2b1b9c0Schristos inet 127.0.0.1 port 9953 allow { any; } keys { rndc_key; }; 33e2b1b9c0Schristos}; 34e2b1b9c0Schristos 35e2b1b9c0Schristosdlz "test" { 36e2b1b9c0Schristos database "dlopen ../dlz_ldap_dynamic.so 2 37e2b1b9c0Schristos v3 simple {cn=Manager,o=bind-dlz} {secret} {127.0.0.1} 38e2b1b9c0Schristos ldap:///dlzZoneName=$zone$,ou=dns,o=bind-dlz???objectclass=dlzZone 39e2b1b9c0Schristos ldap:///dlzHostName=$record$,dlzZoneName=$zone$,ou=dns,o=bind-dlz?dlzTTL,dlzType,dlzPreference,dlzData,dlzIPAddr?sub?(&(objectclass=dlzAbstractRecord)(!(dlzType=soa))) 40e2b1b9c0Schristos ldap:///dlzHostName=@,dlzZoneName=$zone$,ou=dns,o=bind-dlz?dlzTTL,dlzType,dlzData,dlzPrimaryNS,dlzAdminEmail,dlzSerial,dlzRefresh,dlzRetry,dlzExpire,dlzMinimum?sub?(&(objectclass=dlzAbstractRecord)(dlzType=soa)) 41e2b1b9c0Schristos ldap:///dlzZoneName=$zone$,ou=dns,o=bind-dlz?dlzTTL,dlzType,dlzHostName,dlzPreference,dlzData,dlzIPAddr,dlzPrimaryNS,dlzAdminEmail,dlzSerial,dlzRefresh,dlzRetry,dlzExpire,dlzMinimum?sub?(&(objectclass=dlzAbstractRecord)(!(dlzType=soa))) 42e2b1b9c0Schristos ldap:///dlzZoneName=$zone$,ou=dns,o=bind-dlz??sub?(&(objectclass=dlzXFR)(dlzIPAddr=$client$))"; 43e2b1b9c0Schristos}; 44