Improve pdnsd configuration update by removing non-IP lines early enough.