mirror of
https://github.com/miekg/dns.git
synced 2025-10-17 21:01:00 +02:00
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…
x
Reference in New Issue
Block a user