Description

NewRR reads the RR contained in the string s. Only the first RR is returned. If s contains no RR, return nil with no error. The class defaults to IN and TTL defaults to 3600. The full zone file syntax like $TTL, $ORIGIN, etc. is supported. All fields of the returned RR are set, except RR.Header().Rdlength which is set to 0.

NewRR is referenced in 38 repositories

github.com/miekg/dns github.com/miekg/coredns github.com/parkomat/parkomat

...