def __init__(self, dns_ip):
self._dns_ip = dns_ip<EOL>self._resolver = ProxyResolver()<EOL>try:<EOL><INDENT>self._resolver.set_proxies([self._dns_ip])<EOL><DEDENT>except async_dns.address.InvalidHost as e:<EOL><INDENT>msg = f'<STR_LIT>'<EOL>raise exceptions.InvalidDNSHost(msg)<EOL><DEDENT>
Setup RecordChecker object.

        Args:
            dns_ip: DNS server IP to query.