diff --git a/src/gldns/rrdef.c b/src/gldns/rrdef.c index 7750322a..8f84b48f 100644 --- a/src/gldns/rrdef.c +++ b/src/gldns/rrdef.c @@ -72,7 +72,7 @@ static const gldns_rdf_type type_nsap_wireformat[] = { GLDNS_RDF_TYPE_NSAP }; static const gldns_rdf_type type_nsap_ptr_wireformat[] = { - GLDNS_RDF_TYPE_DNAME + GLDNS_RDF_TYPE_STR }; static const gldns_rdf_type type_sig_wireformat[] = { GLDNS_RDF_TYPE_TYPE, GLDNS_RDF_TYPE_ALG, GLDNS_RDF_TYPE_INT8, GLDNS_RDF_TYPE_INT32, diff --git a/src/rr-dict.c b/src/rr-dict.c index 76ed85af..1206ed53 100644 --- a/src/rr-dict.c +++ b/src/rr-dict.c @@ -488,7 +488,7 @@ static _getdns_rdata_def rt_rdata[] = { static _getdns_rdata_def nsap_rdata[] = { { "nsap" , GETDNS_RDF_X , NULL }}; static _getdns_rdata_def nsap_ptr_rdata[] = { - { "ptrdname" , GETDNS_RDF_N , NULL }}; + { "owner" , GETDNS_RDF_S , NULL }}; static _getdns_rdata_def sig_rdata[] = { { "sig_obsolete" , GETDNS_RDF_X , NULL }}; static _getdns_rdata_def key_rdata[] = { diff --git a/src/test/tpkg/265-supported-rrs.tpkg/265-supported-rrs.good b/src/test/tpkg/265-supported-rrs.tpkg/265-supported-rrs.good index 9d45cd75..5ac86a9a 100644 --- a/src/test/tpkg/265-supported-rrs.tpkg/265-supported-rrs.good +++ b/src/test/tpkg/265-supported-rrs.tpkg/265-supported-rrs.good @@ -722,8 +722,8 @@ "name": , "rdata": { - "ptrdname": , - "rdata_raw": + "owner": , + "rdata_raw": }, "ttl": 30, "type": GETDNS_RRTYPE_NSAP_PTR @@ -1067,7 +1067,7 @@ naptr.net-dns.org. 30 IN NAPTR 100 100 "s" "http+I2R" "" _https._tcp.net-dns.org nid.net-dns.org. 30 IN NID 10 0014:4fff:ff20:ef64 nimloc.net-dns.org. 30 IN NIMLOC 32251B030067 nsap.net-dns.org. 30 IN NSAP 0x47000580005A0000000001E133FFFFFF00016100 -444433332222111199990123000000ff.net-dns.org. 30 IN NSAP-PTR host.net-dns.org. +444433332222111199990123000000ff.net-dns.org. 30 IN NSAP-PTR "host" nsec.net-dns.org. 30 IN NSEC host.net-dns.org. A MX NSEC nsec3.net-dns.org. 30 IN NSEC3 1 0 5 FD5EEADE2BA67B64 92qfhk1g2m21l1j89pju33nrm9586bpu A NS SOA MX RRSIG DNSKEY NSEC3PARAM nsec3param.net-dns.org. 30 IN NSEC3PARAM 1 0 5 FD5EEADE2BA67B64 @@ -1093,5 +1093,5 @@ x25.net-dns.org. 30 IN X25 "1234567" ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: -;; MSG SIZE rcvd: 6574 +;; MSG SIZE rcvd: 6561