-/* $OpenBSD: asr_debug.c,v 1.26 2019/07/03 03:24:03 deraadt Exp $ */
+/* $OpenBSD: asr_debug.c,v 1.27 2021/04/02 07:00:30 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
break;
case T_SOA:
snprintf(buf, max, "%s %s %lu %lu %lu %lu %lu",
- print_dname(rr->rr.soa.rname, tmp, sizeof tmp),
- print_dname(rr->rr.soa.mname, tmp2, sizeof tmp2),
+ print_dname(rr->rr.soa.mname, tmp, sizeof tmp),
+ print_dname(rr->rr.soa.rname, tmp2, sizeof tmp2),
(unsigned long)rr->rr.soa.serial,
(unsigned long)rr->rr.soa.refresh,
(unsigned long)rr->rr.soa.retry,
PRINTOPT(RES_NOALIASES, "NOALIASES");
PRINTOPT(RES_USE_EDNS0, "USE_EDNS0");
PRINTOPT(RES_USE_DNSSEC, "USE_DNSSEC");
+ PRINTOPT(RES_USE_CD, "USE_CD");
if (o)
fprintf(f, " 0x%08x", o);
fprintf(f, "\n");