Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942611 - net-dns/bind-9.18.* removed support for DLZ
Summary: net-dns/bind-9.18.* removed support for DLZ
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 15:28 UTC by Markus Lidel
Modified: 2024-11-21 10:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Lidel 2024-10-31 15:28:55 UTC
bind-9.18.29-r2 and bind-9.18.31 removed the options for building DLZ modules. This is probably caused by the upstream changelog:

Old-style Dynamically Loadable Zones (DLZ) drivers that had to be enabled in named at build time have been removed. New-style DLZ modules should be used as a replacement.

But this don't mean that DLZ are not available any more. The DLZ modules must be loaded dynamical from config. The modules could be compiled from contrib/dlz/modules directory.

Reproducible: Always




Adding

pushd "contrib/dlz/modules"
emake -C mysql CFLAGS="-fPIC -I../include $CFLAGS $LDFLAGS -DPTHREADS=1" LDFLAGS="$LDFLAGS"
popd

to src_compile() and 

exeinto /usr/lib64/bind
doexe contrib/dlz/modules/mysql/dlz_mysql_dynamic.so

to src_install() added the missing DLZ mysql module. The configuration must also be updated.

OLD:

database "mysql

NEW:

database "dlopen /usr/lib64/bind/dlz_mysql_dynamic.so