Before releasing 0.1.0. Remove defines like ZONE_A and ZONE_IN. The type and class codes are standardized and do not require a define. While defines are sane, my reasoning is that any DNS application will define them and I prefer to avoid collisions. Another thing to do is to properly document the API functions, especially zone_parse_string as it's not obvious to the user that the input must be padded.
Before releasing 0.1.0. Remove defines like
ZONE_A
andZONE_IN
. The type and class codes are standardized and do not require a define. While defines are sane, my reasoning is that any DNS application will define them and I prefer to avoid collisions. Another thing to do is to properly document the API functions, especiallyzone_parse_string
as it's not obvious to the user that the input must be padded.