Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
06eeaf02
Commit
06eeaf02
authored
Dec 07, 2012
by
Jelte Jansen
Browse files
[2504] use example.com zone for test
parent
4a9ea530
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/memory/testdata/2504-test.zone
View file @
06eeaf02
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN SOA ns
2.tjeb.nl. tjeb.tjeb.nl. 2012120601 28800 7200 604800 180
00
example.com
.
3
600 IN SOA ns
.example.com. admin.example.com. 1234 3600 1800 2419200 72
00
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN
A 178.18.82.80
example.com
.
3
600 IN
RRSIG SOA 5 2 3600 20130104152459 20121207152459 5196 example.com. ijAvh4ZzAfMCKKWN64aR5CWaHYTAvhJjgBLV+1/RFPG3150DwDr9EI0bCdVyRIMDDLOeQnn0N70rtc051rA2pJVNpEzG2hPIy3Yd2kDsbFBn0atiz3rvjpRLcmmWWYoZihpkFwKRxD41OzJPLg83/yJr1nAu3qSQXh4LmuNfgwI=
ok.ok.ok.ok.dnssec.tjeb.nl. 3600 IN DNSKEY 256 3 5 AwEAAag7J/qxkLI1keftNSKe0fqa2mU1GaeZGQoOSgVZvJAMh6LK9F1NMmWP2MeaeJvfTkmZs2UggGnFjkb7QQygrZnfxxCOVu5fG8x3Na5Z7jAdMgVfuJ1FTmsi2Bj4W/+b3fuvv/eVGqlEsFdth+sGA+BKH9mdBwmt+aXJf9gohXpx ;{id = 34791 (zsk), size = 1024b}
example.com. 3600 IN A 192.0.2.1
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN
NS ns2.tjeb.nl.
example.com
.
3
600 IN
RRSIG A 5 2 3600 20130104152459 20121207152459 5196 example.com. XnVKYuSH+BANWiULSJAk6wmwnba8hUS9j2cgrCMFcn43XlAUCCNigoMCWhaGbsssMaOyjdwfL3sQZr/NHaQ0ITSL8IZj7t8rOiCvCrUAktuG5UuHmHET6XKPkf03JaoPXIzO9smBqvjFHz1HsuPGxwGh8ztY0p291iXk0zbRwc8=
ok.ok.ok.ok.dnssec.tjeb.nl. 18000 IN NSEC ok.ok.ok.ok.dnssec.tjeb.nl. A NS SOA RRSIG NSEC DNSKEY
example.com. 3600 IN NS example.com.
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN RRSIG
SOA 5 7
600 20
20
010
1000000 20120627091929 34791 ok.ok.ok.ok.dnssec.tjeb.nl. Z+LjS0NtrUkOje1PZht8a3TylxEKabDltJSye3NO/n6tE9268S5EqQ6r0nZ0hO78c9r4lYxMlvnfyTAj/5rR/zdApCS0EnpQenVyvwagIAVdIcNqpZxr7i/tFmOvxyQK3NRhWqH83WhNwqRE1E4thUfNovtyscSLR+TOhuEBKlg
=
example.com
.
3
600 IN RRSIG
NS 5 2 3
600 20
13
010
4152459 20121207152459 5196 example.com. W5v7dr/WV8FGdxWFS0h1crd1MRxkSrkcmcAs7CT0+uhmVvbx06PsBxGRuCHyL8Y5NimsMs2RLjhkUkJw1+aSLVtTlbC8Pg5dFDK3bGkzBEq3wRcIXf5bM2Lf+l/cWxGY0NgR1Wrq0ckXsnFxegGm9G3OtpCZgTv0L+9cCO4MS7c
=
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN
RRSIG A 5 7 600 20200101000000 20120627091929 34791 ok.ok.ok.ok.dnssec.tjeb.nl. oYbwX46pDyaTNIeZByyLnUVc4RNgFmGeUuJ4sn0aIqrX6UqfNJwJpZiCspcyBRBNIZye6ypVNFD9RUHesrELHjFOAustg86GFws1jeEoDbi4W6wmeNQqiUfnyaqME3rHD9WE7I99Nqiyp8ZEBseem/SIOCsEXxPLrhoAL+Fa1+s=
example.com
.
3
600 IN
DNSKEY 256 3 5 AwEAAZIOhUpUld/OBPeNJ26O1twKj3fRLPt4X8H6N01t4s+VT5v9jaCnCVX4O1LbALdJUv5uPwL4gy4qvf+7Z3Xanp7QCZ5i7ivS1qfiz2tfacXwtVv4aI4EqS7deYN6yD4S/vIpwW+2FoqUWhQtdhC68ex1YfjeEI+CUbAKlF5XgQR5 ;{id = 5196 (zsk), size = 1024b}
ok.ok.ok.ok.dnssec.tjeb.nl
. 600 IN RRSIG NS
5 7 600 20200101000000 20120627091929 34791 ok.ok.ok.ok.dnssec.tjeb.nl. KBRov1y79yN75feRo2Bv5B+UpmDAyEr/kTgWgL9dYtkuQXvT7Y1Lg5jhcFmyrAkpYud70i5Un2DEUtmnI2oUR7XUh1RDnMQZRgKkaDXNXj5D379hLxpD2jtN+A311ShReaM4laj44UiDzu0pjGtrDT7BY1c4Qb5XI0RLyI0VKSs
=
example.com
.
3
600 IN RRSIG
D
NS
KEY 5 2 3600 20130104152459 20121207152459 5196 example.com. OiN+DBuEDnyEmMe0Qa4MN4SIJ71e+INNhOvoGBpWARiWu83QlPkoJhdU1GADBaanYdFL8UI0os6w2dkwp4aghChD+KWO40NuhUY2LrEUS2jbO3hEcCT3/acaVyucwVv1FjfC4d561Lkfnh8DM9nk5i75IeWVLklMqret1t/f0uY
=
ok.ok.ok.ok.dnssec.tjeb.nl. 3600 IN RRSIG DNSKEY 5 7 3600 20200101000000 20120627091929 34791 ok.ok.ok.ok.dnssec.tjeb.nl. NriwgSl8QskWiQMlIPzn3WvWQwfQDy8pnJ4U2qlOjWFeJ4wH7DS/P5BDh9+JXjKamh5Bdy2umSf1uY1BeodSP+Ga4yKxNb1sigGbToYGDsbLP1NfPPq6uijl5nRhqBQAAzjCmyU9sm6GUr/CyOpSTTxtFjosXZQ1t1GFya6Tgho=
example.com. 7200 IN NSEC example.com. A NS SOA RRSIG NSEC DNSKEY
ok.ok.ok.ok.dnssec.tjeb.nl. 18000 IN RRSIG NSEC 5 7 18000 20200101000000 20120627091929 34791 ok.ok.ok.ok.dnssec.tjeb.nl. ijT2etFxkmNLMdbugWsIrnPuJqxdPPO/ilWUb0ZapcuwtqV4mTZCalUlb3KSpcczHPfyClF7WvMEKdluLrX55TPKEBxx1AIdOduhwSTxCxgZpOp4LFIR3rg5hTH9bupEUvbFPWU8RX5oX0GLE0V/EpfNYpHOtvvG3rnegwynML4
=
example.com. 7200 IN RRSIG NSEC 5 2 7200 20130104152459 20121207152459 5196 example.com. P4eCHTNJImfwQ+wLa3jeySkVeJnzCmb4zFUDQEZIk3GSjLGUHZhHswqSAhpgevx6ZNX/pOqN/Dybf9oadFCZXyoMQDijP02LcDEl4X1ccNiakg6i/9RG9PcEx5ZWJlCFAJ0tOhp1kauZu/HUlkscTAVgBRud0qEclWJacH1k80E
=
src/lib/datasrc/tests/memory/zone_finder_unittest.cc
View file @
06eeaf02
...
@@ -1436,13 +1436,13 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest) {
...
@@ -1436,13 +1436,13 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest) {
shared_ptr
<
ZoneTableSegment
>
ztable_segment
(
shared_ptr
<
ZoneTableSegment
>
ztable_segment
(
new
ZoneTableSegmentTest
(
class_
,
mem_sgmt_
));
new
ZoneTableSegmentTest
(
class_
,
mem_sgmt_
));
InMemoryClient
client
(
ztable_segment
,
class_
);
InMemoryClient
client
(
ztable_segment
,
class_
);
Name
name
(
"
ok.ok.ok.ok.dnssec.tjeb.nl
."
);
Name
name
(
"
example.com
."
);
client
.
load
(
name
,
TEST_DATA_DIR
"/2504-test.zone"
);
client
.
load
(
name
,
TEST_DATA_DIR
"/2504-test.zone"
);
DataSourceClient
::
FindResult
result
(
client
.
findZone
(
name
));
DataSourceClient
::
FindResult
result
(
client
.
findZone
(
name
));
// Check for a non-existing name
// Check for a non-existing name
Name
search_name
(
"nonexist.
ok.ok.ok.ok.dnssec.tjeb.nl
."
);
Name
search_name
(
"nonexist.
example.com
."
);
ZoneFinderContextPtr
find_result
(
ZoneFinderContextPtr
find_result
(
result
.
zone_finder
->
find
(
search_name
,
result
.
zone_finder
->
find
(
search_name
,
RRType
::
A
(),
ZoneFinder
::
FIND_DNSSEC
));
RRType
::
A
(),
ZoneFinder
::
FIND_DNSSEC
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment