• eroman's avatar
    Fail DNS resolution if the result contains 127.0.53.53. · 91dd3606
    eroman authored
    ICANN designated the IPv4 address 127.0.53.53 as meaning a name collision occurred during resolution (as a way to discover real world conflicts around the new gTLDs).
    
    This change makes such resolutions now fail with:
      ICANN_NAME_COLLISION.
    
    IP literals are exempt from the policy and will continue to work as before (meaning you can still navigate to http://127.0.53.53).
    
    This only affects IPv4 results.
    
    BUG=470704
    
    Review URL: https://codereview.chromium.org/1035803003
    
    Cr-Commit-Position: refs/heads/master@{#322309}
    91dd3606
host_resolver_impl_unittest.cc 78.2 KB