Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gw): use real FQDN in DNSLink errors
The old version was not very smart and wasted DNS lookup per every inlined DNSLink label (my-v--long-example-com) before retrying with un-inlined one (my.v-long.example.com). This version is optimized to avoid unnecessary DNS lookup for the golden path majority of inlined DNS names on subdomain will hit. It also ensures that in case of missing DNSLink, the un-inlined domain name is used in error path, which makes better UX.
- Loading branch information