package main
import (
"net"
"log"
"github.com/mileusna/spf"
)
func main() {
spf.DNSServer = "1.1.1.1:53"
ip := net.ParseIP("173.0.84.2")
r := spf.CheckHost(ip, "paypal.com", "service@paypal.com", "")
log.Println(r)
spfRecord, _ := spf.LookupSPF("paypal.com")
log.Println(spfRecord)
}
I tested and found that there is no spf related content in the txt parsed records obtained. But it can be fetched properly using the dig command. Found this issue at google.com and paypal.com.
I tested and found that there is no spf related content in the txt parsed records obtained. But it can be fetched properly using the dig command. Found this issue at google.com and paypal.com.