Re: Problem with Bind 9.5.0 with AXFR

Mark <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <1215600932.9561.65.camel@localhost>
And just for information, downgrading to bind 9.4.2 resolved this
problem, however given the current problems, it would probably be better
to have this fixed with bind 9.5.0.


Best regards,
Mark


Le mercredi 09 juillet 2008 à 12:36 +0200, Mark a écrit :
> Hello,
> 
> I installed dlz on my bind installation, and created a sample zone
> "example.com".
> 
> I configured a SOA, a NS record and a single "A" record, and tried to
> run a AXFR on the zone to see the result.
> 
> Shigoto ~ # dig example.com @localhost axfr
> ;; communications error to 127.0.0.1#53: end of file 
> ;; Connection to 127.0.0.1#53(127.0.0.1) for example.com failed:
> connection refused. 
> ;; Connection to ::1#53(::1) for example.com failed: connection refused.
> 
> Normal queries works just fine.
> 
> After checking I found that bind stopped, with the following message in
> system log:
> 
> Jul 9 12:03:17 Shigoto named[9475]: zone.c:2514: REQUIRE((((source) !=
> ((void *)0)) && (((const isc__magic_t *)(source))->magic == ((('Z') <<
> 24 | ('O') << 16 | ('N') << 8 | ('E')))))) failed
> 
> mysql> select zone, host, ttl, type, data from dns_records;
> +-------------+------+-------+------+------------------+ 
> | zone        | host | ttl   | type | data             |
> +-------------+------+-------+------+------------------+ 
> | example.com | @    | 86400 | SOA  | ns1.example.com. | 
> | example.com | @    | 86400 | NS   | localhost.       | 
> | example.com | @    | 86400 | A    | 127.0.0.1        |
> +-------------+------+-------+------+------------------+
> 
> (other SOA fields are filled correctly).
> 
> dlz config:
> 
> dlz "MySQL" {
>   database "mysql
>   {host=127.0.0.1 dbname=* user=* pass=*}
>   {select zone FROM dns_records where zone = '%zone%' limit 1}
>   {select ttl, type, mx_priority, case when lower(type)='txt' then
> concat('\"', data, '\"') when lower(type) = 'soa' then concat_ws(' ',
> data, resp_person, serial, refresh, retry, expire, minimum) else data
> end from dns_records where zone = '%zone%' and host = '%record%'}
>   {}
>   {select ttl, type, host, mx_priority, case when lower(type)='txt' then
> concat('\"', data, '\"') else data end, resp_person, serial, refresh,
> retry, expire, minimum from dns_records where zone = '%zone%'}
>   {select `zone` FROM `xfr_table` WHERE `zone` = '%zone%' AND `client` =
> '%client%'}
>   ";
> };
> 
> I checked a few times, tried to look on the mailing list archive, but
> didn't find anything related to bind9's assert failing.
> 
> Any help would be welcome.
> 
> 
> Best regards,
> Mark
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Bind-dlz-testers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bind-dlz-testers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
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.