• Matt Traudt's avatar
    Don't assume we can resolve a domain name · a7dce5ce
    Matt Traudt authored
    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.
    a7dce5ce