Update dnsdb_query.py

Also catch URLError in DnsdbClient._query. Can occur if network is unreachable.