Bind 9 and sdb

jps jps at 7ways.net
Thu Feb 15 10:53:23 UTC 2001


Hello,

has anyone tried successfully to use the postgres sdb sample
provided with bind 9 (up to 9.1.1rc2) ?

I used the zonetodb program to convert a working zone file
into a postgresql database, and recompiled bind9 to add
pgsqldb.c support (without any changes).

it works fine:
- when I dig 'ANY' my local zone.
- when I dig 'A' records for hosts within this local zone.
- when I dig 'NS' records for delegated sub-zones.

but when I dig 'A' records for any of the sub-zones:

Program received signal SIGSEGV, Segmentation fault.
dns_rdata_clone (src=0xdededede, target=0xdededede) at rdata.c:369
369             REQUIRE(DNS_RDATA_VALIDFLAGS(src));

with this backtrace:

#0  dns_rdata_clone (src=0xdededede, target=0xdededede) at rdata.c:369
#1  0x100b2338 in isc__rdatalist_current (rdataset=0xdededede, 
rdata=0x7ffff8b8) at rdatalist.c:124
#2  0x100b2c3c in dns_rdataset_current (rdataset=0x3004e0c0, 
rdata=0x7ffff8b8) at rdataset.c:254
#3  0x100b6b7c in fctx_getaddresses (fctx=0x3004e008) at resolver.c:1440
#4  0x100b7338 in fctx_try (fctx=0x3004e008) at resolver.c:1687
#5  0x100b8404 in fctx_start (task=0xdededede, event=0x3004e058) at 
resolver.c:1960
#6  0x10175ca8 in dispatch (manager=0x300280f8) at task.c:845
#7  0x10176520 in isc__taskmgr_dispatch () at task.c:1202
#8  0x101785b4 in evloop () at app.c:310
#9  0x101788d4 in isc_app_run () at app.c:502
#10 0x1000a778 in main (argc=3, argv=0x101a0000) at ./main.c:564

any idea ?

thanks,

 - Jean-Pierre.


More information about the bind-users mailing list