geoip: stricter validation of CNAME usage
The geoip module does not validate the semantic validity of views, such as that a CNAME cannot occur along with any other record. It will take care to only return the right type in any given response, but this can still lead to inconsistent results. Furthermore, one can supply two CNAMEs in a view, and the module will write both of them into a response. This adds some input validation to tighten the rules of what the module will accept as valid configuration, specifically that a CNAME cannot occur along any other record in a view. This prevents ambiguities that might otherwise arise in the query processing. The additional storing of the domain name in case of a CNAME was chosen in anticipation of using it for enabling CNAME chaing resolution, implemented seperately.
parent
63951a9e
No related branches found
No related tags found
Please register or sign in to comment