Re: Fedora 8 bind-sdb and DLZ

Glen Eustace <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Organization GodZone Internet Services
Message-ID <[email protected]>
> One trick: sdb != DLZ

> SDB is the "old" BIND database interface. DLZ, I suppose you could say,
> is the "new" one. That said, the Fedora bind-sdb package "also includes
> support for DLZ" so it must be there somewhere.

Noted. In the SPEC file, it appears to be included, and the source definitely includes it. When I build the RPM, it has the appropriate switches on configure and the right defines for CC, it just doesn't seem to work :=(


%{?!SDB:        %define SDB         1}
%{?!LIBBIND:    %define LIBBIND     1}
%{?!efence:     %define efence      0}
%{?!test:       %define test        0}
%{?!WITH_DBUS:  %define WITH_DBUS   0} # + dynamic forwarder table management with D-BUS
%{?!bind_uid:   %define bind_uid   25}
%{?!bind_gid:   %define bind_gid   25}
%{?!DLZ:        %define DLZ         1}
%{?!GSSTSIG:    %define GSSTSIG     1}

%description sdb
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
(Domain Name System) protocols. BIND includes a DNS server (named-sdb)
which has compiled-in SDB (Simplified Database Backend) which includes
support for using alternative Zone Databases stored in an LDAP server
(ldapdb), a postgreSQL database (pgsqldb), an sqlite database (sqlitedb),
or in the filesystem (dirdb), in addition to the standard in-memory RBT
(Red Black Tree) zone database. It also includes support for DLZ
(Dynamic Loadable Zones)
%endif

> I reckon you're probably not loading the named.conf you think you are -
> the RH derived BIND packages have a habit of putting everything
> into /var/named/chroot, so you may want to look
> for /var/named/chroot/etc/named.conf (or symlink it back
> to /etc/named.conf) to get what you expect.


This did occur to me as well, so I put an error in it deliberately and running named-sdb -g definitely barfs with the config error. However, if I put an error in the DLZ definition, it doesn't.
Googling around would indicate that other people are in fact using this RPM with DLZ I just can't seem to work out how to turn it on.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Glen and Rosanne Eustace
GodZone Internet Services, a division of AGRE Enterprises Ltd.
P.O. Box 8020, Palmerston North, New Zealand 4446.
Ph: +64 6 357 8168, Fax +64 6 357 8165, Mob: +64 21 424 015
http://www.godzone.net.nz

"A Ministry specialising in providing low-cost Internet Services
to NZ Christian Churches, Ministries and Organisations." 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.