Skip to content

Don't assume we can resolve a domain name

juga requested to merge github/fork/pastly/ticket28141 into master

Created by: pastly

Even for a valid domain that usually resolves, sometimes the local DNS resolver won't be able to resolve it (duh). Catch the exception that gets thrown in that instance and fail gracefully by returning an empty list.

Merge request reports

Loading