rwrap: Add support to handle NS records