Fix adding/updating dns records