The function mydns_rr_get_active_types attempts to detect the acceptable values in use for active,inactive,deleted in the sql database and overrides those values as hard-coded. This function makes the code act in ways it should not by 'guessing' which is not proper for a DNS server. The values should be limited to 'Y','N','D' not auto-guessed based on a unknown set of pre-conditions -- ie: what happens if you use 'Y' and 'true' -- only the bottom most distinct record "value" will be searched causing potentially unexplained results. As the code suggests that you can call me 'active,true,yes,on,a,y,yes or 1' but in-fact only actually searches the database for one of these.

Nifty trick to overcome misconfigurations but the code should not perform tricks for such things.

Additional Information

Sent email to mailinglist requesting feedback of the responses received so far they suggest the ENUM('Y','N','D') is the proper way forward.