Closed BornToBeRoot closed 1 year ago
Hi, No, that's not a bug. The DNS error code is just what the server returns in its response. The client isn't doing any validation of the results here.
In your case it seems your server returns something, maybe not an A record, but some response I guess.
If you use any public DNS server, e.g dig @8.8.8.8 borntoberoot
, you'll get Non-Existing Domain because that query isn't a valid domain name.
@MichaCo Thanks for the feedback. You are right. I get the error from 1.1.1.1 and my pihole. It seems like Ubiquiti does not implement DNS correctly...
Hi @MichaCo,
if i try to resolve a hostname (not an FQDN) that doesn't exists, the
HasError
andErrorMessage
ist not set.In this case the ip address is null...
Is this a bug?
Sample code to debug: