Menu

#18 wrong parameter in query ruins AXFR

1.2.9.x
open
mydnsexport (2)
5
2009-05-20
2009-05-20
Peter Pan
No

in the DNS_SOA table, the active field in ENUM and can take the values 'Y' and 'N' only.

to send AXFR notifies, the function axfr.c uses an SQL query on DNS_SOA that contains "where active = 1"... so this query always fails.

please replace with "where active = 'Y'"

Discussion

  • Itamar Reis Peixoto

    can you send a patch ?

     
  • Itamar Reis Peixoto

    mydns_rr_active_types was defined in src/lib/rr.c

    char *mydns_rr_active_types[] = { (char*)"Y", (char*)"N", (char*)"D" };

    I think because this the query appears 1

     

Log in to post a comment.

MongoDB Logo MongoDB