• David du Colombier's avatar
    net: fix LookupCNAME on Plan 9 · 985a5749
    David du Colombier authored
    In CL 34650, LookupCNAME was changed so it always returns
    the canonical DNS host, even when there is no CNAME record.
    
    Consequently, TestLookupCNAME was failing on Plan 9,
    because www.google.com doesn't have a CNAME record.
    
    We changed the implementation of lookupCNAME on Plan 9, so it
    returns the canonical DNS host after a CNAME lookup failure.
    
    Fixes #18391.
    
    Change-Id: I59f361bfb2c9de3953e998e8ac58c054979210bd
    Reviewed-on: https://go-review.googlesource.com/34633Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: David du Colombier <0intro@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    985a5749
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...