NSAP-PTR rdata is STR after all

This commit is contained in:
Willem Toorop 2017-05-02 16:10:08 +02:00
parent 16d97b607c
commit 1e44ea7bd8
3 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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[] = {

View File

@ -722,8 +722,8 @@
"name": <bindata for 444433332222111199990123000000ff.net-dns.org.>,
"rdata":
{
"ptrdname": <bindata for host.net-dns.org.>,
"rdata_raw": <bindata for host.net-dns.org.>
"owner": <bindata of "host">,
"rdata_raw": <bindata of 0x04686f7374>
},
"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