I am running a resolve on a qname = dns.name.from_text(host_name, origin=None) that is not fully qualified. IE just the hostname. However when I get the response all servers have refused the query becuase it ends in a . if you don't specify origin=None it appends that period but I am specifying origin=None and it doesn't have when submitted but the output results show it is.
host_name = 'surface'
qname = dns.name.from_text(host_name, origin=None)
print(qname.to_text())
surface
responses = dns.resolver.resolve(host_name, dns.rdatatype.A)
The DNS query name does not exist: surface.