Make less usage of QHostAddress when dealing with DNS records.