View definition

func ReverseAddr(addr string) (arpa string, err error)

Defined in github.com/miekg/dns/defaults.go

Description

Copied from the official Go code. ReverseAddr returns the in-addr.arpa. or ip6.arpa. hostname of the IP address suitable for reverse DNS (PTR) record lookups or an error if it fails to parse the IP address.

ReverseAddr is referenced in 14 repositories

github.com/fcavani/net github.com/fcambus/rrda github.com/zmap/zdns

...