- fixup type EUI48 and EUI64, type APL and type IPSECKEY in string

parse sldns.


git-svn-id: file:///svn/unbound/trunk@3063 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2014-01-31 13:50:57 +00:00
parent 4b60521611
commit decb716939
9 changed files with 425 additions and 31 deletions

View file

@ -6,6 +6,8 @@
- fixup warning in unitldns - fixup warning in unitldns
- fixup WKS and rdata type service to print unsigned because strings - fixup WKS and rdata type service to print unsigned because strings
are not portable; they cannot be read (for sure) on other computers. are not portable; they cannot be read (for sure) on other computers.
- fixup type EUI48 and EUI64, type APL and type IPSECKEY in string
parse sldns.
30 January 2014: Wouter 30 January 2014: Wouter
- delay-close does not act if there are udp-wait queries, so that - delay-close does not act if there are udp-wait queries, so that

View file

@ -235,13 +235,13 @@ static const sldns_rdf_type type_lp_wireformat[] = {
LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16,
LDNS_RDF_TYPE_DNAME LDNS_RDF_TYPE_DNAME
}; };
#ifdef DRAFT_RRTYPES
static const sldns_rdf_type type_eui48_wireformat[] = { static const sldns_rdf_type type_eui48_wireformat[] = {
LDNS_RDF_TYPE_EUI48 LDNS_RDF_TYPE_EUI48
}; };
static const sldns_rdf_type type_eui64_wireformat[] = { static const sldns_rdf_type type_eui64_wireformat[] = {
LDNS_RDF_TYPE_EUI64 LDNS_RDF_TYPE_EUI64
}; };
#ifdef DRAFT_RRTYPES
static const sldns_rdf_type type_uri_wireformat[] = { static const sldns_rdf_type type_uri_wireformat[] = {
LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16,
LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16,
@ -378,7 +378,7 @@ static sldns_rr_descriptor rdata_field_descriptors[] = {
* directly follow the RDF types enumerated in the array pointed to * directly follow the RDF types enumerated in the array pointed to
* by _wireformat. For more info see type_hip_hostformat declaration. * by _wireformat. For more info see type_hip_hostformat declaration.
*/ */
{LDNS_RR_TYPE_HIP, "HIP", 3, 3, type_hip_hostformat, LDNS_RDF_TYPE_DNAME, LDNS_RR_NO_COMPRESS, 0 }, {LDNS_RR_TYPE_HIP, "HIP", 3, 3, type_hip_hostformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
#ifdef DRAFT_RRTYPES #ifdef DRAFT_RRTYPES
/* 56 */ /* 56 */
@ -460,15 +460,10 @@ static sldns_rr_descriptor rdata_field_descriptors[] = {
/* 107 */ /* 107 */
{LDNS_RR_TYPE_LP, "LP", 2, 2, type_lp_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 1 }, {LDNS_RR_TYPE_LP, "LP", 2, 2, type_lp_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 1 },
#ifdef DRAFT_RRTYPES
/* 108 */ /* 108 */
{LDNS_RR_TYPE_EUI48, "EUI48", 1, 1, type_eui48_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 }, {LDNS_RR_TYPE_EUI48, "EUI48", 1, 1, type_eui48_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
/* 109 */ /* 109 */
{LDNS_RR_TYPE_EUI64, "EUI64", 1, 1, type_eui64_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 }, {LDNS_RR_TYPE_EUI64, "EUI64", 1, 1, type_eui64_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
#else
{LDNS_RR_TYPE_NULL, "TYPE108", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
{LDNS_RR_TYPE_NULL, "TYPE109", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
#endif
{LDNS_RR_TYPE_NULL, "TYPE110", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 }, {LDNS_RR_TYPE_NULL, "TYPE110", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
{LDNS_RR_TYPE_NULL, "TYPE111", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 }, {LDNS_RR_TYPE_NULL, "TYPE111", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },

View file

@ -33,7 +33,7 @@
/* /*
* No special care is taken, all dots are translated into * No special care is taken, all dots are translated into
* label seperators. * label separators.
* @param rel: true if the domain is not absolute (not terminated in .). * @param rel: true if the domain is not absolute (not terminated in .).
* The output is then still terminated with a '0' rootlabel. * The output is then still terminated with a '0' rootlabel.
*/ */
@ -997,6 +997,12 @@ int sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len)
uint8_t prefix; uint8_t prefix;
size_t i; size_t i;
if(strlen(my_str) == 0) {
/* empty APL element, no data, no string */
*len = 0;
return LDNS_WIREPARSE_ERR_OK;
}
/* [!]afi:address/prefix */ /* [!]afi:address/prefix */
if (strlen(my_str) < 2 if (strlen(my_str) < 2
|| strchr(my_str, ':') == NULL || strchr(my_str, ':') == NULL
@ -1021,6 +1027,7 @@ int sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len)
if(ip_str_len+1 > sizeof(my_ip_str)) if(ip_str_len+1 > sizeof(my_ip_str))
return LDNS_WIREPARSE_ERR_INVALID_STR; return LDNS_WIREPARSE_ERR_INVALID_STR;
(void)strlcpy(my_ip_str, my_str, sizeof(my_ip_str)); (void)strlcpy(my_ip_str, my_str, sizeof(my_ip_str));
my_ip_str[ip_str_len] = 0;
if (family == 1) { if (family == 1) {
/* ipv4 */ /* ipv4 */
@ -1727,9 +1734,8 @@ int sldns_str2wire_ilnp64_buf(const char* str, uint8_t* rd, size_t* len)
if (sscanf(str, "%4x:%4x:%4x:%4x%n", &a, &b, &c, &d, &l) != 4 || if (sscanf(str, "%4x:%4x:%4x:%4x%n", &a, &b, &c, &d, &l) != 4 ||
l != (int)strlen(str) || /* more data to read */ l != (int)strlen(str) || /* more data to read */
strpbrk(str, "+-") /* signed hexes */ strpbrk(str, "+-") /* signed hexes */
) { )
return LDNS_WIREPARSE_ERR_SYNTAX_ILNP64; return LDNS_WIREPARSE_ERR_SYNTAX_ILNP64;
}
shorts[0] = htons(a); shorts[0] = htons(a);
shorts[1] = htons(b); shorts[1] = htons(b);
shorts[2] = htons(c); shorts[2] = htons(c);
@ -1748,11 +1754,8 @@ int sldns_str2wire_eui48_buf(const char* str, uint8_t* rd, size_t* len)
return LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL; return LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL;
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x%n", if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x%n",
&a, &b, &c, &d, &e, &f, &l) != 6 || &a, &b, &c, &d, &e, &f, &l) != 6 ||
l != (int)strlen(str) || /* more data to read */ l != (int)strlen(str))
strpbrk(str, "+-") /* signed hexes */
) {
return LDNS_WIREPARSE_ERR_SYNTAX_EUI48; return LDNS_WIREPARSE_ERR_SYNTAX_EUI48;
}
rd[0] = a; rd[0] = a;
rd[1] = b; rd[1] = b;
rd[2] = c; rd[2] = c;
@ -1772,11 +1775,8 @@ int sldns_str2wire_eui64_buf(const char* str, uint8_t* rd, size_t* len)
return LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL; return LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL;
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x%n", if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x%n",
&a, &b, &c, &d, &e, &f, &g, &h, &l) != 8 || &a, &b, &c, &d, &e, &f, &g, &h, &l) != 8 ||
l != (int)strlen(str) || /* more data to read */ l != (int)strlen(str))
strpbrk(str, "+-") /* signed hexes */
) {
return LDNS_WIREPARSE_ERR_SYNTAX_EUI64; return LDNS_WIREPARSE_ERR_SYNTAX_EUI64;
}
rd[0] = a; rd[0] = a;
rd[1] = b; rd[1] = b;
rd[2] = c; rd[2] = c;

View file

@ -129,13 +129,13 @@ static sldns_lookup_table sldns_wireparse_errors_data[] = {
{ LDNS_WIREPARSE_ERR_CERT_BAD_ALGORITHM, "Bad algorithm type for CERT record" }, { LDNS_WIREPARSE_ERR_CERT_BAD_ALGORITHM, "Bad algorithm type for CERT record" },
{ LDNS_WIREPARSE_ERR_SYNTAX_TIME, "Conversion error, time encoding expected" }, { LDNS_WIREPARSE_ERR_SYNTAX_TIME, "Conversion error, time encoding expected" },
{ LDNS_WIREPARSE_ERR_SYNTAX_PERIOD, "Conversion error, time period encoding expected" }, { LDNS_WIREPARSE_ERR_SYNTAX_PERIOD, "Conversion error, time period encoding expected" },
{ LDNS_WIREPARSE_ERR_SYNTAX_ILNP64, "Conversion error, 4 colon seperated hex numbers expected" }, { LDNS_WIREPARSE_ERR_SYNTAX_ILNP64, "Conversion error, 4 colon separated hex numbers expected" },
{ LDNS_WIREPARSE_ERR_SYNTAX_EUI48, { LDNS_WIREPARSE_ERR_SYNTAX_EUI48,
"Conversion error, 6 two character hex numbers " "Conversion error, 6 two character hex numbers "
"seperated by dashes expected (i.e. xx-xx-xx-xx-xx-xx" }, "separated by dashes expected (i.e. xx-xx-xx-xx-xx-xx" },
{ LDNS_WIREPARSE_ERR_SYNTAX_EUI64, { LDNS_WIREPARSE_ERR_SYNTAX_EUI64,
"Conversion error, 8 two character hex numbers " "Conversion error, 8 two character hex numbers "
"seperated by dashes expected (i.e. xx-xx-xx-xx-xx-xx-xx-xx" }, "separated by dashes expected (i.e. xx-xx-xx-xx-xx-xx-xx-xx" },
{ LDNS_WIREPARSE_ERR_SYNTAX_TAG, { LDNS_WIREPARSE_ERR_SYNTAX_TAG,
"Conversion error, a non-zero sequence of US-ASCII letters " "Conversion error, a non-zero sequence of US-ASCII letters "
"and numbers in lower case expected" }, "and numbers in lower case expected" },
@ -1477,7 +1477,6 @@ static int sldns_wire2str_ipseckey_scan_internal(uint8_t** d, size_t* dl,
{ {
/* http://www.ietf.org/internet-drafts/draft-ietf-ipseckey-rr-12.txt*/ /* http://www.ietf.org/internet-drafts/draft-ietf-ipseckey-rr-12.txt*/
uint8_t precedence, gateway_type, algorithm; uint8_t precedence, gateway_type, algorithm;
size_t public_key_size;
int w = 0; int w = 0;
if(*dl < 3) return -1; if(*dl < 3) return -1;
@ -1510,12 +1509,8 @@ static int sldns_wire2str_ipseckey_scan_internal(uint8_t** d, size_t* dl,
if(*dl < 1) if(*dl < 1)
return -1; return -1;
public_key_size = (*d)[0]; w += sldns_str_print(s, sl, " ");
if(*dl < public_key_size+1) w += sldns_wire2str_b64_scan_num(d, dl, s, sl, *dl);
return -1;
(*d)++;
(*dl)--;
w += sldns_wire2str_b64_scan_num(d, dl, s, sl, public_key_size);
return w; return w;
} }

View file

@ -147,7 +147,7 @@ rr_test_file(const char* input, const char* check)
inf = fopen(input, "r"); inf = fopen(input, "r");
if(!inf) fatal_exit("cannot open %s: %s", input, strerror(errno)); if(!inf) fatal_exit("cannot open %s: %s", input, strerror(errno));
chf = fopen(check, "r"); chf = fopen(check, "r");
if(!chf) fatal_exit("cannot open %s: %s", input, strerror(errno)); if(!chf) fatal_exit("cannot open %s: %s", check, strerror(errno));
of = NULL; of = NULL;
if(0) { if(0) {
@ -164,9 +164,9 @@ rr_test_file(const char* input, const char* check)
continue; continue;
/* read check lines */ /* read check lines */
if(!fgets(wire_chk, (int)bufs, chf)) if(!fgets(wire_chk, (int)bufs, chf))
printf("%s too short", check); printf("%s too short\n", check);
if(!fgets(txt_chk, (int)bufs, chf)) if(!fgets(txt_chk, (int)bufs, chf))
printf("%s too short", check); printf("%s too short\n", check);
chlineno += 2; chlineno += 2;
if(vbmp) printf("%s:%d %s", check, chlineno-1, wire_chk); if(vbmp) printf("%s:%d %s", check, chlineno-1, wire_chk);
if(vbmp) printf("%s:%d %s", check, chlineno, txt_chk); if(vbmp) printf("%s:%d %s", check, chlineno, txt_chk);
@ -198,6 +198,8 @@ rr_tests(void)
rr_test_file("testdata/test_ldnsrr.1", "testdata/test_ldnsrr.c1"); rr_test_file("testdata/test_ldnsrr.1", "testdata/test_ldnsrr.c1");
rr_test_file("testdata/test_ldnsrr.2", "testdata/test_ldnsrr.c2"); rr_test_file("testdata/test_ldnsrr.2", "testdata/test_ldnsrr.c2");
rr_test_file("testdata/test_ldnsrr.3", "testdata/test_ldnsrr.c3"); rr_test_file("testdata/test_ldnsrr.3", "testdata/test_ldnsrr.c3");
rr_test_file("testdata/test_ldnsrr.4", "testdata/test_ldnsrr.c4");
rr_test_file("testdata/test_ldnsrr.5", "testdata/test_ldnsrr.c5");
} }
void void

77
testdata/test_ldnsrr.4 vendored Normal file
View file

@ -0,0 +1,77 @@
; opendnssec all.rr.org file
@ IN SOA ns1 postmaster.all.rr.org. ( 1 3600 600 86400 3600 ) ; min TTL [1h]
ns1.all.rr.org. IN A 10.1.0.52
all.rr.org. IN NS ns1.example.com.
; MD
; MF
foo.all.rr.org. IN CNAME ns1.all.rr.org.
all.rr.org. IN MB mb-madname.example.com.
all.rr.org. IN MG mg-mgmname.example.com.
all.rr.org. IN MR mr-newname.example.com.
; NULL
; WKS
bar.all.rr.org. IN PTR ns1.all.rr.org.
all.rr.org. IN HINFO SUN4/110 UNIX
helium IN HINFO "Shuttle-ST61G4 Intel PIV3000" "FreeBSD 7.0-STABLE"
all.rr.org. IN MINFO minfo-rmailbx.example.com. minfo-emailbx.example.com.
all.rr.org. IN MX 10 VENERA.all.rr.org.
selector._domainkey.all.rr.org. IN TXT "v=DKIM1; n=Use=20DKIM; p=AwEAAZfbYw8SffZwsbrCLbC+JLErREIF6Yfe9aqsa1Pz6tpGWiLxm9rSL6/YoBvNP3UWX91YDF0JMo6lhu3UIZjITvIwDhx+RJYko9vLzaaJKXGf3ygy6z+deWoZJAV1lTY0Ltx9genboe88CSCHw9aSLkh0obN9Ck8R6zAMYR19ciM/; t=s"
all.rr.org. IN RP rp-mbox.example.com. rp-txtdname.example.com.
all.rr.org. IN AFSDB 1 afsdb-hostname.example.com.
all.rr.org. IN X25 311061700956
all.rr.org. IN ISDN 150862028003217 004
all.rr.org. IN RT 10 NET.Prime.COM.
all.rr.org. IN NSAP 0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00
; NSAP-PTR
; SIG
; KEY
all.rr.org. IN PX 10 net2.it. PRMD-net2.ADMD-p400.C-it.
; GPOS
all.rr.org. IN AAAA 2001:db8::3
all.rr.org. IN LOC 42 21 54.5 N 71 06 18.3 W -24m 30m
; NXT
; EID
; NIMLOC
_http._tcp.all.rr.org. IN SRV 0 5 80 ns1.example.com.
; ATMA
all.rr.org. IN NAPTR 100 10 "" "" "!^urn:cid:.+@([^\\.]+\\.)(.*)$!\\2!i" .
all.rr.org. IN KX 2 rt1.example.com.
all.rr.org. IN CERT 6 0 0 FFsAyW1dVK7hIGuvhN56r26UwJx/
; A6
frobozz.all.rr.org. IN DNAME frobozz-division.acme.example.
; SINK
; OPT
; APL
sub.all.rr.org. IN DS 12345 3 1 123456789abcdef67890123456789abcdef67890
all.rr.org. IN SSHFP 2 1 123456789abcdef67890123456789abcdef67890
all.rr.org. IN IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
all.rr.org. IN RRSIG A 5 3 86400 20030322173103 ( 20030220173103 2642 example.com. oJB1W6WNGv+ldvQ3WDG0MQkg5IEhjRip8WTr PYGv07h108dUKGMeDPKijVCHX3DDKdfb+v6o B9wfuh3DTJXUAfI/M0zmO/zz8bW0Rznl8O3t GNazPwQKkRN20XPXV6nwwfoXmJQbsLNrLfkG J5D6fwFm8nN+6pBzeDQfsS3Ap3o= )
all.rr.org. IN NSEC host.example.com. A MX RRSIG NSEC
all.rr.org. IN DNSKEY 256 3 5 ( AQPSKmynfzW4kyBv015MUG2DeIQ3 Cbl+BBZH4b/0PY1kxkmvHjcZc8no kfzj31GajIQKY+5CptLr3buXA10h WqTkF7H6RfoRqXQeogmMHfpftf6z Mv1LyBUgia7za6ZEzOJBOztyvhjL 742iU/TpPSEDhm2SNKLijfUppn1U aNvv4w== )
all.rr.org. IN DHCID ( AAIBY2/AuCccgoJbsaxcQc9TUapptP69l OjxfNuVAA2kjEA= )
ee19kl3631qol646kjjrh6lh96pduqii.all.rr.org. IN NSEC3 1 0 5 6467b16f6f36ba4d 13k9b8dv58kcn28us3fc0lqa60jeadp0 A RRSIG
all.rr.org. IN NSEC3PARAM 1 0 5 6467b16f6f36ba4d
; 52-54
all.rr.org. IN HIP ( 2 200100107B1A74DF365639CC39F1D578 AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D rvs.example.com. )
; NINFO
; RKEY
; 58-98
all.rr.org. IN SPF "v=spf1 +mx a:colo.example.com/28 -all"
; UINFO
; UID
; GID
; UNSPEC
; 104-248
; TKEY
; TSIG
; IXFR
; AXFR
; MAILB
; MAILA
; ANY
; 256-32767
; TA
all.rr.org. IN DLV 12345 3 1 123456789abcdef67890123456789abcdef67890
; 32770-65279
; 65280-65534
; 65535

115
testdata/test_ldnsrr.5 vendored Normal file

File diff suppressed because one or more lines are too long

78
testdata/test_ldnsrr.c4 vendored Normal file
View file

@ -0,0 +1,78 @@
000006000100000E100030036E7331000A706F73746D617374657203616C6C027272036F7267000000000100000E10000002580001518000000E10
. 3600 IN SOA ns1. postmaster.all.rr.org. 1 3600 600 86400 3600
036E733103616C6C027272036F7267000001000100000E1000040A010034
ns1.all.rr.org. 3600 IN A 10.1.0.52
03616C6C027272036F7267000002000100000E100011036E7331076578616D706C6503636F6D00
all.rr.org. 3600 IN NS ns1.example.com.
03666F6F03616C6C027272036F7267000005000100000E100010036E733103616C6C027272036F726700
foo.all.rr.org. 3600 IN CNAME ns1.all.rr.org.
03616C6C027272036F7267000007000100000E1000180A6D622D6D61646E616D65076578616D706C6503636F6D00
all.rr.org. 3600 IN MB mb-madname.example.com.
03616C6C027272036F7267000008000100000E1000180A6D672D6D676D6E616D65076578616D706C6503636F6D00
all.rr.org. 3600 IN MG mg-mgmname.example.com.
03616C6C027272036F7267000009000100000E1000180A6D722D6E65776E616D65076578616D706C6503636F6D00
all.rr.org. 3600 IN MR mr-newname.example.com.
0362617203616C6C027272036F726700000C000100000E100010036E733103616C6C027272036F726700
bar.all.rr.org. 3600 IN PTR ns1.all.rr.org.
03616C6C027272036F726700000D000100000E10000E0853554E342F31313004554E4958
all.rr.org. 3600 IN HINFO "SUN4/110" "UNIX"
0668656C69756D00000D000100000E1000301C53687574746C652D53543631473420496E74656C2050495633303030124672656542534420372E302D535441424C45
helium. 3600 IN HINFO "Shuttle-ST61G4 Intel PIV3000" "FreeBSD 7.0-STABLE"
03616C6C027272036F726700000E000100000E1000360D6D696E666F2D726D61696C6278076578616D706C6503636F6D000D6D696E666F2D656D61696C6278076578616D706C6503636F6D00
all.rr.org. 3600 IN MINFO minfo-rmailbx.example.com. minfo-emailbx.example.com.
03616C6C027272036F726700000F000100000E100015000A0656454E45524103616C6C027272036F726700
all.rr.org. 3600 IN MX 10 VENERA.all.rr.org.
0873656C6563746F720A5F646F6D61696E6B657903616C6C027272036F7267000010000100000E1000CFCE763D444B494D313B206E3D5573653D3230444B494D3B20703D41774541415A66625977385366665A77736272434C62432B4A4C45725245494636596665396171736131507A3674704757694C786D3972534C362F596F42764E50335557583931594446304A4D6F366C68753355495A6A49547649774468782B524A596B6F39764C7A61614A4B58476633796779367A2B6465576F5A4A4156316C5459304C74783967656E626F65383843534348773961534C6B68306F624E39436B3852367A414D5952313963694D2F3B20743D73
selector._domainkey.all.rr.org. 3600 IN TXT "v=DKIM1; n=Use=20DKIM; p=AwEAAZfbYw8SffZwsbrCLbC+JLErREIF6Yfe9aqsa1Pz6tpGWiLxm9rSL6/YoBvNP3UWX91YDF0JMo6lhu3UIZjITvIwDhx+RJYko9vLzaaJKXGf3ygy6z+deWoZJAV1lTY0Ltx9genboe88CSCHw9aSLkh0obN9Ck8R6zAMYR19ciM/; t=s"
03616C6C027272036F7267000011000100000E10002E0772702D6D626F78076578616D706C6503636F6D000B72702D747874646E616D65076578616D706C6503636F6D00
all.rr.org. 3600 IN RP rp-mbox.example.com. rp-txtdname.example.com.
03616C6C027272036F7267000012000100000E10001E00010E61667364622D686F73746E616D65076578616D706C6503636F6D00
all.rr.org. 3600 IN AFSDB 1 afsdb-hostname.example.com.
03616C6C027272036F7267000013000100000E10000D0C333131303631373030393536
all.rr.org. 3600 IN X25 "311061700956"
03616C6C027272036F7267000014000100000E1000140F31353038363230323830303332313703303034
all.rr.org. 3600 IN ISDN "150862028003217" "004"
03616C6C027272036F7267000015000100000E100011000A034E4554055072696D6503434F4D00
all.rr.org. 3600 IN RT 10 NET.Prime.COM.
03616C6C027272036F7267000016000100000E10001447000580005A0000000001E133FFFFFF00016100
all.rr.org. 3600 IN NSAP 0x47000580005A0000000001E133FFFFFF00016100
03616C6C027272036F726700001A000100000E100025000A046E657432026974000950524D442D6E6574320941444D442D7034303004432D697400
all.rr.org. 3600 IN PX 10 net2.it. PRMD-net2.ADMD-p400.C-it.
03616C6C027272036F726700001C000100000E10001020010DB8000000000000000000000003
all.rr.org. 3600 IN AAAA 2001:db8::3
03616C6C027272036F726700001D000100000E1000100033161389172FC470BE14C400988D20
all.rr.org. 3600 IN LOC 42 21 54.500 N 71 06 18.300 W -24m 30m 10000m 10m
055F68747470045F74637003616C6C027272036F7267000021000100000E100017000000050050036E7331076578616D706C6503636F6D00
_http._tcp.all.rr.org. 3600 IN SRV 0 5 80 ns1.example.com.
03616C6C027272036F7267000023000100000E1000290064000A000021215E75726E3A6369643A2E2B40285B5E5C2E5D2B5C2E29282E2A2924215C32216900
all.rr.org. 3600 IN NAPTR 100 10 "" "" "!^urn:cid:.+@([^\\.]+\\.)(.*)$!\\2!i" .
03616C6C027272036F7267000024000100000E100013000203727431076578616D706C6503636F6D00
all.rr.org. 3600 IN KX 2 rt1.example.com.
03616C6C027272036F7267000025000100000E10001A0006000000145B00C96D5D54AEE1206BAF84DE7AAF6E94C09C7F
all.rr.org. 3600 IN CERT IPGP 0 0 FFsAyW1dVK7hIGuvhN56r26UwJx/
0766726F626F7A7A03616C6C027272036F7267000027000100000E10001F1066726F626F7A7A2D6469766973696F6E0461636D65076578616D706C6500
frobozz.all.rr.org. 3600 IN DNAME frobozz-division.acme.example.
0373756203616C6C027272036F726700002B000100000E10001830390301123456789ABCDEF67890123456789ABCDEF67890
sub.all.rr.org. 3600 IN DS 12345 3 1 123456789ABCDEF67890123456789ABCDEF67890
03616C6C027272036F726700002C000100000E1000160201123456789ABCDEF67890123456789ABCDEF67890
all.rr.org. 3600 IN SSHFP 2 1 123456789ABCDEF67890123456789ABCDEF67890
03616C6C027272036F726700002D000100000E1000290A0102C0000226010351537986ED35533B6064478EEEB27B5BD74DAE149B6E81BA3A0521AF82AB7801
all.rr.org. 3600 IN IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
03616C6C027272036F726700002E000100000E10009F00010503000151803E7C9DD73E5510D70A52076578616D706C6503636F6D00A090755BA58D1AFFA576F4375831B4310920E481218D18A9F164EB3D81AFD3B875D3C75428631E0CF2A28D50875F70C329D7DBFAFEA807DC1FBA1DC34C95D401F23F334CE63BFCF3F1B5B44739E5F0EDED18D6B33F040A911376D173D757A9F0C1FA1798941BB0B36B2DF9062790FA7F0166F2737EEA907378341FB12DC0A77A
all.rr.org. 3600 IN RRSIG A 5 3 86400 20030322173103 20030220173103 2642 example.com. oJB1W6WNGv+ldvQ3WDG0MQkg5IEhjRip8WTrPYGv07h108dUKGMeDPKijVCHX3DDKdfb+v6oB9wfuh3DTJXUAfI/M0zmO/zz8bW0Rznl8O3tGNazPwQKkRN20XPXV6nwwfoXmJQbsLNrLfkGJ5D6fwFm8nN+6pBzeDQfsS3Ap3o= ;{id = 2642}
03616C6C027272036F726700002F000100000E10001A04686F7374076578616D706C6503636F6D000006400100000003
all.rr.org. 3600 IN NSEC host.example.com. A MX RRSIG NSEC
03616C6C027272036F7267000030000100000E100086010003050103D22A6CA77F35B893206FD35E4C506D8378843709B97E041647E1BFF43D8D64C649AF1E371973C9E891FCE3DF519A8C840A63EE42A6D2EBDDBB97035D215AA4E417B1FA45FA11A9741EA2098C1DFA5FB5FEB332FD4BC8152089AEF36BA644CCE2413B3B72BE18CBEF8DA253F4E93D2103866D9234A2E28DF529A67D5468DBEFE3
all.rr.org. 3600 IN DNSKEY 256 3 5 AQPSKmynfzW4kyBv015MUG2DeIQ3Cbl+BBZH4b/0PY1kxkmvHjcZc8nokfzj31GajIQKY+5CptLr3buXA10hWqTkF7H6RfoRqXQeogmMHfpftf6zMv1LyBUgia7za6ZEzOJBOztyvhjL742iU/TpPSEDhm2SNKLijfUppn1UaNvv4w== ;{id = 2642 (zsk), size = 1024b}
03616C6C027272036F7267000031000100000E100023000201636FC0B8271C82825BB1AC5C41CF5351AA69B4FEBD94E8F17CDB95000DA48C40
all.rr.org. 3600 IN DHCID AAIBY2/AuCccgoJbsaxcQc9TUapptP69lOjxfNuVAA2kjEA=
20656531396B6C33363331716F6C3634366B6A6A7268366C68393670647571696903616C6C027272036F7267000032000100000E10002A01000005086467B16F6F36BA4D1408E895A1BF2A28CB891EE0DEC0574A3026E537200006400000000002
ee19kl3631qol646kjjrh6lh96pduqii.all.rr.org. 3600 IN NSEC3 1 0 5 6467B16F6F36BA4D 13k9b8dv58kcn28us3fc0lqa60jeadp0 A RRSIG
03616C6C027272036F7267000033000100000E10000D01000005086467B16F6F36BA4D
all.rr.org. 3600 IN NSEC3PARAM 1 0 5 6467B16F6F36BA4D
03616C6C027272036F7267000037000100000E10009E02200100107B1A74DF365639CC39F1D57803010001B771CA136E4AEB5CE44333C53B3D2C13C22243851FC708BCCE29F7E2EB5787B5F56CCAD34F8223ACC10904DDB56B2EC4A6D6232F3B50EA094F0914B3B941BBE529AF582C36BBADEFDAF2ADAF9B4911906F5B2522603C615272B880EC8FB930CC6EE39C444DAA75B1678F005A4B2499D1DA5433F805C7A5AD3237ACC5DD5C5E43AEFB1EC5A9A995E728
all.rr.org. 3600 IN HIP \# 158 02200100107B1A74DF365639CC39F1D57803010001B771CA136E4AEB5CE44333C53B3D2C13C22243851FC708BCCE29F7E2EB5787B5F56CCAD34F8223ACC10904DDB56B2EC4A6D6232F3B50EA094F0914B3B941BBE529AF582C36BBADEFDAF2ADAF9B4911906F5B2522603C615272B880EC8FB930CC6EE39C444DAA75B1678F005A4B2499D1DA5433F805C7A5AD3237ACC5DD5C5E43AEFB1EC5A9A995E728
03616C6C027272036F7267000063000100000E10002625763D73706631202B6D7820613A636F6C6F2E6578616D706C652E636F6D2F3238202D616C6C
all.rr.org. 3600 IN SPF "v=spf1 +mx a:colo.example.com/28 -all"
03616C6C027272036F7267008001000100000E10001830390301123456789ABCDEF67890123456789ABCDEF67890
all.rr.org. 3600 IN DLV 12345 3 1 123456789ABCDEF67890123456789ABCDEF67890

130
testdata/test_ldnsrr.c5 vendored Normal file

File diff suppressed because one or more lines are too long