delv +ns prints multiple copies of answer rrset
When printing the final result of a lookup, delv +ns
will repeat the answer RRset as many times as there are records in the RRset. For example, on a zone with two name servers:
; fully validated
nuthaven.org. 3600 IN NS ns.armory.com.
nuthaven.org. 3600 IN NS ns.nuthaven.org.
nuthaven.org. 3600 IN RRSIG NS 5 2 3600 20230511133312 20230411123926 51555 nuthaven.org. RnbAVP834hwbtc8KhEXZQ00Hh9BUJAWvjurGuEXFm61K/72F2zpx2u6j vbQFW/RkVImwmV9D969OrbP1jmwdvq51RxSTK1CEIJe3/wwyhhfkPSS9 +fGwzP+KXxOKSEC/6FfLrQQO2h9+cioUKWAJWbNZSz2uY4G7g/wZz+oj 2lk=
nuthaven.org. 3600 IN NS ns.armory.com.
nuthaven.org. 3600 IN NS ns.nuthaven.org.
nuthaven.org. 3600 IN RRSIG NS 5 2 3600 20230511133312 20230411123926 51555 nuthaven.org. RnbAVP834hwbtc8KhEXZQ00Hh9BUJAWvjurGuEXFm61K/72F2zpx2u6j vbQFW/RkVImwmV9D969OrbP1jmwdvq51RxSTK1CEIJe3/wwyhhfkPSS9 +fGwzP+KXxOKSEC/6FfLrQQO2h9+cioUKWAJWbNZSz2uY4G7g/wZz+oj 2lk=
This appears to be because it does a cache lookup to retrieve the trust status for each record, but the lookup returns the whole rrset and that's what's being printed.