example.zone 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ;;
  2. ;; This is a complete (but crafted and somewhat broken) zone file used
  3. ;; in query tests.
  4. ;;
  5. example.com. 3600 IN SOA . . 0 0 0 0 0
  6. example.com. 3600 IN NS glue.delegation.example.com.
  7. example.com. 3600 IN NS noglue.example.com.
  8. example.com. 3600 IN NS example.net.
  9. example.com. 3600 IN DS 57855 5 1 B6DCD485719ADCA18E5F3D48A2331627FDD3 636B
  10. glue.delegation.example.com. 3600 IN A 192.0.2.153
  11. glue.delegation.example.com. 3600 IN AAAA 2001:db8::53
  12. noglue.example.com. 3600 IN A 192.0.2.53
  13. delegation.example.com. 3600 IN NS glue.delegation.example.com.
  14. delegation.example.com. 3600 IN NS noglue.example.com.
  15. delegation.example.com. 3600 IN NS cname.example.com.
  16. delegation.example.com. 3600 IN NS example.org.
  17. ;; Borrowed from the RFC4035
  18. delegation.example.com. 3600 IN DS 57855 5 1 B6DCD485719ADCA18E5F3D48A2331627FDD3 636B
  19. mx.example.com. 3600 IN MX 10 www.example.com.
  20. mx.example.com. 3600 IN MX 20 mailer.example.org.
  21. mx.example.com. 3600 IN MX 30 mx.delegation.example.com.
  22. www.example.com. 3600 IN A 192.0.2.80
  23. cname.example.com. 3600 IN CNAME www.example.com.
  24. cnamenxdom.example.com. 3600 IN CNAME nxdomain.example.com.
  25. ;; CNAME Leading out of zone
  26. cnameout.example.com. 3600 IN CNAME www.example.org.
  27. ;; The DNAME to do tests against
  28. dname.example.com. 3600 IN DNAME somethinglong.dnametarget.example.com.
  29. ;; Some data at the dname node (allowed by RFC 2672)
  30. dname.example.com. 3600 IN A 192.0.2.5
  31. ;; The rest of data won't be referenced from the test cases.
  32. cnamemailer.example.com. 3600 IN CNAME www.example.com.
  33. cnamemx.example.com. 3600 IN MX 10 cnamemailer.example.com.
  34. mx.delegation.example.com. 3600 IN A 192.0.2.100
  35. ;; Wildcards
  36. *.wild.example.com. 3600 IN A 192.0.2.7
  37. *.wild.example.com. 3600 IN NSEC www.example.com. A NSEC RRSIG
  38. *.cnamewild.example.com. 3600 IN CNAME www.example.org.
  39. *.cnamewild.example.com. 3600 IN NSEC delegation.example.com. CNAME NSEC RRSIG
  40. ;; Wildcard_nxrrset
  41. *.uwild.example.com. 3600 IN A 192.0.2.9
  42. *.uwild.example.com. 3600 IN NSEC www.uwild.example.com. A NSEC RRSIG
  43. www.uwild.example.com. 3600 IN A 192.0.2.11
  44. www.uwild.example.com. 3600 IN NSEC *.wild.example.com. A NSEC RRSIG
  45. ;; Wildcard empty
  46. b.*.t.example.com. 3600 IN A 192.0.2.13
  47. b.*.t.example.com. 3600 IN NSEC *.uwild.example.com. A NSEC RRSIG
  48. t.example.com. 3600 IN A 192.0.2.15
  49. t.example.com. 3600 IN NSEC b.*.t.example.com. A NSEC RRSIG
  50. ;; Used in NXDOMAIN proof test. We are going to test some unusual case where
  51. ;; the best possible wildcard is below the "next domain" of the NSEC RR that
  52. ;; proves the NXDOMAIN, i.e.,
  53. ;; mx.example.com. (exist)
  54. ;; (.no.example.com. (qname, NXDOMAIN)
  55. ;; ).no.example.com. (exist)
  56. ;; *.no.example.com. (best possible wildcard, not exist)
  57. ).no.example.com. 3600 IN AAAA 2001:db8::53
  58. ;; NSEC records.
  59. example.com. 3600 IN NSEC cname.example.com. NS SOA NSEC RRSIG
  60. mx.example.com. 3600 IN NSEC ).no.example.com. MX NSEC RRSIG
  61. ).no.example.com. 3600 IN NSEC nz.no.example.com. AAAA NSEC RRSIG
  62. ;; We'll also test the case where a single NSEC proves both NXDOMAIN and the
  63. ;; non existence of wildcard. The following records will be used for that
  64. ;; test.
  65. ;; ).no.example.com. (exist, whose NSEC proves everything)
  66. ;; *.no.example.com. (best possible wildcard, not exist)
  67. ;; nx.no.example.com. (NXDOMAIN)
  68. ;; nz.no.example.com. (exist)
  69. nz.no.example.com. 3600 IN AAAA 2001:db8::5300
  70. nz.no.example.com. 3600 IN NSEC noglue.example.com. AAAA NSEC RRSIG
  71. noglue.example.com. 3600 IN NSEC nonsec.example.com. A
  72. ;; NSEC for the normal NXRRSET case
  73. www.example.com. 3600 IN NSEC example.com. A NSEC RRSIG
  74. ;; Authoritative data without NSEC
  75. nonsec.example.com. 3600 IN A 192.0.2.0
  76. ;; NSEC3 RRs. You may also need to add mapping to MockZoneFinder::hash_map_.
  77. 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example.com. 3600 IN NSEC3 1 1 12 aabbccdd 2t7b4g4vsa5smi47k61mv5bv1a22bojr NS SOA NSEC3PARAM RRSIG
  78. 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example.com. 3600 IN RRSIG NSEC3 5 3 3600 20000101000000 20000201000000 12345 example.com. FAKEFAKEFAKE
  79. q04jkcevqvmu85r014c7dkba38o0ji5r.example.com. 3600 IN NSEC3 1 1 12 aabbccdd r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG
  80. q04jkcevqvmu85r014c7dkba38o0ji5r.example.com. 3600 IN RRSIG NSEC3 5 3 3600 20000101000000 20000201000000 12345 example.com. FAKEFAKEFAKE
  81. ;; NSEC3 for wild.example.com (used in wildcard tests, will be added on
  82. ;; demand not to confuse other tests)
  83. ji6neoaepv8b5o6k4ev33abha8ht9fgc.example.com. 3600 IN NSEC3 1 1 12 aabbccdd r53bq7cc2uvmubfu5ocmm6pers9tk9en
  84. ;; NSEC3 for cnamewild.example.com (used in wildcard tests, will be added on
  85. ;; demand not to confuse other tests)
  86. k8udemvp1j2f7eg6jebps17vp3n8i58h.example.com. 3600 IN NSEC3 1 1 12 aabbccdd r53bq7cc2uvmubfu5ocmm6pers9tk9en
  87. ;; NSEC3 for *.uwild.example.com (will be added on demand not to confuse
  88. ;; other tests)
  89. b4um86eghhds6nea196smvmlo4ors995.example.com. 3600 IN NSEC3 1 1 12 aabbccdd r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG
  90. ;; NSEC3 for uwild.example.com. (will be added on demand)
  91. t644ebqk9bibcna874givr6joj62mlhv.example.com. 3600 IN NSEC3 1 1 12 aabbccdd r53bq7cc2uvmubfu5ocmm6pers9tk9en A RRSIG
  92. ;; (Secure) delegation data; Delegation with DS record
  93. signed-delegation.example.com. 3600 IN NS ns.example.net.
  94. signed-delegation.example.com. 3600 IN DS 12345 8 2 764501411DE58E8618945054A3F620B36202E115D015A7773F4B78E0F952CECA
  95. ;; (Secure) delegation data; Delegation without DS record (and both NSEC
  96. ;; and NSEC3 denying its existence)
  97. unsigned-delegation.example.com. 3600 IN NS ns.example.net.
  98. unsigned-delegation.example.com. 3600 IN NSEC unsigned-delegation-optout.example.com. NS RRSIG NSEC
  99. ;; This one will be added on demand
  100. q81r598950igr1eqvc60aedlq66425b5.example.com. 3600 IN NSEC3 1 1 12 aabbccdd 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom NS RRSIG
  101. ;; Delegation without DS record, and no direct matching NSEC3 record
  102. unsigned-delegation-optout.example.com. 3600 IN NS ns.example.net.
  103. unsigned-delegation-optout.example.com. 3600 IN NSEC *.uwild.example.com. NS RRSIG NSEC
  104. ;; (Secure) delegation data; Delegation where the DS lookup will raise an
  105. ;; exception.
  106. bad-delegation.example.com. 3600 IN NS ns.example.net.
  107. ;; Delegation from an unsigned parent. There's no DS, and there's no NSEC
  108. ;; or NSEC3 that proves it.
  109. nosec-delegation.example.com. 3600 IN NS ns.nosec.example.net.