Skip to content

CheckHost(...) returns unexpected result on Windows when SPF record is split. #32

@cedar10bits

Description

@cedar10bits

On Windows, if SPF record is split, CheckHost(...) returns unexpected result.
For example, domain "example.test.local" has TXT record like below.

# dig example.test.local txt
;; ANSWER SECTION:
example.test.local.     0       IN      TXT     "v=spf1 ip4:1.2.3.4 " "~all"

If IP is 1.2.3.5 and domain is "example.test.local", CheckHost(...) returns "softfal" on Linux.
But on Windows, CheckHost(...) returns "neutral".

Related issue.
golang/go#21472

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions