more docs
This commit is contained in:
parent
0ce87cb3da
commit
aec78ad5e4
|
@ -114,6 +114,8 @@ func normalizedString(r RR) (string, int) {
|
|||
return string(b[:len(b)-cut]), ttlStart
|
||||
}
|
||||
|
||||
// needsDeletion checks if the RR is masked by either a CNAME or a DNAME.
|
||||
// If so it return true.
|
||||
func needsDeletion(r RR, s string, cname, dname []string) bool {
|
||||
if r.Header().Rrtype == TypeCNAME || r.Header().Rrtype == TypeDNAME {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue