Fixed dns_whitelist pylint errors