├── .DS_Store ├── Config ├── .DS_Store ├── Dnsdist │ └── dnsdist.conf ├── Unbound │ ├── .DS_Store │ ├── 国内 │ │ ├── .DS_Store │ │ ├── forward.conf │ │ ├── insecure.conf │ │ └── unbound.conf │ └── 国外 │ │ ├── domestic.conf │ │ └── unbound.conf ├── doh-server.conf └── root.hints ├── Docker ├── Dockerfile ├── README.md ├── data │ ├── conf │ │ ├── caddy.conf │ │ ├── doh-server.conf │ │ ├── supervisord.conf │ │ └── unbound │ │ │ ├── root.hints │ │ │ ├── unbound-gn.conf │ │ │ └── unbound-gw.conf │ ├── dns-over-https │ │ ├── .gitignore │ │ ├── Changelog.md │ │ ├── Dockerfile.client │ │ ├── Dockerfile.server │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── NetworkManager │ │ │ ├── Makefile │ │ │ └── dispatcher.d │ │ │ │ ├── doh-client │ │ │ │ └── doh-server │ │ ├── Readme.md │ │ ├── contrib │ │ │ ├── linux-install.md │ │ │ ├── linux-install.sh │ │ │ └── rpm │ │ │ │ ├── dns-over-https-2.1.2-systemd.patch │ │ │ │ ├── doh.spec │ │ │ │ ├── doh_client.fc │ │ │ │ ├── doh_client.if │ │ │ │ ├── doh_client.te │ │ │ │ ├── doh_server.fc │ │ │ │ ├── doh_server.if │ │ │ │ └── doh_server.te │ │ ├── darwin-wrapper │ │ │ ├── Makefile │ │ │ └── doh-logger.swift │ │ ├── doh-client │ │ │ ├── client.go │ │ │ ├── config │ │ │ │ └── config.go │ │ │ ├── doh-client.conf │ │ │ ├── google.go │ │ │ ├── ietf.go │ │ │ ├── main.go │ │ │ ├── selector │ │ │ │ ├── lvsWRRSelector.go │ │ │ │ ├── nginxWRRSelector.go │ │ │ │ ├── randomSelector.go │ │ │ │ ├── selector.go │ │ │ │ ├── upstream.go │ │ │ │ └── upstreamStatus.go │ │ │ └── version.go │ │ ├── doh-server │ │ │ ├── config.go │ │ │ ├── doh-server.conf │ │ │ ├── google.go │ │ │ ├── ietf.go │ │ │ ├── main.go │ │ │ ├── server.go │ │ │ └── version.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── json-dns │ │ │ ├── error.go │ │ │ ├── globalip.go │ │ │ ├── marshal.go │ │ │ ├── response.go │ │ │ └── unmarshal.go │ │ ├── launchd │ │ │ ├── Makefile │ │ │ ├── doh-client.plist │ │ │ └── doh-server.plist │ │ └── systemd │ │ │ ├── Makefile │ │ │ ├── doh-client.service │ │ │ └── doh-server.service │ ├── entrypoint.sh │ ├── install.sh │ ├── shell │ │ ├── CKDNS │ │ └── UPDNS │ └── unbound │ │ ├── .gitattributes │ │ ├── .github │ │ └── FUNDING.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile.in │ │ ├── README │ │ ├── README.md │ │ ├── ac_pkg_swig.m4 │ │ ├── aclocal.m4 │ │ ├── acx_nlnetlabs.m4 │ │ ├── acx_python.m4 │ │ ├── ax_pthread.m4 │ │ ├── cachedb │ │ ├── cachedb.c │ │ ├── cachedb.h │ │ ├── redis.c │ │ └── redis.h │ │ ├── compat │ │ ├── arc4_lock.c │ │ ├── arc4random.c │ │ ├── arc4random_uniform.c │ │ ├── chacha_private.h │ │ ├── ctime_r.c │ │ ├── explicit_bzero.c │ │ ├── fake-rfc2553.c │ │ ├── fake-rfc2553.h │ │ ├── getentropy_freebsd.c │ │ ├── getentropy_linux.c │ │ ├── getentropy_osx.c │ │ ├── getentropy_solaris.c │ │ ├── getentropy_win.c │ │ ├── gmtime_r.c │ │ ├── inet_aton.c │ │ ├── inet_ntop.c │ │ ├── inet_pton.c │ │ ├── isblank.c │ │ ├── malloc.c │ │ ├── memcmp.c │ │ ├── memcmp.h │ │ ├── memmove.c │ │ ├── reallocarray.c │ │ ├── sha512.c │ │ ├── snprintf.c │ │ ├── strlcat.c │ │ ├── strlcpy.c │ │ ├── strptime.c │ │ └── strsep.c │ │ ├── config.guess │ │ ├── config.h.in │ │ ├── config.sub │ │ ├── configure │ │ ├── configure.ac │ │ ├── contrib │ │ ├── README │ │ ├── aaaa-filter-iterator.patch │ │ ├── build-unbound-localzone-from-hosts.pl │ │ ├── create_unbound_ad_servers.cmd │ │ ├── create_unbound_ad_servers.sh │ │ ├── drop-tld.diff │ │ ├── drop2rpz │ │ ├── fastrpz.patch │ │ ├── libunbound.pc.in │ │ ├── libunbound.so.conf │ │ ├── parseunbound.pl │ │ ├── patch_rsamd5_enable.diff │ │ ├── rc_d_unbound │ │ ├── redirect-bogus.patch │ │ ├── selinux │ │ │ ├── unbound.fc │ │ │ └── unbound.te │ │ ├── unbound-fuzzers.tar.bz2 │ │ ├── unbound-fuzzme.patch │ │ ├── unbound-host.nagios.patch │ │ ├── unbound-querycachedb.py │ │ ├── unbound.init │ │ ├── unbound.init_fedora │ │ ├── unbound.plist │ │ ├── unbound.service.in │ │ ├── unbound.socket.in │ │ ├── unbound.spec │ │ ├── unbound.spec_fedora │ │ ├── unbound_cache.cmd │ │ ├── unbound_cache.sh │ │ ├── unbound_cacti.tar.gz │ │ ├── unbound_munin_ │ │ ├── unbound_portable.service.in │ │ ├── unbound_smf23.tar.gz │ │ ├── update-anchor.sh │ │ ├── validation-reporter.sh │ │ ├── warmup.cmd │ │ └── warmup.sh │ │ ├── daemon │ │ ├── acl_list.c │ │ ├── acl_list.h │ │ ├── cachedump.c │ │ ├── cachedump.h │ │ ├── daemon.c │ │ ├── daemon.h │ │ ├── remote.c │ │ ├── remote.h │ │ ├── stats.c │ │ ├── stats.h │ │ ├── unbound.c │ │ ├── worker.c │ │ └── worker.h │ │ ├── dns64 │ │ ├── dns64.c │ │ └── dns64.h │ │ ├── dnscrypt │ │ ├── cert.h │ │ ├── dnscrypt.c │ │ ├── dnscrypt.h │ │ ├── dnscrypt.m4 │ │ ├── dnscrypt_config.h.in │ │ └── testdata │ │ │ ├── gencert.sh │ │ │ ├── keys1 │ │ │ ├── public.key │ │ │ └── secret.key │ │ │ └── keys2 │ │ │ ├── public.key │ │ │ └── secret.key │ │ ├── dnstap │ │ ├── dnstap.c │ │ ├── dnstap.h │ │ ├── dnstap.m4 │ │ ├── dnstap.proto │ │ └── dnstap_config.h.in │ │ ├── doc │ │ ├── CNAME-basedRedirectionDesignNotes.pdf │ │ ├── CREDITS │ │ ├── Changelog │ │ ├── FEATURES │ │ ├── IP-BasedActions.pdf │ │ ├── LICENSE │ │ ├── README │ │ ├── README.DNS64 │ │ ├── README.ipset.md │ │ ├── README.svn │ │ ├── README.tests │ │ ├── TODO │ │ ├── control_proto_spec.txt │ │ ├── example.conf.in │ │ ├── ietf67-design-02.odp │ │ ├── ietf67-design-02.pdf │ │ ├── libunbound.3.in │ │ ├── requirements.txt │ │ ├── unbound-anchor.8.in │ │ ├── unbound-checkconf.8.in │ │ ├── unbound-control.8.in │ │ ├── unbound-host.1.in │ │ ├── unbound.8.in │ │ ├── unbound.conf.5.in │ │ └── unbound.doxygen │ │ ├── edns-subnet │ │ ├── addrtree.c │ │ ├── addrtree.h │ │ ├── edns-subnet.c │ │ ├── edns-subnet.h │ │ ├── subnet-whitelist.c │ │ ├── subnet-whitelist.h │ │ ├── subnetmod.c │ │ └── subnetmod.h │ │ ├── install-sh │ │ ├── ipsecmod │ │ ├── ipsecmod-whitelist.c │ │ ├── ipsecmod-whitelist.h │ │ ├── ipsecmod.c │ │ └── ipsecmod.h │ │ ├── ipset │ │ ├── ipset.c │ │ └── ipset.h │ │ ├── iterator │ │ ├── iter_delegpt.c │ │ ├── iter_delegpt.h │ │ ├── iter_donotq.c │ │ ├── iter_donotq.h │ │ ├── iter_fwd.c │ │ ├── iter_fwd.h │ │ ├── iter_hints.c │ │ ├── iter_hints.h │ │ ├── iter_priv.c │ │ ├── iter_priv.h │ │ ├── iter_resptype.c │ │ ├── iter_resptype.h │ │ ├── iter_scrub.c │ │ ├── iter_scrub.h │ │ ├── iter_utils.c │ │ ├── iter_utils.h │ │ ├── iterator.c │ │ └── iterator.h │ │ ├── libunbound │ │ ├── context.c │ │ ├── context.h │ │ ├── libunbound.c │ │ ├── libworker.c │ │ ├── libworker.h │ │ ├── python │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── doc │ │ │ │ ├── _static │ │ │ │ │ └── readme │ │ │ │ ├── conf.py │ │ │ │ ├── examples │ │ │ │ │ ├── example1a.rst │ │ │ │ │ ├── example1b.rst │ │ │ │ │ ├── example2.rst │ │ │ │ │ ├── example3.rst │ │ │ │ │ ├── example4.rst │ │ │ │ │ ├── example5.rst │ │ │ │ │ ├── example6-1.py │ │ │ │ │ ├── example6.rst │ │ │ │ │ ├── example7-1.py │ │ │ │ │ ├── example7-2.py │ │ │ │ │ ├── example7.rst │ │ │ │ │ ├── example8-1.py │ │ │ │ │ ├── example8.rst │ │ │ │ │ └── index.rst │ │ │ │ ├── index.rst │ │ │ │ ├── install.rst │ │ │ │ ├── intro.rst │ │ │ │ └── modules │ │ │ │ │ └── unbound.rst │ │ │ ├── examples │ │ │ │ ├── async-lookup.py │ │ │ │ ├── dns-lookup.py │ │ │ │ ├── dnssec-valid.py │ │ │ │ ├── dnssec_test.py │ │ │ │ ├── example8-1.py │ │ │ │ ├── idn-lookup.py │ │ │ │ ├── mx-lookup.py │ │ │ │ ├── ns-lookup.py │ │ │ │ └── reverse-lookup.py │ │ │ ├── file_py3.i │ │ │ └── libunbound.i │ │ ├── ubsyms.def │ │ ├── unbound-event.h │ │ ├── unbound.h │ │ └── worker.h │ │ ├── ltmain.sh │ │ ├── pythonmod │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── doc │ │ │ ├── _static │ │ │ │ └── readme │ │ │ ├── conf.py │ │ │ ├── examples │ │ │ │ ├── example0-1.py │ │ │ │ ├── example0.rst │ │ │ │ ├── example1.rst │ │ │ │ ├── example2.rst │ │ │ │ ├── example3.rst │ │ │ │ ├── example4.rst │ │ │ │ ├── example5.rst │ │ │ │ ├── example6.rst │ │ │ │ └── index.rst │ │ │ ├── index.rst │ │ │ ├── install.rst │ │ │ ├── modules │ │ │ │ ├── config.rst │ │ │ │ ├── env.rst │ │ │ │ ├── functions.rst │ │ │ │ ├── index.rst │ │ │ │ └── struct.rst │ │ │ └── usecase.rst │ │ ├── examples │ │ │ ├── avahi-resolver.py │ │ │ ├── calc.py │ │ │ ├── dict.py │ │ │ ├── dict_data.txt │ │ │ ├── edns.py │ │ │ ├── inplace_callbacks.py │ │ │ ├── log.py │ │ │ ├── resgen.py │ │ │ ├── resip.py │ │ │ └── resmod.py │ │ ├── interface.i │ │ ├── pythonmod.c │ │ ├── pythonmod.h │ │ ├── pythonmod_utils.c │ │ ├── pythonmod_utils.h │ │ ├── test-calc.conf │ │ ├── test-dict.conf │ │ ├── test-edns.conf │ │ ├── test-inplace_callbacks.conf │ │ ├── test-log.conf │ │ ├── test-resgen.conf │ │ ├── test-resip.conf │ │ ├── test-resmod.conf │ │ ├── ubmodule-msg.py │ │ └── ubmodule-tst.py │ │ ├── respip │ │ ├── respip.c │ │ └── respip.h │ │ ├── services │ │ ├── authzone.c │ │ ├── authzone.h │ │ ├── cache │ │ │ ├── dns.c │ │ │ ├── dns.h │ │ │ ├── infra.c │ │ │ ├── infra.h │ │ │ ├── rrset.c │ │ │ └── rrset.h │ │ ├── listen_dnsport.c │ │ ├── listen_dnsport.h │ │ ├── localzone.c │ │ ├── localzone.h │ │ ├── mesh.c │ │ ├── mesh.h │ │ ├── modstack.c │ │ ├── modstack.h │ │ ├── outbound_list.c │ │ ├── outbound_list.h │ │ ├── outside_network.c │ │ ├── outside_network.h │ │ ├── rpz.c │ │ ├── rpz.h │ │ ├── view.c │ │ └── view.h │ │ ├── sldns │ │ ├── keyraw.c │ │ ├── keyraw.h │ │ ├── parse.c │ │ ├── parse.h │ │ ├── parseutil.c │ │ ├── parseutil.h │ │ ├── pkthdr.h │ │ ├── rrdef.c │ │ ├── rrdef.h │ │ ├── sbuffer.c │ │ ├── sbuffer.h │ │ ├── str2wire.c │ │ ├── str2wire.h │ │ ├── wire2str.c │ │ └── wire2str.h │ │ ├── smallapp │ │ ├── unbound-anchor.c │ │ ├── unbound-checkconf.c │ │ ├── unbound-control-setup.sh.in │ │ ├── unbound-control.c │ │ ├── unbound-host.c │ │ └── worker_cb.c │ │ ├── systemd.m4 │ │ ├── testcode │ │ ├── asynclook.c │ │ ├── checklocks.c │ │ ├── checklocks.h │ │ ├── delayer.c │ │ ├── do-tests.sh │ │ ├── fake_event.c │ │ ├── fake_event.h │ │ ├── lock_verify.c │ │ ├── memstats.c │ │ ├── mini_tdir.sh │ │ ├── mini_tpkg.sh │ │ ├── perf.c │ │ ├── petal.c │ │ ├── pktview.c │ │ ├── readhex.c │ │ ├── readhex.h │ │ ├── replay.c │ │ ├── replay.h │ │ ├── run_vm.sh │ │ ├── signit.c │ │ ├── streamtcp.1 │ │ ├── streamtcp.c │ │ ├── testbound.c │ │ ├── testpkts.c │ │ ├── testpkts.h │ │ ├── unitanchor.c │ │ ├── unitauth.c │ │ ├── unitdname.c │ │ ├── unitecs.c │ │ ├── unitldns.c │ │ ├── unitlruhash.c │ │ ├── unitmain.c │ │ ├── unitmain.h │ │ ├── unitmsgparse.c │ │ ├── unitneg.c │ │ ├── unitregional.c │ │ ├── unitslabhash.c │ │ └── unitverify.c │ │ ├── testdata │ │ ├── 00-lint.tdir │ │ │ ├── 00-lint.dsc │ │ │ └── 00-lint.test │ │ ├── 01-doc.tdir │ │ │ ├── 01-doc.dsc │ │ │ └── 01-doc.test │ │ ├── 02-unittest.tdir │ │ │ ├── 02-unittest.dsc │ │ │ └── 02-unittest.test │ │ ├── 03-testbound.tdir │ │ │ ├── 03-testbound.dsc │ │ │ └── 03-testbound.test │ │ ├── 04-checkconf.tdir │ │ │ ├── 04-checkconf.dsc │ │ │ ├── 04-checkconf.test │ │ │ ├── bad.badfwd │ │ │ ├── bad.badif │ │ │ ├── bad.badip │ │ │ ├── bad.bind │ │ │ ├── bad.user │ │ │ ├── good.all │ │ │ ├── good.ifport │ │ │ ├── good.include │ │ │ └── warn.algo │ │ ├── 05-asynclook.tdir │ │ │ ├── 05-asynclook.dsc │ │ │ ├── 05-asynclook.hosts │ │ │ ├── 05-asynclook.post │ │ │ ├── 05-asynclook.pre │ │ │ ├── 05-asynclook.test │ │ │ └── 05-asynclook.testns │ │ ├── 06-ianaports.tdir │ │ │ ├── 06-ianaports.dsc │ │ │ └── 06-ianaports.test │ │ ├── 07-confroot.tdir │ │ │ ├── 07-confroot.dsc │ │ │ └── 07-confroot.test │ │ ├── 08-host-lib.tdir │ │ │ ├── 08-host-lib.dsc │ │ │ ├── 08-host-lib.hosts │ │ │ ├── 08-host-lib.post │ │ │ ├── 08-host-lib.pre │ │ │ ├── 08-host-lib.test │ │ │ └── 08-host-lib.testns │ │ ├── 09-unbound-control.tdir │ │ │ ├── 09-unbound-control.conf │ │ │ ├── 09-unbound-control.dsc │ │ │ ├── 09-unbound-control.post │ │ │ ├── 09-unbound-control.pre │ │ │ ├── 09-unbound-control.test │ │ │ ├── 09-unbound-control.testns │ │ │ ├── bad_control.key │ │ │ ├── bad_control.pem │ │ │ ├── bad_server.key │ │ │ ├── bad_server.pem │ │ │ ├── local_data │ │ │ ├── local_data_remove │ │ │ ├── local_zones │ │ │ ├── local_zones_remove │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── 10-unbound-anchor.tdir │ │ │ ├── 10-unbound-anchor.conf │ │ │ ├── 10-unbound-anchor.dsc │ │ │ ├── 10-unbound-anchor.post │ │ │ ├── 10-unbound-anchor.pre │ │ │ ├── 10-unbound-anchor.test │ │ │ ├── 10-unbound-anchor.testns │ │ │ ├── 127.0.0.1 │ │ │ │ ├── bad.p7s │ │ │ │ ├── bad.xml │ │ │ │ ├── no_more_keys.p7s │ │ │ │ ├── no_more_keys.xml │ │ │ │ ├── root.p7s │ │ │ │ └── root.xml │ │ │ ├── K.+005+37348.ds │ │ │ ├── K.+005+37348.key │ │ │ ├── K.+005+37348.private │ │ │ ├── keys │ │ │ │ ├── test_cert.key │ │ │ │ ├── test_cert.pem │ │ │ │ ├── unbound-control-setup │ │ │ │ ├── unbound_control.key │ │ │ │ ├── unbound_control.pem │ │ │ │ ├── unbound_server.key │ │ │ │ └── unbound_server.pem │ │ │ ├── petal.key │ │ │ ├── petal.pem │ │ │ ├── signit │ │ │ ├── test_cert.key │ │ │ └── test_cert.pem │ │ ├── Kexample.com.+003+02854.ds │ │ ├── Kexample.com.+003+02854.key │ │ ├── Kexample.com.+003+02854.private │ │ ├── Kexample.com.+005+16486.ds │ │ ├── Kexample.com.+005+16486.key │ │ ├── Kexample.com.+005+16486.private │ │ ├── Kexample.com.+005+30899.ds │ │ ├── Kexample.com.+005+30899.key │ │ ├── Kexample.com.+005+30899.private │ │ ├── Kexample.com.+005+55582.ds │ │ ├── Kexample.com.+005+55582.key │ │ ├── Kexample.com.+005+55582.private │ │ ├── Kexample.com.+005+60946.ds │ │ ├── Kexample.com.+005+60946.key │ │ ├── Kexample.com.+005+60946.private │ │ ├── Kexample.com.+007+57024.ds │ │ ├── Kexample.com.+007+57024.key │ │ ├── Kexample.com.+007+57024.private │ │ ├── Kexample.com.+008+01443.ds │ │ ├── Kexample.com.+008+01443.key │ │ ├── Kexample.com.+008+01443.private │ │ ├── Kexample.com.+008+29332.ds │ │ ├── Kexample.com.+008+29332.key │ │ ├── Kexample.com.+008+29332.private │ │ ├── Kexample.com.+008+55566.ds │ │ ├── Kexample.com.+008+55566.key │ │ ├── Kexample.com.+008+55566.private │ │ ├── Kexample.com.+009+48886.ds │ │ ├── Kexample.com.+009+48886.key │ │ ├── Kexample.com.+009+48886.private │ │ ├── Kexample.com.+012+60385.ds │ │ ├── Kexample.com.+012+60385.key │ │ ├── Kexample.com.+012+60385.private │ │ ├── acl.rpl │ │ ├── auth_axfr.tdir │ │ │ ├── auth_axfr.conf │ │ │ ├── auth_axfr.dsc │ │ │ ├── auth_axfr.post │ │ │ ├── auth_axfr.pre │ │ │ ├── auth_axfr.test │ │ │ └── auth_axfr.testns │ │ ├── auth_https.tdir │ │ │ ├── 127.0.0.1 │ │ │ │ └── example.com.zone │ │ │ ├── auth_https.conf │ │ │ ├── auth_https.dsc │ │ │ ├── auth_https.post │ │ │ ├── auth_https.pre │ │ │ ├── auth_https.test │ │ │ ├── petal.key │ │ │ └── petal.pem │ │ ├── auth_nsec3_ent.rpl │ │ ├── auth_nsec3_wild.rpl │ │ ├── auth_xfr.rpl │ │ ├── auth_xfr_host.rpl │ │ ├── auth_xfr_ixfr.rpl │ │ ├── auth_xfr_ixfrisaxfr.rpl │ │ ├── auth_xfr_ixfrmismatch.rpl │ │ ├── auth_xfr_ixfrnotimpl.rpl │ │ ├── auth_xfr_notify.rpl │ │ ├── auth_xfr_probesoa.rpl │ │ ├── auth_zonefile.rpl │ │ ├── auth_zonefile_dnssec.rpl │ │ ├── auth_zonefile_dnssec_fail.rpl │ │ ├── auth_zonefile_down.rpl │ │ ├── auth_zonefile_noup.rpl │ │ ├── auth_zonefile_root.rpl │ │ ├── autotrust_10key.rpl │ │ ├── autotrust_addpend_2exceed.rpl │ │ ├── autotrust_addpend_early.rpl │ │ ├── autotrust_addpend_nosign.rpl │ │ ├── autotrust_addpend_nosignnew.rpl │ │ ├── autotrust_addpend_once.rpl │ │ ├── autotrust_addpend_twice.rpl │ │ ├── autotrust_init.rpl │ │ ├── autotrust_init_ds.rpl │ │ ├── autotrust_init_fail.rpl │ │ ├── autotrust_init_failsig.rpl │ │ ├── autotrust_init_legacy.rpl │ │ ├── autotrust_init_sigs.rpl │ │ ├── autotrust_init_zsk.rpl │ │ ├── autotrust_missing.rpl │ │ ├── autotrust_missing_all.rpl │ │ ├── autotrust_missing_returns.rpl │ │ ├── autotrust_probefail.rpl │ │ ├── autotrust_probefailsig.rpl │ │ ├── autotrust_revoked_use.rpl │ │ ├── autotrust_revoked_with_invalid.rpl │ │ ├── autotrust_revtp.rpl │ │ ├── autotrust_revtp_read.rpl │ │ ├── autotrust_revtp_use.rpl │ │ ├── autotrust_rollalgo.rpl │ │ ├── autotrust_rollalgo_unknown.rpl │ │ ├── autotrust_rollover.rpl │ │ ├── autotrust_valid_use.rpl │ │ ├── black_data.rpl │ │ ├── black_dnskey.rpl │ │ ├── black_ds.rpl │ │ ├── black_ds_entry.rpl │ │ ├── black_ent.rpl │ │ ├── black_key_entry.rpl │ │ ├── black_prime.rpl │ │ ├── black_prime_entry.rpl │ │ ├── chaos_trustanchor.rpl │ │ ├── clang-analysis.tdir │ │ │ ├── clang-analysis.dsc │ │ │ └── clang-analysis.test │ │ ├── common.sh │ │ ├── ctrl_itr.tdir │ │ │ ├── bad_control.key │ │ │ ├── bad_control.pem │ │ │ ├── bad_server.key │ │ │ ├── bad_server.pem │ │ │ ├── ctrl_itr.conf │ │ │ ├── ctrl_itr.dsc │ │ │ ├── ctrl_itr.post │ │ │ ├── ctrl_itr.pre │ │ │ ├── ctrl_itr.test │ │ │ ├── ctrl_itr.testns │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── ctrl_pipe.tdir │ │ │ ├── bad_control.key │ │ │ ├── bad_control.pem │ │ │ ├── bad_server.key │ │ │ ├── bad_server.pem │ │ │ ├── ctrl_pipe.conf │ │ │ ├── ctrl_pipe.dsc │ │ │ ├── ctrl_pipe.post │ │ │ ├── ctrl_pipe.pre │ │ │ ├── ctrl_pipe.test │ │ │ ├── ctrl_pipe.testns │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── dlv_anchor.rpl │ │ ├── dlv_ask_higher.rpl │ │ ├── dlv_below_ta.rpl │ │ ├── dlv_delegation.rpl │ │ ├── dlv_ds_lookup.rpl │ │ ├── dlv_insecure.rpl │ │ ├── dlv_insecure_negcache.rpl │ │ ├── dlv_keyretry.rpl │ │ ├── dlv_negnx.rpl │ │ ├── dlv_optout.rpl │ │ ├── dlv_remove.rpl │ │ ├── dlv_remove_empty.rpl │ │ ├── dlv_remove_nodel.rpl │ │ ├── dlv_remove_pos.rpl │ │ ├── dlv_unused.rpl │ │ ├── dns64_lookup.rpl │ │ ├── dnscrypt_cert.tdir │ │ │ ├── 1.cert │ │ │ ├── 1.key │ │ │ ├── 1_chacha.cert │ │ │ ├── 1_salsa.cert │ │ │ ├── 2.cert │ │ │ ├── 2.key │ │ │ ├── 2_chacha.cert │ │ │ ├── 2_salsa.cert │ │ │ ├── dnscrypt_cert.conf │ │ │ ├── dnscrypt_cert.dsc │ │ │ ├── dnscrypt_cert.post │ │ │ ├── dnscrypt_cert.pre │ │ │ ├── dnscrypt_cert.test │ │ │ ├── dnscrypt_cert.testns │ │ │ └── precheck.sh │ │ ├── dnscrypt_cert_chacha.tdir │ │ │ ├── 1.cert │ │ │ ├── 1.key │ │ │ ├── 1_chacha.cert │ │ │ ├── 1_salsa.cert │ │ │ ├── 2.cert │ │ │ ├── 2.key │ │ │ ├── 2_chacha.cert │ │ │ ├── 2_salsa.cert │ │ │ ├── dnscrypt_cert_chacha.conf │ │ │ ├── dnscrypt_cert_chacha.dsc │ │ │ ├── dnscrypt_cert_chacha.post │ │ │ ├── dnscrypt_cert_chacha.pre │ │ │ ├── dnscrypt_cert_chacha.test │ │ │ ├── dnscrypt_cert_chacha.testns │ │ │ └── precheck.sh │ │ ├── domain_insec_dlv.rpl │ │ ├── domain_insec_ds.rpl │ │ ├── edns_cache.tdir │ │ │ ├── edns_cache.conf │ │ │ ├── edns_cache.dsc │ │ │ ├── edns_cache.post │ │ │ ├── edns_cache.pre │ │ │ ├── edns_cache.stub1 │ │ │ ├── edns_cache.stub2 │ │ │ └── edns_cache.test │ │ ├── edns_keepalive.rpl │ │ ├── fetch_glue.rpl │ │ ├── fetch_glue_cname.rpl │ │ ├── fwd.rpl │ │ ├── fwd_0ttlservfail.rpl │ │ ├── fwd_ancil.tdir │ │ │ ├── fwd_ancil.conf │ │ │ ├── fwd_ancil.dsc │ │ │ ├── fwd_ancil.post │ │ │ ├── fwd_ancil.pre │ │ │ ├── fwd_ancil.test │ │ │ └── fwd_ancil.testns │ │ ├── fwd_any.rpl │ │ ├── fwd_bogus.tdir │ │ │ ├── fwd_bogus.conf │ │ │ ├── fwd_bogus.dsc │ │ │ ├── fwd_bogus.post │ │ │ ├── fwd_bogus.pre │ │ │ ├── fwd_bogus.test │ │ │ ├── fwd_bogus.testns │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── fwd_cached.rpl │ │ ├── fwd_capsid.tdir │ │ │ ├── fwd_capsid.conf │ │ │ ├── fwd_capsid.dsc │ │ │ ├── fwd_capsid.post │ │ │ ├── fwd_capsid.pre │ │ │ ├── fwd_capsid.test │ │ │ └── fwd_capsid.testns │ │ ├── fwd_capsid_fallback.tdir │ │ │ ├── fwd_capsid_fallback.conf │ │ │ ├── fwd_capsid_fallback.dsc │ │ │ ├── fwd_capsid_fallback.post │ │ │ ├── fwd_capsid_fallback.pre │ │ │ ├── fwd_capsid_fallback.test │ │ │ └── fwd_capsid_fallback.testns │ │ ├── fwd_capsid_strip.tdir │ │ │ ├── fwd_capsid_strip.conf │ │ │ ├── fwd_capsid_strip.dsc │ │ │ ├── fwd_capsid_strip.post │ │ │ ├── fwd_capsid_strip.pre │ │ │ ├── fwd_capsid_strip.test │ │ │ ├── fwd_capsid_strip.testns │ │ │ └── fwd_capsid_strip.testns2 │ │ ├── fwd_capsid_white.tdir │ │ │ ├── fwd_capsid_white.conf │ │ │ ├── fwd_capsid_white.dsc │ │ │ ├── fwd_capsid_white.post │ │ │ ├── fwd_capsid_white.pre │ │ │ ├── fwd_capsid_white.test │ │ │ ├── fwd_capsid_white.testns │ │ │ └── fwd_capsid_white.testns2 │ │ ├── fwd_compress_c00c.tdir │ │ │ ├── fwd_compress_c00c.conf │ │ │ ├── fwd_compress_c00c.dsc │ │ │ ├── fwd_compress_c00c.good │ │ │ ├── fwd_compress_c00c.post │ │ │ ├── fwd_compress_c00c.pre │ │ │ ├── fwd_compress_c00c.test │ │ │ └── fwd_compress_c00c.testns │ │ ├── fwd_droptoomany.rpl │ │ ├── fwd_edns_bksec.tdir │ │ │ ├── fwd_edns_bksec.conf │ │ │ ├── fwd_edns_bksec.dsc │ │ │ ├── fwd_edns_bksec.post │ │ │ ├── fwd_edns_bksec.pre │ │ │ ├── fwd_edns_bksec.test │ │ │ └── fwd_edns_bksec.testns │ │ ├── fwd_edns_probe.tdir │ │ │ ├── fwd_edns_probe.conf │ │ │ ├── fwd_edns_probe.dsc │ │ │ ├── fwd_edns_probe.post │ │ │ ├── fwd_edns_probe.pre │ │ │ ├── fwd_edns_probe.test │ │ │ └── fwd_edns_probe.testns │ │ ├── fwd_error.rpl │ │ ├── fwd_jostle.rpl │ │ ├── fwd_jostle_out.rpl │ │ ├── fwd_lrudrop.rpl │ │ ├── fwd_malformed.tdir │ │ │ ├── fwd_malformed.conf │ │ │ ├── fwd_malformed.dsc │ │ │ ├── fwd_malformed.post │ │ │ ├── fwd_malformed.pre │ │ │ ├── fwd_malformed.test │ │ │ └── fwd_malformed.testns │ │ ├── fwd_minimal.rpl │ │ ├── fwd_no_cache.rpl │ │ ├── fwd_no_edns.tdir │ │ │ ├── fwd_no_edns.conf │ │ │ ├── fwd_no_edns.dsc │ │ │ ├── fwd_no_edns.post │ │ │ ├── fwd_no_edns.pre │ │ │ ├── fwd_no_edns.test │ │ │ └── fwd_no_edns.testns │ │ ├── fwd_notcached.rpl │ │ ├── fwd_oneport.tdir │ │ │ ├── fwd_oneport.conf │ │ │ ├── fwd_oneport.dsc │ │ │ ├── fwd_oneport.post │ │ │ ├── fwd_oneport.pre │ │ │ ├── fwd_oneport.test │ │ │ └── fwd_oneport.testns │ │ ├── fwd_tcp.tdir │ │ │ ├── fwd_tcp.conf │ │ │ ├── fwd_tcp.dsc │ │ │ ├── fwd_tcp.post │ │ │ ├── fwd_tcp.pre │ │ │ ├── fwd_tcp.test │ │ │ └── fwd_tcp.testns │ │ ├── fwd_tcp_tc.tdir │ │ │ ├── fwd_tcp_tc.conf │ │ │ ├── fwd_tcp_tc.dsc │ │ │ ├── fwd_tcp_tc.post │ │ │ ├── fwd_tcp_tc.pre │ │ │ ├── fwd_tcp_tc.test │ │ │ └── fwd_tcp_tc.testns │ │ ├── fwd_tcp_tc6.tdir │ │ │ ├── fwd_tcp_tc6.conf │ │ │ ├── fwd_tcp_tc6.dsc │ │ │ ├── fwd_tcp_tc6.post │ │ │ ├── fwd_tcp_tc6.pre │ │ │ ├── fwd_tcp_tc6.test │ │ │ └── fwd_tcp_tc6.testns │ │ ├── fwd_three.tdir │ │ │ ├── fwd_three.conf │ │ │ ├── fwd_three.dsc │ │ │ ├── fwd_three.post │ │ │ ├── fwd_three.pre │ │ │ ├── fwd_three.test │ │ │ └── fwd_three.testns │ │ ├── fwd_three_service.tdir │ │ │ ├── fwd_three_service.conf │ │ │ ├── fwd_three_service.dsc │ │ │ ├── fwd_three_service.post │ │ │ ├── fwd_three_service.pre │ │ │ ├── fwd_three_service.test │ │ │ └── fwd_three_service.testns │ │ ├── fwd_timeout.rpl │ │ ├── fwd_ttlexpire.tdir │ │ │ ├── fwd_ttlexpire.conf │ │ │ ├── fwd_ttlexpire.dsc │ │ │ ├── fwd_ttlexpire.post │ │ │ ├── fwd_ttlexpire.pre │ │ │ ├── fwd_ttlexpire.test │ │ │ └── fwd_ttlexpire.testns │ │ ├── fwd_two.rpl │ │ ├── fwd_udp.tdir │ │ │ ├── fwd_udp.conf │ │ │ ├── fwd_udp.dsc │ │ │ ├── fwd_udp.post │ │ │ ├── fwd_udp.pre │ │ │ ├── fwd_udp.test │ │ │ └── fwd_udp.testns │ │ ├── fwd_udptmout.tdir │ │ │ ├── fwd_udptmout.conf │ │ │ ├── fwd_udptmout.dsc │ │ │ ├── fwd_udptmout.post │ │ │ ├── fwd_udptmout.pre │ │ │ ├── fwd_udptmout.test │ │ │ └── fwd_udptmout.testns │ │ ├── fwd_waitudp.tdir │ │ │ ├── fwd_waitudp.conf │ │ │ ├── fwd_waitudp.dsc │ │ │ ├── fwd_waitudp.post │ │ │ ├── fwd_waitudp.pre │ │ │ ├── fwd_waitudp.test │ │ │ └── fwd_waitudp.testns │ │ ├── fwd_zero.tdir │ │ │ ├── fwd_zero.conf │ │ │ ├── fwd_zero.dsc │ │ │ ├── fwd_zero.post │ │ │ ├── fwd_zero.pre │ │ │ ├── fwd_zero.test │ │ │ └── fwd_zero.testns │ │ ├── fwddlv_parse.rpl │ │ ├── host_file.template │ │ ├── hostsfileosx.tdir │ │ │ ├── hostsfileosx.dsc │ │ │ ├── hostsfileosx.hosts │ │ │ ├── hostsfileosx.post │ │ │ ├── hostsfileosx.pre │ │ │ ├── hostsfileosx.test │ │ │ └── hostsfileosx.testns │ │ ├── ipsecmod_bogus_ipseckey.crpl │ │ ├── ipsecmod_enabled.crpl │ │ ├── ipsecmod_hook.sh │ │ ├── ipsecmod_ignore_bogus_ipseckey.crpl │ │ ├── ipsecmod_max_ttl.crpl │ │ ├── ipsecmod_strict.crpl │ │ ├── ipsecmod_whitelist.crpl │ │ ├── iter_class_any.rpl │ │ ├── iter_cname_cache.rpl │ │ ├── iter_cname_double.rpl │ │ ├── iter_cname_nx.rpl │ │ ├── iter_cname_qnamecopy.rpl │ │ ├── iter_cycle.rpl │ │ ├── iter_cycle_noh.rpl │ │ ├── iter_dname_insec.rpl │ │ ├── iter_dname_yx.rpl │ │ ├── iter_dnsseclame_bug.rpl │ │ ├── iter_dnsseclame_ds.rpl │ │ ├── iter_dnsseclame_ds_ok.rpl │ │ ├── iter_dnsseclame_ta.rpl │ │ ├── iter_dnsseclame_ta_ok.rpl │ │ ├── iter_domain_sale.rpl │ │ ├── iter_domain_sale_nschange.rpl │ │ ├── iter_donotq127.rpl │ │ ├── iter_dp_turnsuseless.rpl │ │ ├── iter_ds_locate_ns.rpl │ │ ├── iter_ds_locate_ns_cname.rpl │ │ ├── iter_ds_locate_ns_detach.rpl │ │ ├── iter_ds_locate_ns_nosoa.rpl │ │ ├── iter_ds_referral.rpl │ │ ├── iter_ds_reply.rpl │ │ ├── iter_emptydp.rpl │ │ ├── iter_emptydp_for_glue.rpl │ │ ├── iter_fwdfirst.rpl │ │ ├── iter_fwdfirstequal.rpl │ │ ├── iter_fwdstub.rpl │ │ ├── iter_fwdstubroot.rpl │ │ ├── iter_got6only.rpl │ │ ├── iter_hint_lame.rpl │ │ ├── iter_lame_aaaa.rpl │ │ ├── iter_lame_noaa.rpl │ │ ├── iter_lame_nosoa.rpl │ │ ├── iter_lamescrub.rpl │ │ ├── iter_mod.rpl │ │ ├── iter_ns_badip.rpl │ │ ├── iter_ns_spoof.rpl │ │ ├── iter_pc_a.rpl │ │ ├── iter_pc_aaaa.rpl │ │ ├── iter_pcdiff.rpl │ │ ├── iter_pcdirect.rpl │ │ ├── iter_pclame.rpl │ │ ├── iter_pcname.rpl │ │ ├── iter_pcnamech.rpl │ │ ├── iter_pcnamechrec.rpl │ │ ├── iter_pcnamerec.rpl │ │ ├── iter_pcttl.rpl │ │ ├── iter_prefetch.rpl │ │ ├── iter_prefetch_change.rpl │ │ ├── iter_prefetch_change2.rpl │ │ ├── iter_prefetch_childns.rpl │ │ ├── iter_prefetch_fail.rpl │ │ ├── iter_prefetch_ns.rpl │ │ ├── iter_primenoglue.rpl │ │ ├── iter_privaddr.rpl │ │ ├── iter_ranoaa_lame.rpl │ │ ├── iter_reclame_one.rpl │ │ ├── iter_reclame_two.rpl │ │ ├── iter_recurse.rpl │ │ ├── iter_req_qname.rpl │ │ ├── iter_resolve.rpl │ │ ├── iter_resolve_minimised.rpl │ │ ├── iter_resolve_minimised_nx.rpl │ │ ├── iter_resolve_minimised_refused.rpl │ │ ├── iter_resolve_minimised_timeout.rpl │ │ ├── iter_scrub_cname_an.rpl │ │ ├── iter_scrub_dname_insec.rpl │ │ ├── iter_scrub_dname_rev.rpl │ │ ├── iter_scrub_dname_sec.rpl │ │ ├── iter_scrub_ns.rpl │ │ ├── iter_scrub_ns_fwd.rpl │ │ ├── iter_scrub_ns_side.rpl │ │ ├── iter_soamin.rpl │ │ ├── iter_stub_leak.rpl │ │ ├── iter_stub_noroot.rpl │ │ ├── iter_stubfirst.rpl │ │ ├── iter_stublastresort.rpl │ │ ├── iter_timeout_ra_aaaa.rpl │ │ ├── local_acl_override.rpl │ │ ├── local_acl_taglist.rpl │ │ ├── local_acl_taglist_action.rpl │ │ ├── local_cname.rpl │ │ ├── local_ds.rpl │ │ ├── local_nodefault.rpl │ │ ├── local_nodefault.tdir │ │ │ ├── local_nodefault.conf │ │ │ ├── local_nodefault.dsc │ │ │ ├── local_nodefault.post │ │ │ ├── local_nodefault.pre │ │ │ ├── local_nodefault.test │ │ │ └── local_nodefault.testns │ │ ├── local_norec.tdir │ │ │ ├── local_norec.conf │ │ │ ├── local_norec.dsc │ │ │ ├── local_norec.post │ │ │ ├── local_norec.pre │ │ │ ├── local_norec.test │ │ │ └── local_norec.testns │ │ ├── local_nosnoop.tdir │ │ │ ├── local_nosnoop.conf │ │ │ ├── local_nosnoop.dsc │ │ │ ├── local_nosnoop.post │ │ │ ├── local_nosnoop.pre │ │ │ ├── local_nosnoop.test │ │ │ └── local_nosnoop.testns │ │ ├── local_transparent_sametype.rpl │ │ ├── local_typetransparent.rpl │ │ ├── localdata.rpl │ │ ├── net_signed_servfail.rpl │ │ ├── nomem_cnametopos.rpl │ │ ├── nss_compile.tdir │ │ │ ├── nss_compile.dsc │ │ │ └── nss_compile.test │ │ ├── pylib.tdir │ │ │ ├── pylib.dsc │ │ │ ├── pylib.lookup.conf │ │ │ ├── pylib.lookup.py │ │ │ ├── pylib.post │ │ │ ├── pylib.pre │ │ │ ├── pylib.test │ │ │ └── pylib.testns │ │ ├── pymod.tdir │ │ │ ├── pymod.conf │ │ │ ├── pymod.dsc │ │ │ ├── pymod.post │ │ │ ├── pymod.pre │ │ │ ├── pymod.py │ │ │ ├── pymod.test │ │ │ └── pymod.testns │ │ ├── pymod_thread.tdir │ │ │ ├── pymod_thread.conf │ │ │ ├── pymod_thread.dsc │ │ │ ├── pymod_thread.post │ │ │ ├── pymod_thread.pre │ │ │ ├── pymod_thread.py │ │ │ ├── pymod_thread.test │ │ │ └── pymod_thread.testns │ │ ├── refuse_xfr.rpl │ │ ├── remote-threaded.tdir │ │ │ ├── bad_control.key │ │ │ ├── bad_control.pem │ │ │ ├── bad_server.key │ │ │ ├── bad_server.pem │ │ │ ├── remote-threaded.conf │ │ │ ├── remote-threaded.dsc │ │ │ ├── remote-threaded.post │ │ │ ├── remote-threaded.pre │ │ │ ├── remote-threaded.test │ │ │ ├── remote-threaded.testns │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── root_anchor.tdir │ │ │ ├── root_anchor.dsc │ │ │ └── root_anchor.test │ │ ├── root_hints.tdir │ │ │ ├── root_hints.dsc │ │ │ └── root_hints.test │ │ ├── root_key_sentinel.rpl │ │ ├── rpz_axfr.rpl │ │ ├── rpz_ixfr.rpl │ │ ├── rpz_qname.rpl │ │ ├── rpz_qname_override.rpl │ │ ├── rpz_respip.rpl │ │ ├── rpz_respip_override.rpl │ │ ├── rrset_rettl.rpl │ │ ├── rrset_untrusted.rpl │ │ ├── rrset_updated.rpl │ │ ├── serve_expired.rpl │ │ ├── serve_expired_client_timeout.rpl │ │ ├── serve_expired_reply_ttl.rpl │ │ ├── serve_expired_servfail.rpl │ │ ├── serve_expired_ttl.rpl │ │ ├── serve_expired_ttl_client_timeout.rpl │ │ ├── serve_expired_zerottl.rpl │ │ ├── speed_cache.tdir │ │ │ ├── makeqs.c │ │ │ ├── makeqs.sh │ │ │ ├── speed_cache.conf │ │ │ ├── speed_cache.dsc │ │ │ ├── speed_cache.post │ │ │ ├── speed_cache.pre │ │ │ ├── speed_cache.test │ │ │ └── speed_cache.testns │ │ ├── speed_local.tdir │ │ │ ├── speed_local.conf │ │ │ ├── speed_local.dsc │ │ │ ├── speed_local.post │ │ │ ├── speed_local.pre │ │ │ ├── speed_local.test │ │ │ └── speed_local.testns │ │ ├── ssl_req_order.tdir │ │ │ ├── ssl_req_order.conf │ │ │ ├── ssl_req_order.dsc │ │ │ ├── ssl_req_order.post │ │ │ ├── ssl_req_order.pre │ │ │ ├── ssl_req_order.test │ │ │ ├── ssl_req_order.testns │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── ssl_req_timeout.tdir │ │ │ ├── ssl_req_timeout.conf │ │ │ ├── ssl_req_timeout.dsc │ │ │ ├── ssl_req_timeout.post │ │ │ ├── ssl_req_timeout.pre │ │ │ ├── ssl_req_timeout.test │ │ │ ├── ssl_req_timeout.testns │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── stat_timer.tdir │ │ │ ├── stat_timer.conf │ │ │ ├── stat_timer.dsc │ │ │ ├── stat_timer.post │ │ │ ├── stat_timer.pre │ │ │ ├── stat_timer.test │ │ │ └── stat_timer.testns │ │ ├── stop_nxdomain.rpl │ │ ├── stop_nxdomain_minimised.rpl │ │ ├── stream_ssl.tdir │ │ │ ├── stream_ssl.clie.conf │ │ │ ├── stream_ssl.dsc │ │ │ ├── stream_ssl.post │ │ │ ├── stream_ssl.pre │ │ │ ├── stream_ssl.serv.conf │ │ │ ├── stream_ssl.test │ │ │ ├── ticket1.dat │ │ │ ├── ticket2.dat │ │ │ ├── unbound_control.key │ │ │ ├── unbound_control.pem │ │ │ ├── unbound_server.key │ │ │ └── unbound_server.pem │ │ ├── stream_tcp.tdir │ │ │ ├── stream_tcp.conf │ │ │ ├── stream_tcp.dsc │ │ │ ├── stream_tcp.post │ │ │ ├── stream_tcp.pre │ │ │ ├── stream_tcp.test │ │ │ └── stream_tcp.testns │ │ ├── stub_udp.tdir │ │ │ ├── stub_udp.conf │ │ │ ├── stub_udp.dsc │ │ │ ├── stub_udp.post │ │ │ ├── stub_udp.pre │ │ │ ├── stub_udp.test │ │ │ └── stub_udp.testns │ │ ├── stub_udp6.tdir │ │ │ ├── stub_udp6.conf │ │ │ ├── stub_udp6.dsc │ │ │ ├── stub_udp6.post │ │ │ ├── stub_udp6.pre │ │ │ ├── stub_udp6.test │ │ │ └── stub_udp6.testns │ │ ├── subnet_cached.crpl │ │ ├── subnet_derived.crpl │ │ ├── subnet_format_ip4.crpl │ │ ├── subnet_max_source.crpl │ │ ├── subnet_not_whitelisted.crpl │ │ ├── subnet_val_positive.crpl │ │ ├── subnet_val_positive_client.crpl │ │ ├── subnet_without_validator.crpl │ │ ├── tcp_conn_limit.tdir │ │ │ ├── tcp_conn_limit.conf │ │ │ ├── tcp_conn_limit.dsc │ │ │ ├── tcp_conn_limit.post │ │ │ ├── tcp_conn_limit.pre │ │ │ ├── tcp_conn_limit.test │ │ │ └── tcp_conn_limit.testns │ │ ├── tcp_idle_timeout.tdir │ │ │ ├── tcp_idle_timeout.conf │ │ │ ├── tcp_idle_timeout.dsc │ │ │ ├── tcp_idle_timeout.post │ │ │ ├── tcp_idle_timeout.pre │ │ │ ├── tcp_idle_timeout.test │ │ │ └── tcp_idle_timeout.testns │ │ ├── tcp_req_order.tdir │ │ │ ├── tcp_req_order.conf │ │ │ ├── tcp_req_order.dsc │ │ │ ├── tcp_req_order.post │ │ │ ├── tcp_req_order.pre │ │ │ ├── tcp_req_order.test │ │ │ └── tcp_req_order.testns │ │ ├── tcp_req_size.tdir │ │ │ ├── tcp_req_size.conf │ │ │ ├── tcp_req_size.dsc │ │ │ ├── tcp_req_size.post │ │ │ ├── tcp_req_size.pre │ │ │ ├── tcp_req_size.test │ │ │ └── tcp_req_size.testns │ │ ├── tcp_req_timeout.tdir │ │ │ ├── tcp_req_timeout.conf │ │ │ ├── tcp_req_timeout.dsc │ │ │ ├── tcp_req_timeout.post │ │ │ ├── tcp_req_timeout.pre │ │ │ ├── tcp_req_timeout.test │ │ │ └── tcp_req_timeout.testns │ │ ├── tcp_sigpipe.tdir │ │ │ ├── tcp_sigpipe.conf │ │ │ ├── tcp_sigpipe.dsc │ │ │ ├── tcp_sigpipe.post │ │ │ ├── tcp_sigpipe.pre │ │ │ ├── tcp_sigpipe.test │ │ │ └── tcp_sigpipe.testns │ │ ├── test_ds.sha1 │ │ ├── test_ds.sha384 │ │ ├── test_ldnsrr.1 │ │ ├── test_ldnsrr.2 │ │ ├── test_ldnsrr.3 │ │ ├── test_ldnsrr.4 │ │ ├── test_ldnsrr.5 │ │ ├── test_ldnsrr.c1 │ │ ├── test_ldnsrr.c2 │ │ ├── test_ldnsrr.c3 │ │ ├── test_ldnsrr.c4 │ │ ├── test_ldnsrr.c5 │ │ ├── test_nsec3_hash.1 │ │ ├── test_packets.1 │ │ ├── test_packets.2 │ │ ├── test_packets.3 │ │ ├── test_packets.4 │ │ ├── test_packets.5 │ │ ├── test_packets.6 │ │ ├── test_packets.7 │ │ ├── test_packets.8 │ │ ├── test_packets.9 │ │ ├── test_signatures.1 │ │ ├── test_signatures.2 │ │ ├── test_signatures.3 │ │ ├── test_signatures.4 │ │ ├── test_signatures.5 │ │ ├── test_signatures.6 │ │ ├── test_signatures.7 │ │ ├── test_signatures.8 │ │ ├── test_signatures.9 │ │ ├── test_sigs.ecdsa_p256 │ │ ├── test_sigs.ecdsa_p384 │ │ ├── test_sigs.ed25519 │ │ ├── test_sigs.ed448 │ │ ├── test_sigs.gost │ │ ├── test_sigs.hinfo │ │ ├── test_sigs.revoked │ │ ├── test_sigs.rsasha256 │ │ ├── test_sigs.rsasha256_draft │ │ ├── test_sigs.rsasha512_draft │ │ ├── test_sigs.sha1_and_256 │ │ ├── trust_cname_chain.rpl │ │ ├── ttl_max.rpl │ │ ├── ttl_min.rpl │ │ ├── ttl_msg.rpl │ │ ├── val_adbit.rpl │ │ ├── val_adcopy.rpl │ │ ├── val_anchor_nx.rpl │ │ ├── val_anchor_nx_nosig.rpl │ │ ├── val_ans_dsent.rpl │ │ ├── val_ans_nx.rpl │ │ ├── val_any.rpl │ │ ├── val_any_cname.rpl │ │ ├── val_any_dname.rpl │ │ ├── val_cname_loop1.rpl │ │ ├── val_cname_loop2.rpl │ │ ├── val_cname_loop3.rpl │ │ ├── val_cnameinsectopos.rpl │ │ ├── val_cnamenx_dblnsec.rpl │ │ ├── val_cnamenx_rcodenx.rpl │ │ ├── val_cnameqtype.rpl │ │ ├── val_cnametocloser.rpl │ │ ├── val_cnametocloser_nosig.rpl │ │ ├── val_cnametocnamewctoposwc.rpl │ │ ├── val_cnametodname.rpl │ │ ├── val_cnametodnametocnametopos.rpl │ │ ├── val_cnametoinsecure.rpl │ │ ├── val_cnametonodata.rpl │ │ ├── val_cnametonodata_nonsec.rpl │ │ ├── val_cnametonsec.rpl │ │ ├── val_cnametonx.rpl │ │ ├── val_cnametooptin.rpl │ │ ├── val_cnametooptout.rpl │ │ ├── val_cnametopos.rpl │ │ ├── val_cnametoposnowc.rpl │ │ ├── val_cnametoposwc.rpl │ │ ├── val_cnamewctonodata.rpl │ │ ├── val_cnamewctonx.rpl │ │ ├── val_cnamewctoposwc.rpl │ │ ├── val_deleg_nons.rpl │ │ ├── val_dnametoolong.rpl │ │ ├── val_dnametopos.rpl │ │ ├── val_dnametoposwc.rpl │ │ ├── val_dnamewc.rpl │ │ ├── val_ds_afterprime.rpl │ │ ├── val_ds_cname.rpl │ │ ├── val_ds_cnamesub.rpl │ │ ├── val_ds_gost.crpl │ │ ├── val_ds_gost_downgrade.crpl │ │ ├── val_ds_sha2.crpl │ │ ├── val_ds_sha2_downgrade.crpl │ │ ├── val_ds_sha2_lenient.crpl │ │ ├── val_dsnsec.rpl │ │ ├── val_entds.rpl │ │ ├── val_faildnskey.rpl │ │ ├── val_faildnskey_ok.rpl │ │ ├── val_fwdds.rpl │ │ ├── val_keyprefetch.rpl │ │ ├── val_keyprefetch_verify.rpl │ │ ├── val_mal_wc.rpl │ │ ├── val_negcache_ds.rpl │ │ ├── val_negcache_dssoa.rpl │ │ ├── val_negcache_nodata.rpl │ │ ├── val_negcache_nta.rpl │ │ ├── val_negcache_nxdomain.rpl │ │ ├── val_noadwhennodo.rpl │ │ ├── val_nodata.rpl │ │ ├── val_nodata_ent.rpl │ │ ├── val_nodata_entnx.rpl │ │ ├── val_nodata_entwc.rpl │ │ ├── val_nodata_failsig.rpl │ │ ├── val_nodata_failwc.rpl │ │ ├── val_nodata_hasdata.rpl │ │ ├── val_nodata_zonecut.rpl │ │ ├── val_nodatawc.rpl │ │ ├── val_nodatawc_badce.rpl │ │ ├── val_nodatawc_nodeny.rpl │ │ ├── val_nodatawc_one.rpl │ │ ├── val_nokeyprime.rpl │ │ ├── val_nsec3_b1_nameerror.rpl │ │ ├── val_nsec3_b1_nameerror_noce.rpl │ │ ├── val_nsec3_b1_nameerror_nonc.rpl │ │ ├── val_nsec3_b1_nameerror_nowc.rpl │ │ ├── val_nsec3_b21_nodataent.rpl │ │ ├── val_nsec3_b21_nodataent_wr.rpl │ │ ├── val_nsec3_b2_nodata.rpl │ │ ├── val_nsec3_b2_nodata_nons.rpl │ │ ├── val_nsec3_b3_optout.rpl │ │ ├── val_nsec3_b3_optout_negcache.rpl │ │ ├── val_nsec3_b3_optout_noce.rpl │ │ ├── val_nsec3_b3_optout_nonc.rpl │ │ ├── val_nsec3_b4_wild.rpl │ │ ├── val_nsec3_b4_wild_wr.rpl │ │ ├── val_nsec3_b5_wcnodata.rpl │ │ ├── val_nsec3_b5_wcnodata_noce.rpl │ │ ├── val_nsec3_b5_wcnodata_nonc.rpl │ │ ├── val_nsec3_b5_wcnodata_nowc.rpl │ │ ├── val_nsec3_cname_ds.rpl │ │ ├── val_nsec3_cname_par.rpl │ │ ├── val_nsec3_cname_sub.rpl │ │ ├── val_nsec3_cnametocnamewctoposwc.rpl │ │ ├── val_nsec3_entnodata_optout.rpl │ │ ├── val_nsec3_entnodata_optout_badopt.rpl │ │ ├── val_nsec3_entnodata_optout_match.rpl │ │ ├── val_nsec3_iter_high.rpl │ │ ├── val_nsec3_nodatawccname.rpl │ │ ├── val_nsec3_nods.rpl │ │ ├── val_nsec3_nods_badopt.rpl │ │ ├── val_nsec3_nods_badsig.rpl │ │ ├── val_nsec3_nods_negcache.rpl │ │ ├── val_nsec3_nods_soa.rpl │ │ ├── val_nsec3_optout_ad.rpl │ │ ├── val_nsec3_optout_cache.rpl │ │ ├── val_nsec3_wcany.rpl │ │ ├── val_nsec3_wcany_nodeny.rpl │ │ ├── val_nx.rpl │ │ ├── val_nx_failwc.rpl │ │ ├── val_nx_nodeny.rpl │ │ ├── val_nx_nowc.rpl │ │ ├── val_nx_nsec3_collision.rpl │ │ ├── val_nx_nsec3_params.rpl │ │ ├── val_nx_overreach.rpl │ │ ├── val_pos_truncns.rpl │ │ ├── val_positive.rpl │ │ ├── val_positive_nosigs.rpl │ │ ├── val_positive_wc.rpl │ │ ├── val_positive_wc_nodeny.rpl │ │ ├── val_qds_badanc.rpl │ │ ├── val_qds_oneanc.rpl │ │ ├── val_qds_twoanc.rpl │ │ ├── val_refer_unsignadd.rpl │ │ ├── val_referd.rpl │ │ ├── val_referglue.rpl │ │ ├── val_rrsig.rpl │ │ ├── val_secds.rpl │ │ ├── val_secds_nosig.rpl │ │ ├── val_spurious_ns.rpl │ │ ├── val_stub_noroot.rpl │ │ ├── val_stubds.rpl │ │ ├── val_ta_algo_dnskey.rpl │ │ ├── val_ta_algo_dnskey_dp.rpl │ │ ├── val_ta_algo_missing.rpl │ │ ├── val_ta_algo_missing_dp.rpl │ │ ├── val_twocname.rpl │ │ ├── val_unalgo_anchor.rpl │ │ ├── val_unalgo_dlv.rpl │ │ ├── val_unalgo_ds.rpl │ │ ├── val_unsec_cname.rpl │ │ ├── val_unsecds.rpl │ │ ├── val_unsecds_negcache.rpl │ │ ├── val_unsecds_qtypeds.rpl │ │ ├── val_wild_pos.rpl │ │ ├── version_bind.rpl │ │ ├── version_bind_hide.rpl │ │ └── views.rpl │ │ ├── util │ │ ├── alloc.c │ │ ├── alloc.h │ │ ├── as112.c │ │ ├── as112.h │ │ ├── config_file.c │ │ ├── config_file.h │ │ ├── configlexer.c │ │ ├── configlexer.lex │ │ ├── configparser.c │ │ ├── configparser.h │ │ ├── configparser.y │ │ ├── configyyrename.h │ │ ├── data │ │ │ ├── dname.c │ │ │ ├── dname.h │ │ │ ├── msgencode.c │ │ │ ├── msgencode.h │ │ │ ├── msgparse.c │ │ │ ├── msgparse.h │ │ │ ├── msgreply.c │ │ │ ├── msgreply.h │ │ │ ├── packed_rrset.c │ │ │ └── packed_rrset.h │ │ ├── edns.c │ │ ├── edns.h │ │ ├── fptr_wlist.c │ │ ├── fptr_wlist.h │ │ ├── iana_ports.inc │ │ ├── locks.c │ │ ├── locks.h │ │ ├── log.c │ │ ├── log.h │ │ ├── mini_event.c │ │ ├── mini_event.h │ │ ├── module.c │ │ ├── module.h │ │ ├── net_help.c │ │ ├── net_help.h │ │ ├── netevent.c │ │ ├── netevent.h │ │ ├── random.c │ │ ├── random.h │ │ ├── rbtree.c │ │ ├── rbtree.h │ │ ├── regional.c │ │ ├── regional.h │ │ ├── rtt.c │ │ ├── rtt.h │ │ ├── shm_side │ │ │ ├── shm_main.c │ │ │ └── shm_main.h │ │ ├── storage │ │ │ ├── dnstree.c │ │ │ ├── dnstree.h │ │ │ ├── lookup3.c │ │ │ ├── lookup3.h │ │ │ ├── lruhash.c │ │ │ ├── lruhash.h │ │ │ ├── slabhash.c │ │ │ └── slabhash.h │ │ ├── tcp_conn_limit.c │ │ ├── tcp_conn_limit.h │ │ ├── timehist.c │ │ ├── timehist.h │ │ ├── tube.c │ │ ├── tube.h │ │ ├── ub_event.c │ │ ├── ub_event.h │ │ ├── ub_event_pluggable.c │ │ ├── winsock_event.c │ │ └── winsock_event.h │ │ ├── validator │ │ ├── autotrust.c │ │ ├── autotrust.h │ │ ├── val_anchor.c │ │ ├── val_anchor.h │ │ ├── val_kcache.c │ │ ├── val_kcache.h │ │ ├── val_kentry.c │ │ ├── val_kentry.h │ │ ├── val_neg.c │ │ ├── val_neg.h │ │ ├── val_nsec.c │ │ ├── val_nsec.h │ │ ├── val_nsec3.c │ │ ├── val_nsec3.h │ │ ├── val_secalgo.c │ │ ├── val_secalgo.h │ │ ├── val_sigcrypt.c │ │ ├── val_sigcrypt.h │ │ ├── val_utils.c │ │ ├── val_utils.h │ │ ├── validator.c │ │ └── validator.h │ │ └── winrc │ │ ├── README.txt │ │ ├── anchor-update.c │ │ ├── combined.ico │ │ ├── gen_msg.bin │ │ ├── gen_msg.mc │ │ ├── rsrc_anchorupd.rc │ │ ├── rsrc_svcinst.rc │ │ ├── rsrc_svcuninst.rc │ │ ├── rsrc_unbound.rc │ │ ├── rsrc_unbound_anchor.rc │ │ ├── rsrc_unbound_checkconf.rc │ │ ├── rsrc_unbound_control.rc │ │ ├── rsrc_unbound_host.rc │ │ ├── service.conf │ │ ├── setup.nsi │ │ ├── setup_left.bmp │ │ ├── setup_top.bmp │ │ ├── unbound-control-setup.cmd │ │ ├── unbound-service-install.c │ │ ├── unbound-service-remove.c │ │ ├── unbound-website.url │ │ ├── unbound256.png │ │ ├── unbound32.ico │ │ ├── vista_admin.manifest │ │ ├── vista_user.manifest │ │ ├── w_inst.c │ │ ├── w_inst.h │ │ ├── win_svc.c │ │ └── win_svc.h └── docker-compose.yml ├── README.md └── Shell ├── Centos7-DNS.sh ├── Centos8-DNS.sh ├── Debian10-DNS.sh ├── OtherShell ├── CKDNS ├── UPDNS └── gfwlist2dnsmasq.sh └── Ubuntu18.04-DNS.sh /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/.DS_Store -------------------------------------------------------------------------------- /Config/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Config/.DS_Store -------------------------------------------------------------------------------- /Config/Dnsdist/dnsdist.conf: -------------------------------------------------------------------------------- 1 | newServer({address="127.0.0.1:50", useClientSubnet=true, checkType="A", checkType=DNSClass.CHAOS, checkName="www.baidu.com", mustResolve=false}) 2 | 3 | addLocal('0.0.0.0:53', { doTCP=true, reusePort=true}) 4 | addLocal('[::]:53', { doTCP=true, reusePort=true}) 5 | 6 | addLocal('0.0.0.0:9090', { doTCP=true, reusePort=true}) 7 | addLocal('[::]:9090', { doTCP=true, reusePort=true}) 8 | 9 | 10 | setACL({'0.0.0.0/0', '::/0' }) 11 | 12 | setServerPolicy(firstAvailable) 13 | setECSSourcePrefixV4(24) 14 | setECSSourcePrefixV6(56) -------------------------------------------------------------------------------- /Config/Unbound/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Config/Unbound/.DS_Store -------------------------------------------------------------------------------- /Config/Unbound/国内/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Config/Unbound/国内/.DS_Store -------------------------------------------------------------------------------- /Config/doh-server.conf: -------------------------------------------------------------------------------- 1 | listen = [ 2 | "127.0.0.1:8053" 3 | ] 4 | local_addr = "" 5 | cert = "" 6 | key = "" 7 | path = "/dns-query" 8 | upstream = [ 9 | "udp:127.0.0.1:9090" 10 | ] 11 | timeout = 8 12 | tries = 3 13 | verbose = false 14 | log_guessed_client_ip = false -------------------------------------------------------------------------------- /Docker/README.md: -------------------------------------------------------------------------------- 1 | sudo docker build -t zimonianhua/geekdns:1 . 2 | sudo docker-compose up -h -------------------------------------------------------------------------------- /Docker/data/conf/caddy.conf: -------------------------------------------------------------------------------- 1 | * { 2 | header / { 3 | Access-Control-Allow-Origin * 4 | Access-Control-Allow-Methods "GET, POST, OPTIONS" 5 | -Server 6 | -x-powered-by 7 | Server GeekDNS-V1 8 | } 9 | tls /etc/geekdns/ssl/cert.pem /etc/geekdns/ssl/cert.key 10 | proxy / 127.0.0.1:8053 { 11 | keepalive 60 12 | transparent 13 | } 14 | gzip 15 | } -------------------------------------------------------------------------------- /Docker/data/conf/doh-server.conf: -------------------------------------------------------------------------------- 1 | listen = [ 2 | "0.0.0.0:8053" 3 | ] 4 | local_addr = "" 5 | cert = "" 6 | key = "" 7 | path = "/dns-query" 8 | upstream = [ 9 | "udp:127.0.0.1:53" 10 | ] 11 | timeout = 8 12 | tries = 3 13 | verbose = false 14 | log_guessed_client_ip = false -------------------------------------------------------------------------------- /Docker/data/dns-over-https/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | darwin-wrapper/doh-logger 7 | doh-client/doh-client 8 | doh-server/doh-server 9 | 10 | # Test binary, build with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 17 | .glide/ 18 | 19 | .idea/ 20 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/Dockerfile.client: -------------------------------------------------------------------------------- 1 | FROM golang:alpine AS build-env 2 | 3 | RUN apk add --no-cache git make 4 | 5 | WORKDIR /src 6 | ADD . /src 7 | RUN make doh-client/doh-client 8 | 9 | FROM alpine:latest 10 | 11 | COPY --from=build-env /src/doh-client/doh-client /doh-client 12 | 13 | ADD doh-client/doh-client.conf /doh-client.conf 14 | 15 | RUN sed -i '$!N;s/"127.0.0.1:53",.*"127.0.0.1:5380",/":53",/;P;D' /doh-client.conf 16 | RUN sed -i '$!N;s/"\[::1\]:53",.*"\[::1\]:5380",/":5380",/;P;D' /doh-client.conf 17 | 18 | EXPOSE 53/udp 19 | EXPOSE 53/tcp 20 | EXPOSE 5380 21 | 22 | ENTRYPOINT ["/doh-client"] 23 | CMD ["-conf", "/doh-client.conf"] 24 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/Dockerfile.server: -------------------------------------------------------------------------------- 1 | FROM golang:alpine AS build-env 2 | 3 | RUN apk add --no-cache git make 4 | 5 | WORKDIR /src 6 | ADD . /src 7 | RUN make doh-server/doh-server 8 | 9 | FROM alpine:latest 10 | 11 | COPY --from=build-env /src/doh-server/doh-server /doh-server 12 | 13 | ADD doh-server/doh-server.conf /doh-server.conf 14 | 15 | RUN sed -i '$!N;s/"127.0.0.1:8053",\s*"\[::1\]:8053",/":8053",/;P;D' /doh-server.conf 16 | 17 | EXPOSE 8053 18 | 19 | ENTRYPOINT ["/doh-server"] 20 | CMD ["-conf", "/doh-server.conf"] 21 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/NetworkManager/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: install uninstall 2 | 3 | install: 4 | install -Dm0755 dispatcher.d/doh-client "$(DESTDIR)/etc/NetworkManager/dispatcher.d/doh-client" 5 | install -Dm0755 dispatcher.d/doh-server "$(DESTDIR)/etc/NetworkManager/dispatcher.d/doh-server" 6 | 7 | uninstall: 8 | rm -f "$(DESTDIR)/etc/NetworkManager/dispatcher.d/doh-client" "$(DESTDIR)/etc/NetworkManager/dispatcher.d/doh-server" 9 | rmdir "$(DESTDIR)/etc/NetworkManager/dispatcher.d" || true 10 | rmdir "$(DESTDIR)/etc/NetworkManager" || true 11 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/NetworkManager/dispatcher.d/doh-client: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case "$2" in 4 | up) 5 | /usr/bin/systemctl is-active doh-client.service > /dev/null && /usr/bin/systemctl restart doh-client.service 6 | ;; 7 | down) 8 | /usr/bin/systemctl is-active doh-client.service > /dev/null && /usr/bin/systemctl restart doh-client.service 9 | ;; 10 | *) 11 | exit 0 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/NetworkManager/dispatcher.d/doh-server: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | case "$2" in 4 | up) 5 | /usr/bin/systemctl is-active doh-server.service > /dev/null && /usr/bin/systemctl restart doh-server.service 6 | ;; 7 | down) 8 | /usr/bin/systemctl is-active doh-server.service > /dev/null && /usr/bin/systemctl restart doh-server.service 9 | ;; 10 | *) 11 | exit 0 12 | ;; 13 | esac 14 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/contrib/linux-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # See the linux-install.md (README) first. 4 | set -e 5 | 6 | sudo apt update 7 | sudo apt install golang-1.10 git -y 8 | export PATH=$PATH:/usr/lib/go-1.10/bin 9 | cd /tmp 10 | git clone https://github.com/m13253/dns-over-https.git 11 | cd dns-over-https 12 | make 13 | sudo make install -------------------------------------------------------------------------------- /Docker/data/dns-over-https/contrib/rpm/doh_client.fc: -------------------------------------------------------------------------------- 1 | /usr/bin/doh-client -- gen_context(system_u:object_r:doh_client_exec_t,s0) 2 | /usr/lib/systemd/system/doh-client.service -- gen_context(system_u:object_r:doh_client_unit_file_t,s0) 3 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/contrib/rpm/doh_server.fc: -------------------------------------------------------------------------------- 1 | /usr/bin/doh-server -- gen_context(system_u:object_r:doh_server_exec_t,s0) 2 | /usr/lib/systemd/system/doh-server.service -- gen_context(system_u:object_r:doh_server_unit_file_t,s0) 3 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/darwin-wrapper/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all clean install uninstall 2 | 3 | SWIFTC = swiftc 4 | PREFIX = /usr/local 5 | 6 | all: doh-logger 7 | 8 | doh-logger: doh-logger.swift 9 | $(SWIFTC) -o $@ -O $< 10 | 11 | clean: 12 | rm -f doh-logger 13 | 14 | install: doh-logger 15 | mkdir -p $(DESTDIR)$(PREFIX)/bin 16 | install -m0755 doh-logger $(DESTDIR)$(PREFIX)/bin 17 | 18 | uninstall: 19 | rm -f $(DESTDIR)$(PREFIX)/bin/doh-logger 20 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/doh-client/selector/selector.go: -------------------------------------------------------------------------------- 1 | package selector 2 | 3 | type Selector interface { 4 | // Get returns a upstream 5 | Get() *Upstream 6 | 7 | // StartEvaluate start upstream evaluation loop 8 | StartEvaluate() 9 | 10 | // ReportUpstreamStatus report upstream status 11 | ReportUpstreamStatus(upstream *Upstream, upstreamStatus upstreamStatus) 12 | } 13 | 14 | type DebugReporter interface { 15 | // ReportWeights starts a goroutine to report all upstream weights, recommend interval is 15s 16 | ReportWeights() 17 | } 18 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/doh-client/selector/upstream.go: -------------------------------------------------------------------------------- 1 | package selector 2 | 3 | import "fmt" 4 | 5 | type UpstreamType int 6 | 7 | const ( 8 | Google UpstreamType = iota 9 | IETF 10 | ) 11 | 12 | var typeMap = map[UpstreamType]string{ 13 | Google: "Google", 14 | IETF: "IETF", 15 | } 16 | 17 | type Upstream struct { 18 | Type UpstreamType 19 | URL string 20 | RequestType string 21 | weight int32 22 | effectiveWeight int32 23 | currentWeight int32 24 | } 25 | 26 | func (u Upstream) String() string { 27 | return fmt.Sprintf("upstream type: %s, upstream url: %s", typeMap[u.Type], u.URL) 28 | } 29 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/doh-client/selector/upstreamStatus.go: -------------------------------------------------------------------------------- 1 | package selector 2 | 3 | type upstreamStatus int 4 | 5 | const ( 6 | // when query upstream timeout, usually upstream is unavailable for a long time 7 | Timeout upstreamStatus = iota 8 | 9 | // when query upstream return 5xx response, upstream still alive, maybe just a lof of query for him 10 | Error 11 | 12 | // when query upstream ok, means upstream is available 13 | OK 14 | ) 15 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/m13253/dns-over-https 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/BurntSushi/toml v0.3.1 7 | github.com/gorilla/handlers v1.4.0 8 | github.com/miekg/dns v1.1.22 9 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect 10 | golang.org/x/net v0.0.0-20191027093000-83d349e8ac1a 11 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect 12 | ) 13 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/launchd/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: install uninstall 2 | 3 | PREFIX = /usr/local 4 | LAUNCHD_DIR = /Library/LaunchDaemons 5 | 6 | install: 7 | mkdir -p "$(DESTDIR)$(LAUNCHD_DIR)" 8 | install -m0644 doh-client.plist "$(DESTDIR)$(LAUNCHD_DIR)/doh-client.plist" 9 | install -m0644 doh-server.plist "$(DESTDIR)$(LAUNCHD_DIR)/doh-server.plist" 10 | @echo 11 | @echo 'Note:' 12 | @echo ' Use "sudo launchctl load $(DESTDIR)$(LAUNCHD_DIR)/doh-client.plist" to start doh-client,' 13 | @echo ' use "sudo launchctl load -w $(DESTDIR)$(LAUNCHD_DIR)/doh-server.plist" to enable doh-server.' 14 | 15 | uninstall: 16 | rm -f "$(DESTDIR)$(LAUNCHD_DIR)/doh-client.plist" "$(DESTDIR)$(LAUNCHD_DIR)/doh-server.plist" 17 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/systemd/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: install uninstall 2 | 3 | SYSTEMD_DIR = /usr/lib/systemd 4 | SYSTEMD_UNIT_DIR = $(SYSTEMD_DIR)/system 5 | 6 | install: 7 | install -Dm0644 doh-client.service "$(DESTDIR)$(SYSTEMD_UNIT_DIR)/doh-client.service" 8 | install -Dm0644 doh-server.service "$(DESTDIR)$(SYSTEMD_UNIT_DIR)/doh-server.service" 9 | systemctl daemon-reload || true 10 | 11 | uninstall: 12 | rm -f "$(DESTDIR)$(SYSTEMD_UNIT_DIR)/doh-client.service" "$(DESTDIR)$(SYSTEMD_UNIT_DIR)/doh-server.service" 13 | systemctl daemon-reload || true 14 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/systemd/doh-client.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=DNS-over-HTTPS Client 3 | Documentation=https://github.com/m13253/dns-over-https 4 | After=network.target 5 | Before=nss-lookup.target 6 | Wants=nss-lookup.target 7 | 8 | [Service] 9 | AmbientCapabilities=CAP_NET_BIND_SERVICE 10 | ExecStart=/usr/local/bin/doh-client -conf /etc/dns-over-https/doh-client.conf 11 | LimitNOFILE=1048576 12 | Restart=always 13 | RestartSec=3 14 | Type=simple 15 | User=nobody 16 | 17 | [Install] 18 | WantedBy=multi-user.target 19 | -------------------------------------------------------------------------------- /Docker/data/dns-over-https/systemd/doh-server.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=DNS-over-HTTPS Server 3 | Documentation=https://github.com/m13253/dns-over-https 4 | After=network.target 5 | 6 | [Service] 7 | AmbientCapabilities=CAP_NET_BIND_SERVICE 8 | ExecStart=/usr/local/bin/doh-server -conf /etc/dns-over-https/doh-server.conf 9 | LimitNOFILE=1048576 10 | Restart=always 11 | RestartSec=3 12 | Type=simple 13 | User=nobody 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | -------------------------------------------------------------------------------- /Docker/data/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | UPDNS 3 | /usr/bin/crond -n -------------------------------------------------------------------------------- /Docker/data/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | unbound-anchor 3 | echo "0 0 * * * UPDNS" >> /var/spool/cron/root 4 | echo "* * * * * CKDNS" >> /var/spool/cron/root 5 | cp /root/tmp/conf/caddy.conf /etc/caddy/caddy.conf 6 | cp /root/tmp/conf/supervisord.conf /etc/supervisord.conf 7 | pacman -Scc --noconfirm 8 | journalctl --vacuum-size=50M 9 | 10 | -------------------------------------------------------------------------------- /Docker/data/shell/CKDNS: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | PIDS=`ps -ef |grep unbound |grep -v grep | awk '{print $1}'` 3 | if [ "$PIDS" == "" ]; then 4 | if [[ $foreign == no ]] then 5 | unbound -v -c /usr/local/etc/unbound/unbound-gn.conf 6 | else 7 | unbound -v -c /usr/local/etc/unbound/unbound-gw.conf 8 | fi 9 | fi 10 | 11 | PID=`ps -ef |grep supervisord |grep -v grep | awk '{print $1}'` 12 | if [ "$PID" == "" ]; then 13 | supervisord -c /etc/supervisord.conf 14 | fi -------------------------------------------------------------------------------- /Docker/data/shell/UPDNS: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo Restart DNS Serve... 3 | echo "更新转发配置文件" 4 | curl -o /etc/unbound/forward.conf https://download.233py.com/dns/update/forward.conf 5 | curl -o /etc/unbound/domestic.conf https://download.233py.com/dns/update/domestic.conf 6 | curl -o /etc/unbound/insecure.conf https://download.233py.com/dns/update/insecure.conf 7 | echo "重启Unbound" 8 | killall unbound 9 | sleep 1 10 | if [[ $foreign == no ]] 11 | then 12 | unbound -v -c /usr/local/etc/unbound/unbound-gn.conf 13 | else 14 | unbound -v -c /usr/local/etc/unbound/unbound-gw.conf 15 | fi 16 | echo "重启其他服务" 17 | killall supervisord 18 | sleep 1 19 | supervisord -c /etc/supervisord.conf 20 | echo "重启完成" -------------------------------------------------------------------------------- /Docker/data/unbound/.gitattributes: -------------------------------------------------------------------------------- 1 | testdata/*.[0-9] linguist-documentation 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: c 3 | compiler: 4 | - gcc 5 | addons: 6 | apt: 7 | packages: 8 | - libssl-dev 9 | - libevent-dev 10 | - libexpat-dev 11 | - clang 12 | script: 13 | - ./configure --enable-debug --disable-flto 14 | - make 15 | - make test 16 | - (cd testdata/clang-analysis.tdir; bash clang-analysis.test) 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/README: -------------------------------------------------------------------------------- 1 | Unbound README 2 | * ./configure && make && make install 3 | * You can use libevent if you want. libevent is useful when using 4 | many (10000) outgoing ports. By default max 256 ports are opened at 5 | the same time and the builtin alternative is equally capable and a 6 | little faster. 7 | * More detailed README, README.svn, README.tests in doc directory 8 | * manual pages can be found in doc directory, and are installed, unbound(8). 9 | * example configuration file doc/example.conf 10 | 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/compat/explicit_bzero.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */ 2 | /* 3 | * Public domain. 4 | * Written by Matthew Dempsky. 5 | */ 6 | #include "config.h" 7 | #include 8 | 9 | #ifdef HAVE_ATTR_WEAK 10 | __attribute__((weak)) void 11 | #else 12 | void 13 | #endif 14 | __explicit_bzero_hook(void *ATTR_UNUSED(buf), size_t ATTR_UNUSED(len)) 15 | { 16 | } 17 | 18 | void 19 | explicit_bzero(void *buf, size_t len) 20 | { 21 | #ifdef UB_ON_WINDOWS 22 | SecureZeroMemory(buf, len); 23 | #endif 24 | memset(buf, 0, len); 25 | __explicit_bzero_hook(buf, len); 26 | } 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/compat/malloc.c: -------------------------------------------------------------------------------- 1 | /* Just a replacement, if the original malloc is not 2 | GNU-compliant. See autoconf documentation. */ 3 | 4 | #include "config.h" 5 | #undef malloc 6 | #include 7 | 8 | #ifndef USE_WINSOCK 9 | void *malloc (); 10 | #else 11 | /* provide a prototype */ 12 | void *malloc (size_t n); 13 | #endif 14 | 15 | /* Allocate an N-byte block of memory from the heap. 16 | If N is zero, allocate a 1-byte block. */ 17 | 18 | void * 19 | rpl_malloc_unbound (size_t n) 20 | { 21 | if (n == 0) 22 | n = 1; 23 | return malloc (n); 24 | } 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/compat/memcmp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * memcmp.c: memcmp compat implementation. 3 | * 4 | * Copyright (c) 2010, NLnet Labs. All rights reserved. 5 | * 6 | * See LICENSE for the license. 7 | */ 8 | 9 | #include 10 | 11 | int memcmp(const void *x, const void *y, size_t n); 12 | 13 | int memcmp(const void *x, const void *y, size_t n) 14 | { 15 | const uint8_t* x8 = (const uint8_t*)x; 16 | const uint8_t* y8 = (const uint8_t*)y; 17 | size_t i; 18 | for(i=0; i y8[i]) 22 | return 1; 23 | } 24 | return 0; 25 | } 26 | -------------------------------------------------------------------------------- /Docker/data/unbound/compat/memcmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * memcmp.h: undef memcmp for compat. 3 | * 4 | * Copyright (c) 2012, NLnet Labs. All rights reserved. 5 | * 6 | * See LICENSE for the license. 7 | */ 8 | #ifndef COMPAT_MEMCMP_H 9 | #define COMPAT_MEMCMP_H 10 | 11 | #ifdef memcmp 12 | /* undef here otherwise autoheader messes it up in config.h */ 13 | # undef memcmp 14 | #endif 15 | 16 | #endif /* COMPAT_MEMCMP_H */ 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/libunbound.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: unbound 7 | Description: Library with validating, recursive, and caching DNS resolver 8 | URL: http://www.unbound.net 9 | Version: @PACKAGE_VERSION@ 10 | Requires: @PC_CRYPTO_DEPENDENCY@ @PC_LIBEVENT_DEPENDENCY@ 11 | Requires.private: @PC_PY_DEPENDENCY@ @PC_LIBBSD_DEPENDENCY@ 12 | Libs: -L${libdir} -lunbound 13 | Libs.private: @SSLLIB@ @LIBS@ 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/patch_rsamd5_enable.diff: -------------------------------------------------------------------------------- 1 | Index: validator/val_secalgo.c 2 | =================================================================== 3 | --- validator/val_secalgo.c (revision 2759) 4 | +++ validator/val_secalgo.c (working copy) 5 | @@ -153,7 +153,7 @@ 6 | switch(id) { 7 | case LDNS_RSAMD5: 8 | /* RFC 6725 deprecates RSAMD5 */ 9 | - return 0; 10 | + return 1; 11 | case LDNS_DSA: 12 | case LDNS_DSA_NSEC3: 13 | case LDNS_RSASHA1: 14 | @@ -617,7 +617,7 @@ 15 | switch(id) { 16 | case LDNS_RSAMD5: 17 | /* RFC 6725 deprecates RSAMD5 */ 18 | - return 0; 19 | + return 1; 20 | case LDNS_DSA: 21 | case LDNS_DSA_NSEC3: 22 | case LDNS_RSASHA1: 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/rc_d_unbound: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # unbound freebsd startup rc.d script, modified from the named script. 4 | # uses the default unbound installation path and pidfile location. 5 | # copy this to /etc/rc.d/unbound 6 | # and put unbound_enable="YES" into rc.conf 7 | # 8 | 9 | # PROVIDE: unbound 10 | # REQUIRE: SERVERS cleanvar 11 | # KEYWORD: shutdown 12 | 13 | . /etc/rc.subr 14 | 15 | name="unbound" 16 | rcvar=`set_rcvar` 17 | 18 | load_rc_config $name 19 | 20 | command="/usr/local/sbin/unbound" 21 | pidfile=${unbound_pidfile:-"/usr/local/etc/unbound/unbound.pid"} 22 | command_args=${unbound_flags:-"-c /usr/local/etc/unbound/unbound.conf"} 23 | extra_commands="reload" 24 | 25 | run_rc_command "$1" 26 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/selinux/unbound.fc: -------------------------------------------------------------------------------- 1 | /etc/unbound(/.*)? system_u:object_r:unbound_conf_t:s0 2 | /etc/rc\.d/init\.d/unbound -- system_u:object_r:unbound_initrc_exec_t:s0 3 | /usr/sbin/unbound -- system_u:object_r:unbound_exec_t:s0 4 | /var/run/unbound(/.*)? system_u:object_r:unbound_var_run_t:s0 5 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound-fuzzers.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/contrib/unbound-fuzzers.tar.bz2 -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound.socket.in: -------------------------------------------------------------------------------- 1 | [Socket] 2 | ListenDatagram=127.0.0.1:1153 3 | ListenStream=127.0.0.1:1153 4 | # ListenStream=@UNBOUND_RUN_DIR@/control 5 | [Install] 6 | WantedBy=sockets.target 7 | -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound_cacti.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/contrib/unbound_cacti.tar.gz -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound_smf23.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/contrib/unbound_smf23.tar.gz -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/dnscrypt_config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef UNBOUND_DNSCRYPT_CONFIG_H 2 | #define UNBOUND_DNSCRYPT_CONFIG_H 3 | 4 | /* 5 | * Process this file (dnscrypt_config.h.in) with AC_CONFIG_FILES to generate 6 | * dnscrypt_config.h. 7 | * 8 | * This file exists so that USE_DNSCRYPT can be used without including config.h. 9 | */ 10 | 11 | #if @ENABLE_DNSCRYPT@ /* ENABLE_DNSCRYPT */ 12 | # ifndef USE_DNSCRYPT 13 | # define USE_DNSCRYPT 1 14 | # endif 15 | #endif 16 | 17 | #endif /* UNBOUND_DNSCRYPT_CONFIG_H */ 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys1/public.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/dnscrypt/testdata/keys1/public.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys1/secret.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/dnscrypt/testdata/keys1/secret.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys2/public.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/dnscrypt/testdata/keys2/public.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys2/secret.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/dnscrypt/testdata/keys2/secret.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnstap/dnstap_config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef UNBOUND_DNSTAP_CONFIG_H 2 | #define UNBOUND_DNSTAP_CONFIG_H 3 | 4 | /* 5 | * Process this file (dnstap_config.h.in) with AC_CONFIG_FILES to generate 6 | * dnstap_config.h. 7 | * 8 | * This file exists so that USE_DNSTAP can be used without including config.h. 9 | */ 10 | 11 | #if @ENABLE_DNSTAP@ /* ENABLE_DNSTAP */ 12 | # ifndef USE_DNSTAP 13 | # define USE_DNSTAP 1 14 | # endif 15 | #endif 16 | 17 | #endif /* UNBOUND_DNSTAP_CONFIG_H */ 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/doc/CNAME-basedRedirectionDesignNotes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/doc/CNAME-basedRedirectionDesignNotes.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/doc/IP-BasedActions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/doc/IP-BasedActions.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/doc/ietf67-design-02.odp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/doc/ietf67-design-02.odp -------------------------------------------------------------------------------- /Docker/data/unbound/doc/ietf67-design-02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/doc/ietf67-design-02.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/_static/readme: -------------------------------------------------------------------------------- 1 | this directory exists to pacify sphinx-build. 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/examples/example6.rst: -------------------------------------------------------------------------------- 1 | .. _example_localzone: 2 | 3 | Local zone manipulation 4 | ======================= 5 | 6 | This example program shows how to define local zone containing custom DNS 7 | records. 8 | 9 | Source code 10 | ----------- 11 | 12 | .. literalinclude:: example6-1.py 13 | :language: python 14 | -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/examples/example7-1.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # vim:fileencoding=utf-8 3 | # 4 | # IDN (Internationalized Domain Name) lookup support 5 | # 6 | import unbound 7 | 8 | ctx = unbound.ub_ctx() 9 | ctx.resolvconf("/etc/resolv.conf") 10 | 11 | status, result = ctx.resolve(u"www.háčkyčárky.cz", unbound.RR_TYPE_A, unbound.RR_CLASS_IN) 12 | if status == 0 and result.havedata: 13 | print "Result:" 14 | print " raw data:", result.data 15 | for k in result.data.address_list: 16 | print " address:%s" % k 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/examples/example7-2.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # vim:fileencoding=utf-8 3 | # 4 | # IDN (Internationalized Domain Name) lookup support (lookup for MX) 5 | # 6 | import unbound 7 | 8 | ctx = unbound.ub_ctx() 9 | ctx.resolvconf("/etc/resolv.conf") 10 | 11 | status, result = ctx.resolve(u"háčkyčárky.cz", unbound.RR_TYPE_MX, unbound.RR_CLASS_IN) 12 | if status == 0 and result.havedata: 13 | print "Result:" 14 | print " raw data:", result.data 15 | for k in result.data.mx_list_idn: 16 | print " priority:%d address:%s" % k 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/examples/index.rst: -------------------------------------------------------------------------------- 1 | Examples 2 | ======== 3 | 4 | Here you can find several examples which utilizes the unbound library in Python 5 | environment. Unbound is a caching validator and resolver and can be linked into 6 | an application, as a library where can answer DNS queries for the application. 7 | This set of examples shows how to use the functions from Python environment. 8 | 9 | Tutorials 10 | --------- 11 | 12 | .. toctree:: 13 | :maxdepth: 1 14 | :glob: 15 | 16 | example* 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/index.rst: -------------------------------------------------------------------------------- 1 | PyUnbound documentation 2 | ======================================= 3 | 4 | This project contains an Unbound wrapper providing the thinnest layer over the library possible. 5 | Everything you can do from the libUnbound C API, you can do from Python, even more. 6 | 7 | Contents 8 | ---------- 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | intro.rst 13 | install.rst 14 | examples/index.rst 15 | modules/unbound 16 | 17 | Module Documentation 18 | ----------------------- 19 | 20 | * Module :mod:`unbound` 21 | 22 | Indices and tables 23 | ------------------- 24 | 25 | * :ref:`genindex` 26 | * :ref:`search` 27 | 28 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/doc/_static/readme: -------------------------------------------------------------------------------- 1 | this directory exists to pacify sphinx-build. 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/doc/examples/index.rst: -------------------------------------------------------------------------------- 1 | .. _Tutorials: 2 | 3 | Examples 4 | ======== 5 | 6 | Here you can find several tutorials which clarify the usage and capabilities of 7 | the Unbound scriptable interface. 8 | 9 | Tutorials 10 | --------- 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | :glob: 15 | 16 | example* 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/doc/modules/index.rst: -------------------------------------------------------------------------------- 1 | Unbound module documentation 2 | ======================================= 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | env 8 | struct 9 | functions 10 | config 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/examples/dict_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/pythonmod/examples/dict_data.txt -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-calc.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for calc.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/calc.py" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-dict.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for dict.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/dict.py" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-edns.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for edns.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/edns.py" 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-inplace_callbacks.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for edns.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/inplace_callbacks.py" 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-log.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for log.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/log.py" 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-resgen.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for resgen.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/resgen.py" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-resip.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for resip.py 2 | server: 3 | verbosity: 1 4 | #interface: 0.0.0.0 5 | do-daemonize: no 6 | #access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | module-config: "validator python iterator" 13 | 14 | # Python config section 15 | python: 16 | # Script file to load 17 | python-script: "./examples/resip.py" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/test-resmod.conf: -------------------------------------------------------------------------------- 1 | # Example configuration file for resmod.py 2 | server: 3 | verbosity: 1 4 | interface: 0.0.0.0 5 | do-daemonize: no 6 | access-control: 0.0.0.0/0 allow 7 | chroot: "" 8 | username: "" 9 | directory: "" 10 | logfile: "" 11 | pidfile: "unbound.pid" 12 | #module-config: "python iterator" 13 | module-config: "validator python iterator" 14 | 15 | # Python config section 16 | python: 17 | # Script file to load 18 | python-script: "./examples/resmod.py" 19 | 20 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/00-lint.tdir/00-lint.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 00-lint 2 | Version: 1.0 3 | Description: Put source into lint. 4 | CreationDate: Wed Jan 3 14:12:02 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 00-lint.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/00-lint.tdir/00-lint.test: -------------------------------------------------------------------------------- 1 | # #-- 00-lint.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | . ../common.sh 7 | PRE="../.." 8 | get_make 9 | 10 | (cd $PRE ; $MAKE lint) 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/01-doc.tdir/01-doc.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 01-doc 2 | Version: 1.0 3 | Description: Check documentation 4 | CreationDate: Wed Jan 3 15:15:01 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 01-doc.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/02-unittest.tdir/02-unittest.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 02-unittest 2 | Version: 1.0 3 | Description: Unit tests. 4 | CreationDate: Thu Jan 4 16:32:42 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 02-unittest.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/03-testbound.tdir/03-testbound.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 03-testbound 2 | Version: 1.0 3 | Description: Run testbound event replay scenarios. 4 | CreationDate: Tue Feb 13 16:36:18 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 03-testbound.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/04-checkconf.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 04-checkconf 2 | Version: 1.0 3 | Description: Test configuration checker. 4 | CreationDate: Fri Sep 28 15:46:27 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 04-checkconf.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/bad.badfwd: -------------------------------------------------------------------------------- 1 | server: 2 | # to make sure the check doesn't fail on username or chrootdir. 3 | username: "" 4 | chroot: "" 5 | 6 | forward-zone: 7 | name: "example.com" 8 | forward-addr: 123.123.AAAA.123 9 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/bad.badif: -------------------------------------------------------------------------------- 1 | # bad host and interface lines. 2 | server: 3 | username: "" 4 | interface: 127.0.0.1 5 | interface: 127.0.0.1 6 | interface: 127.0.0.1 7 | outgoing-interface: ::1 8 | outgoing-interface: ::1 9 | outgoing-interface: ::1 10 | 11 | forward-zone: 12 | name: root. 13 | forward-host: 127.0.0.1 14 | 15 | stub-zone: 16 | name: com. 17 | stub-host: ::3 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/bad.badip: -------------------------------------------------------------------------------- 1 | server: 2 | interface: 123.AAAA.123.123 3 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/bad.user: -------------------------------------------------------------------------------- 1 | server: 2 | username: blabla_noexist_user 3 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/good.include: -------------------------------------------------------------------------------- 1 | # include some file to test include functionality. 2 | 3 | include: "good.all" 4 | 5 | server: 6 | identity: "my identity" 7 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/04-checkconf.tdir/warn.algo: -------------------------------------------------------------------------------- 1 | server: 2 | chroot: "" 3 | directory: "" 4 | pidfile: "" 5 | username: "" 6 | logfile: "" 7 | 8 | trust-anchor: "jelte.nlnetlabs.nl. DS 42860 2000 1 14D739EB566D2B1A5E216A0BA4D17FA9B038BE4A" 9 | 10 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/05-asynclook.tdir/05-asynclook.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 05-asynclook 2 | Version: 1.0 3 | Description: Test async lookup using libunbound 4 | CreationDate: Fri Jan 25 09:50:35 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 05-asynclook.pre 12 | Post: 05-asynclook.post 13 | Test: 05-asynclook.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/05-asynclook.tdir/05-asynclook.hosts: -------------------------------------------------------------------------------- 1 | # Host Database 2 | # 3 | # This file should contain the addresses and aliases for local hosts that 4 | # share this file. Replace 'my.domain' below with the domainname of your 5 | # machine. 6 | # 7 | ::1 localhost localhost.my.domain 8 | 127.0.0.1 localhost localhost.my.domain 9 | # Imaginary network. 10 | 10.0.0.2 myname.my.domain myname 11 | 10.0.0.3 myfriend.my.domain myfriend 12 | 10.20.30.40 virtual.virtual.virtual.local 13 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/05-asynclook.tdir/05-asynclook.post: -------------------------------------------------------------------------------- 1 | # #-- 05-asynclook.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | . ../common.sh 10 | kill_pid $FWD_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/05-asynclook.tdir/05-asynclook.pre: -------------------------------------------------------------------------------- 1 | # #-- 05-asynclook.pre--# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | . ../common.sh 8 | get_random_port 2 9 | FWD_PORT=$(($RND_PORT + 1)) 10 | echo "FWD_PORT=$FWD_PORT" >> .tpkg.var.test 11 | 12 | # start forwarder 13 | get_ldns_testns 14 | $LDNS_TESTNS -p $FWD_PORT 05-asynclook.testns >fwd.log 2>&1 & 15 | FWD_PID=$! 16 | echo "FWD_PID=$FWD_PID" >> .tpkg.var.test 17 | 18 | cat .tpkg.var.test 19 | 20 | wait_ldns_testns_up fwd.log 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/05-asynclook.tdir/05-asynclook.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ; for priming query 6 | ENTRY_BEGIN 7 | MATCH opcode qtype qname 8 | REPLY QR AA NOERROR 9 | ADJUST copy_id 10 | SECTION QUESTION 11 | @ IN NS 12 | SECTION ANSWER 13 | @ IN NS 127.0.0.1 14 | ENTRY_END 15 | 16 | ENTRY_BEGIN 17 | MATCH opcode qtype qname 18 | REPLY QR AA NOERROR 19 | ADJUST copy_id 20 | SECTION QUESTION 21 | www IN A 22 | SECTION ANSWER 23 | www IN A 10.20.30.40 24 | ENTRY_END 25 | 26 | ENTRY_BEGIN 27 | MATCH opcode qtype qname 28 | REPLY QR AA NOERROR 29 | ADJUST copy_id 30 | SECTION QUESTION 31 | www2 IN A 32 | SECTION ANSWER 33 | www2 IN A 10.20.30.42 34 | ENTRY_END 35 | 36 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/06-ianaports.tdir/06-ianaports.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 06-ianaports 2 | Version: 1.0 3 | Description: check if iana assigned ports have changed. 4 | CreationDate: Thu Apr 10 12:42:40 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 06-ianaports.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/07-confroot.tdir/07-confroot.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 07-confroot 2 | Version: 1.0 3 | Description: test checkconf with chroot dir. 4 | CreationDate: Mon Apr 14 14:54:59 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: 07-confroot.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/08-host-lib.tdir/08-host-lib.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 08-host-lib 2 | Version: 1.0 3 | Description: Test async lookup using libunbound 4 | CreationDate: Fri May 16 13:21:58 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 08-host-lib.pre 12 | Post: 08-host-lib.post 13 | Test: 08-host-lib.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/08-host-lib.tdir/08-host-lib.hosts: -------------------------------------------------------------------------------- 1 | # Host Database 2 | # 3 | # This file should contain the addresses and aliases for local hosts that 4 | # share this file. Replace 'my.domain' below with the domainname of your 5 | # machine. 6 | # 7 | ::1 localhost localhost.my.domain 8 | 127.0.0.1 localhost localhost.my.domain 9 | # Imaginary network. 10 | 10.0.0.2 myname.my.domain myname 11 | 10.0.0.3 myfriend.my.domain myfriend 12 | 10.20.30.40 virtual.virtual.virtual.local 13 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/08-host-lib.tdir/08-host-lib.post: -------------------------------------------------------------------------------- 1 | # #-- 08-host-lib.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | . ../common.sh 10 | kill_pid $FWD_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/08-host-lib.tdir/08-host-lib.pre: -------------------------------------------------------------------------------- 1 | # #-- 08-host-lib.pre--# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | . ../common.sh 8 | get_random_port 2 9 | FWD_PORT=$(($RND_PORT + 1)) 10 | echo "FWD_PORT=$FWD_PORT" >> .tpkg.var.test 11 | 12 | # start forwarder 13 | get_ldns_testns 14 | $LDNS_TESTNS -p $FWD_PORT 08-host-lib.testns >fwd.log 2>&1 & 15 | FWD_PID=$! 16 | echo "FWD_PID=$FWD_PID" >> .tpkg.var.test 17 | 18 | cat .tpkg.var.test 19 | wait_ldns_testns_up fwd.log 20 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/08-host-lib.tdir/08-host-lib.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ; for priming query 6 | ENTRY_BEGIN 7 | MATCH opcode qtype qname 8 | REPLY QR AA NOERROR 9 | ADJUST copy_id 10 | SECTION QUESTION 11 | @ IN NS 12 | SECTION ANSWER 13 | @ IN NS 127.0.0.1 14 | ENTRY_END 15 | 16 | ENTRY_BEGIN 17 | MATCH opcode qtype qname 18 | REPLY QR AA NOERROR 19 | ADJUST copy_id 20 | SECTION QUESTION 21 | www IN A 22 | SECTION ANSWER 23 | www IN A 10.20.30.40 24 | ENTRY_END 25 | 26 | ENTRY_BEGIN 27 | MATCH opcode qtype qname 28 | REPLY QR AA NOERROR 29 | ADJUST copy_id 30 | SECTION QUESTION 31 | www2 IN A 32 | SECTION ANSWER 33 | www2 IN A 10.20.30.42 34 | ENTRY_END 35 | 36 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/09-unbound-control.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | remote-control: 13 | control-enable: yes 14 | control-interface: 127.0.0.1 15 | # control-interface: ::1 16 | control-port: @CONTROL_PORT@ 17 | server-key-file: "unbound_server.key" 18 | server-cert-file: "unbound_server.pem" 19 | control-key-file: "unbound_control.key" 20 | control-cert-file: "unbound_control.pem" 21 | forward-zone: 22 | name: "." 23 | forward-addr: "127.0.0.1@@TOPORT@" 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/09-unbound-control.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 09-unbound-control 2 | Version: 1.0 3 | Description: 09 test unbound-control remote control tool 4 | CreationDate: Mon Sep 15 11:14:08 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 09-unbound-control.pre 12 | Post: 09-unbound-control.post 13 | Test: 09-unbound-control.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/09-unbound-control.post: -------------------------------------------------------------------------------- 1 | # #-- 09-unbound-control.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | # it was stopped with unbound-control (if the test succeeded) 11 | kill $UNBOUND_PID >/dev/null 2>&1 12 | kill $UNBOUND_PID >/dev/null 2>&1 13 | exit 0 14 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/09-unbound-control.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA SERVFAIL 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www.example.net. IN A 21 | ENTRY_END 22 | 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/bad_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQDd5/rocjG5vDANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0NFoXDTI4MDYxMzEyMjQ0NFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDt 5 | i51Z6qASvAjPFFhLLlq8BwtsnmfqMPMn57dKAghb4OifeL4GSLOE02/hKDkdkOva 6 | UG2UqDNh2OoPTuJk4A+mG2LJoziFhHKlIebo9v2YiFWOBVtODWc3tXPT1IlSEN0x 7 | nAGelMmeLcPeCPe+A5IDlIHzF/+YiDgS38S9dL17owIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAHpvcKqY48X9WsqogV16L+zT7iXhZ4tySA9EBk1a+0gud/iDPKSBi7mK 9 | 4rzphVfb4S207dVmTG+1WNpa6l3pTGML6XLElxqIu/kr7w4cF0rKvZxWPsBRqYjH 10 | 5HrK8CrQ0+YvUHXiu7IaACLGvKXY4Tqa3HQyvEtzLWJ4HhOrGx8F 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/bad_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQCDugnhq8B6LzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0M1oXDTI4MDYxMzEyMjQ0M1owEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvYbqzRwbQe0B 5 | RLjyTpwspVFlBdv1Et7/ckEEF57LblzEF0Wqtdbr4i5sGhrq1fbZ4F+fRyE7AU++ 6 | DUK7RSnxAy1Yi65tmqwDPTs7J+LZ799B1z0Q41DnNTNOUO1M42kqzr/k5DxKsobV 7 | Mmj9Q2KNG3Jm8bUpGHNmRFgsIT5JVMECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCy 8 | zGMW35/9xXoEWsuLFWUOaEKVq5DXuXtXbcMpDW6k2ELoraa305vh7Zwhj5JSqfcm 9 | O0xyqIzXvz/cYdyOTgEkdMDZ/EvQsxKTwvj6eA4614yB1r3Ju5eZd4Gpo6BHhSpu 10 | oqsrr0duJ+JOANTyaBplIxM1sjHbR4FGtmrFknBYBQ== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_data: -------------------------------------------------------------------------------- 1 | localdatafromfile 3600 TXT "local data from file OK" 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_data_remove: -------------------------------------------------------------------------------- 1 | localdatafromfile 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_zones: -------------------------------------------------------------------------------- 1 | localzonefromfile refuse 2 | otherlocalzone static 3 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_zones_remove: -------------------------------------------------------------------------------- 1 | localzonefromfile 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/unbound_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQD6XaN6FzW/4DANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD 5 | 6DogNCsSeEa1u99+6PUVbGzjMzzei9MIK6s94+zcpp7OAOBarzPA0vlyuNtUsEN3 6 | qwPomQQQmIgbT7OXkzC1wqioxwa609xoL8oW/I7e336rEyvHST6JwUdIg0Lzg/US 7 | J81eTwMnzYSd4Bpsqr9eP33ubaR7Gh/6o76loLOlcQIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAGFAXmaQHuFgAuc6HVhYZJdToxLBhfxGpot4oZNjcb1Cdoz3OL34MU1B 9 | 9E5psj2PpGPIi8/RwoqBtAJHJ+J5cWngo03o4ZmdwKNSzaxlp141z/3rUtFqEHEC 10 | iO6gPCT3U7dt6MyC7r6vdMqyW6aldP3CtwD0gQziKAMoj+TAfAcq 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/unbound_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQDsNJ1UmphEFzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtxeybL9rtNaS 5 | y/axZ47DFPyGghVCM/+tuA3GhPOGeIIzJeZFgN2sUHKrpdcJcEq2ysK6J8vnfYR/ 6 | /jF9LWcL5fMNzpoZjgImkPkhwrCLjo1cEI19LESwetT8+fjwIlb5z2vSSGAeUKyu 7 | g1RLMSB4/DDnOSSjka5xErBQ4esnjHkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAZ 8 | 9N0lnLENs4JMvPS+mn8C5m9bkkFITd32IiLjf0zgYpIUbFXH6XaEr9GNZBUG8feG 9 | l/6WRXnbnVSblI5odQ4XxGZ9inYY6qtW30uv76HvoKp+QZ1c3460ddR8NauhcCHH 10 | Z7S+QbLXi+r2JAhpPozZCjBHlRD0ixzA1mKQTJhJZg== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/10-unbound-anchor.conf: -------------------------------------------------------------------------------- 1 | # test config to direct traffic to testns. 2 | server: 3 | do-not-query-localhost: no 4 | fake-sha1: yes 5 | forward-zone: 6 | name: "." 7 | forward-addr: "127.0.0.1@@TOPORT@" 8 | 9 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/10-unbound-anchor.dsc: -------------------------------------------------------------------------------- 1 | BaseName: 10-unbound-anchor 2 | Version: 1.0 3 | Description: Test unbound-anchor for 5011 and cert update. 4 | CreationDate: Thu Sep 30 15:35:09 CEST 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 10-unbound-anchor.pre 12 | Post: 10-unbound-anchor.post 13 | Test: 10-unbound-anchor.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/10-unbound-anchor.post: -------------------------------------------------------------------------------- 1 | # #-- 10-unbound-anchor.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $PETAL_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/bad.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/bad.p7s -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/bad.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | . 4 | 5 | 37348 6 | 5 7 | 1 8 | b56a31943f14faa31224d147f8b1107b78590000 9 | 10 | 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/no_more_keys.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/no_more_keys.p7s -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/root.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/root.p7s -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | . 4 | 5 | 37348 6 | 5 7 | 1 8 | b56a31943f14faa31224d147f8b1107b78598eb2 9 | 10 | 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/K.+005+37348.ds: -------------------------------------------------------------------------------- 1 | . 3600 IN DS 37348 5 1 b56a31943f14faa31224d147f8b1107b78598eb2 ; xotek-pusin-gezoc-gevep-feged-gigyg-livor-cagil-riveh-nafar-duxix 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/K.+005+37348.key: -------------------------------------------------------------------------------- 1 | . 3600 IN DNSKEY 257 3 5 AwEAAcjV/I6yYY0LGBEqBFZS0K6zcbCVAfarbOoCKBUEfsR/nVdy3pwMydXopUVhg4Z07tTu8w2gYTPALPv5E6EJFJebA34R0OcvTPRDr3671zVwZO9HyQK+RuT/0d7G/pdCeJX2gHHiVrG796nf078O/agtojZ8+HJ1V3oLnDZYBSDWv2oL2LB2Mpj+610W7RrmEmQQm2KaMP6aX3YMbAyBIrDjVzJTir4/WwJEHRHq59Xw91egJkS2bp0KIK3J3tQFqw== ;{id = 37348 (ksk), size = 1536b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/signit: -------------------------------------------------------------------------------- 1 | # PKCS7 sign it 2 | #infile=127.0.0.1/no_more_keys.xml 3 | #outfile=127.0.0.1/no_more_keys.p7s 4 | infile=127.0.0.1/root.xml 5 | outfile=127.0.0.1/root.p7s 6 | set -v 7 | 8 | openssl smime -sign -in $infile -out $outfile -inkey test_cert.key -signer test_cert.pem -outform DER -binary || echo "could not sign" 9 | openssl smime -verify -content $infile -in $outfile -inform DER -CAfile test_cert.pem || echo "could not verify" 10 | openssl pkcs7 -print_certs -inform der -in $outfile -text 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+003+02854.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+003+02854.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 256 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2854 (zsk), size = 1688b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+003+02854.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 3 (DSA) 3 | Prime(p): +sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKQ== 4 | Subprime(q): tctSxapStjclgRHdPhMEkgizvSM= 5 | Base(g): LGE7N8tUTWCoDQ/B5lHx21jdo1BJGfew+nAmvoyL8+pAoAwytn1yQml/X5tAw46/GDPPZTUZLXxvfJkpyBMwRg== 6 | Private_value(x): XMs4XYi1oNckzTPvGMkgG5IiuzY= 7 | Public_value(y): ic3fxmWM4vwTdg80NDLK0sGF37DSxTgW7PDyTFuC2CMXnjnuq1IJFjhewgvQ4f3XbkNUK7CYZmQBBX3egcmFfg== 8 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+16486.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 16486 5 1 9adff86d0a468b5989a686df8076269b3a31ba54 ; xokit-zevek-tydyg-kydoh-nydap-kicet-zybil-konon-ruvef-covuh-gyxex 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+16486.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 257 3 5 AwEAAas/cAhCFXvBUgTSNZCvQp0pLx1dY+7rXR0hH4/3EUgWmsmbYUpI1qD0xhwKD/oYGEwAm291fyWJ9c0oVxXDEK8= ;{id = 16486 (ksk), size = 512b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+16486.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 5 (RSASHA1) 3 | Modulus: qz9wCEIVe8FSBNI1kK9CnSkvHV1j7utdHSEfj/cRSBaayZthSkjWoPTGHAoP+hgYTACbb3V/JYn1zShXFcMQrw== 4 | PublicExponent: AQAB 5 | PrivateExponent: lT++xpPB4ZAFicojgSweZJbmRzODy1E6YA7kUTbFywrrClEi6vjb88AshqZsPuDnI4iOZ2Cy56qN9SZTD2WokQ== 6 | Prime1: 29ChQQp9Dd7jH8L+QxEowJGOxwo2WD8rLOjvdz7FBos= 7 | Prime2: x3AbQo22FBaEbB1Z6rM31WsLNhNNgHvD2G1gpXD2Ru0= 8 | Exponent1: Sj0eGQ9nyOV8I+ABa7lB4DfI1uRWElvTQymwpr9mX50= 9 | Exponent2: ZnWUu6NcKIPM8lI98JK0G4OL1fMivOBYpCbFIRmgnJ0= 10 | Coefficient: N2jmFfQh8jhGIlrUvOlJFdDnAFNxEy/C5gXRJpNHHBM= 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+30899.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 30899 5 1 d4bf9d2e10f6d76840d42ef5913022abcd0bf512 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+30899.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+30899.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 5 (RSASHA1) 3 | Modulus: 0ONXIUfQxB7f2iMyBQKmp2w5UX5SaEbOcs9YxbKESE+3Vn9K/j3g7nsHcZLMzR+sJ1OEC/KXyhUYeTyGFQSytw== 4 | PublicExponent: Aw== 5 | PrivateExponent: i0I6Fi/ggr8/5sIhWKxvGkgmNlQ28C80TIo7LncC2t6ar2Q5rpyiDxEHvFLfphRh108ZOqf2tQdHx7tXTx5Gqw== 6 | Prime1: 9WS85Q92ilTAuGiVi+KesKzrFqF98l2Gpu4003hfmbc= 7 | Prime2: 2eqsD2jcY4Mgw26A8XFiaLdxx5J4s10Dhd9ur6X3rwE= 8 | Exponent1: o5h97gpPBuMrJZsOXUG/IHNHZGupTD5ZxJ7N4lA/u88= 9 | Exponent2: kUcdX5s9l6zAgkmrS6DsRc+hL7b7Ij4CWT+fH8P6dKs= 10 | Coefficient: PVZrElFmz9tWa4kwu9jArjcocycYu0eBycgguQ03J7w= 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+55582.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 55582 5 1 66e829ebd8145e6f030b840ae63b77273c9575e1 ; xiniv-mopov-rakoc-galuk-zibeb-ricob-penuf-rutad-lyzan-hetuv-caxox 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+55582.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+55582.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 5 (RSASHA1) 3 | Modulus: zdnkNAMmkfig9020LgFRAeTnRcwP50evivymweaK8hrzeHFHkJGAK132wQ0Jb0B7w4g7X3HD239E9oQCpBr44Q== 4 | PublicExponent: AQAB 5 | PrivateExponent: DE8+TTnvAYWboo47+xBLFtDoX40fWlY4EhifpDK0FlwYtslxlSkCZkynCwYtZ+DKVpqRHfKqiJ58YLHSfh3NLQ== 6 | Prime1: 9Gn4mzILOWnw5w1x2qeDj5yTny3un0J1PnPhPsPlpHs= 7 | Prime2: 15vzQpJ7l5rh1grtqEbom/mxaUX49CzMS6zi9xfHX1M= 8 | Exponent1: qknPEWobkePzGTgv1DUUH5Hq9GPPNpzaDSo1jEJ2lFM= 9 | Exponent2: FTrI0BRGUR4yAHZhAkHBI6KJYnk+UySaFRV336aavfs= 10 | Coefficient: iaMsVK9xzKl9+2tiaoNQNcVQSTkP5oI2upGqfOsQXbg= 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+60946.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 60946 5 1 f48a5c8c1eceb7df2d68d1ad29151a77d5650505 ; xutam-pulim-seles-votit-zorek-mygep-tipyc-hakol-luhik-hecib-hoxax 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+60946.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+60946.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 5 (RSASHA1) 3 | Modulus: 6JpSJQilYx9jPkvSx8lNlae430jIFfh6b1WOyipBOw4PUcNCk1vhu68mjuk3ZoELE1Lt7Q4vx7aZUHoItn7x6Q== 4 | PublicExponent: AQAB 5 | PrivateExponent: Y21D28y8VYifNYvXx8rGvUf6gIdt7+ZM/7ZE2SoCxCjHkHQqWh9k1l5xEjCDZ7YOyFyQAbowMhEsr6C+11UvOQ== 6 | Prime1: /4r1mlWLh3x1afMpWPxIfeNFsRHeyujk7GBuCZ0MlkM= 7 | Prime2: 6QTa08YMv3JQrdEe8n+zZvMDkOhS/1wltFBn+mt9cmM= 8 | Exponent1: 4AWFDBiEanEsSYaXL+By+JF+Lh3Zb4696Y8byCe6uhs= 9 | Exponent2: p7bo0bgggMMEsrZrcdrcA2Mx0+CDrGxkbu3YiPNI7UU= 10 | Coefficient: ahJU2OH7E2Q1yhzja925x7g4r289nD/GGIHz47e0ysk= 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+007+57024.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 57024 7 1 46d134be319b2cc910b9938f1cb25dc41abb27bf ; xicit-citor-vasin-rarus-nygir-nagam-zulor-dylos-gokar-ranor-zixyx 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+007+57024.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 257 3 7 AwEAAbvre/wK/WVeoj0SiwVkTD+NefvHPru9YIqLWY0m+0E5NYOpJZdc+PGQQYRzFNOlugVZtFirmv5Lmz7GNiASXtG/IFi//SlE30DxEKQOjt2F6qSZTZ1nZ5XOIMGTwWyp4OoI0egk5JavC5mQbyXqcj82ywt6F5Z3CmnThVl6MtOv ;{id = 57024 (ksk), size = 1024b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+01443.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 1443 8 1 54f8ccd08089fd8b7c1b51d487eadf1c527dece4 ; xihaz-mufit-bybem-nezam-ryzuc-rugyt-gucyv-pulec-sygyl-tiriv-goxox 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+01443.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 256 3 8 AwEAAbd9WqjzE2Pynz21OG5doSf9hFzMr5dhzz2waZ3vTa+0o5r7AjTAqmA1yH/B3+aAMihUm5ucZSfVqo7+kOaRE8yFj9aivOmA1n1+JLevJq/oyvQyjxQN2Qb89LyaNUT5oKZIiL+uyyhNW3KDR3SSbQ/GBwQNDHVcZi+JDR3RC0r7 ;{id = 1443 (zsk), size = 1024b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+29332.ds: -------------------------------------------------------------------------------- 1 | example.com. IN DS 29332 8 2 751f8b755718a7b4ef8920a4b42407520889c3d2142a64f6ffad9e12fa9fc262 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+29332.key: -------------------------------------------------------------------------------- 1 | example.com. IN DNSKEY 257 3 8 AwEAAb4WMOTBLTFvmBra5m6SK4VfViOzmvyUAU0qv861ZQXeEFvwlndqNU9rwRsMxrSWAYs5nHErKDn49usC/HyxxW1477iGFHhfgL4mjNreJm9zft2QFB1VLbRbEPYdDMLCn4co0qnG7/KG8W2i8Pym1L7f+aREwbLo+/716AS2PbaKMhfWLKLiq5wnBcUClQMNzCiwhqxDJp1oePqfkVdeUgXOtgi0dYRIKyQFhJ5VWJ22npoi/Gif0XLCADAlAwRLKc8o/yJkCxskzgpHpw5Cki1lclg0aq4ssOuPRQ+ne6IHYCz9D2mwzulblhLFamKdq7aHzNt4NlyxhpANVFiKLD8= ;{id = 29332 (ksk), size = 2048b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+55566.ds: -------------------------------------------------------------------------------- 1 | example.com. IN DS 55566 8 2 9c148338951ce1c3b5cd3da532f3d90dfcf92595148022f2c2fd98e5deee90af 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+008+55566.key: -------------------------------------------------------------------------------- 1 | example.com. IN DNSKEY 256 3 8 AwEAAdug/L739i0mgN2nuK/bhxu3wFn5Ud9nK2+XUmZQlPUEZUC5YZvm1rfMmEWTGBn87fFxEu/kjFZHJ55JLzqsbbpVHLbmKCTT2gYR2FV2WDKROGKuYbVkJIXdKAjJ0ONuK507NinYvlWXIoxHn22KAWOd9wKgSTNHBlmGkX+ts3hh ;{id = 55566 (zsk), size = 1024b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+009+48886.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 48886 9 1 eb70a0d5001a3da004b428f01bf15cb5aad22f73 ; xupol-bamyt-hobuc-pyzop-bacur-gupaz-bakoz-cylyr-hepyt-dorol-foxux 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+009+48886.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 256 3 9 AwEAAazmeO3BNv+xPYuFbQp8JN4XX+iKNuvJgD2QG5jRXI0IP5by+JGSob20OEmbPLqKcXWMRPICTyPBDaBh0tXA66DVlHV8rCtAT5Yqdrz2qw05SNYCGWJulscR6GM0e4gkO1FrBINr385IiMH3sJegBzm2HUbyb2I+xuFIfl7SgMuZ5fahHnhjDwsdgw+19OQlbYDRmNhMvtJemomIiGzPwrxEtKBlcUevcFPX7cPU7lpbcZwVP16xhLbtSNwMHvoCoRpJrAtdDGiSyAzTQef+jWuaUlFCPle6Qkghi51zmpBrPunqRCoYg7LIyJ9zS/KzPKX2zN2ASu9KJD3tDW9OSZM= ;{id = 48886 (zsk), size = 2048b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+012+60385.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 60385 12 3 c93b6fd6893d42ae60acd15088c2aeea0e0f013e535961855f17299507f70e0d ; xudef-ririt-kidaf-tebyp-vemep-segih-bydes-dyriv-pofab-zibaf-vigyh-numom-halac-lypin-hycaz-lofub-taxex 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+012+60385.key: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DNSKEY 256 3 12 9SZY+xB3wKtrLoRHzkBs9L3fjcvazjnk5HF3gMaD1PVp4pthrwgHIm0TUaLrd3YCa2VCl5wj+MzbhZi8NEJ/Cg== ;{id = 60385 (zsk), size = 512b} 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+012+60385.private: -------------------------------------------------------------------------------- 1 | Private-key-format: v1.2 2 | Algorithm: 12 (ECC-GOST) 3 | GostAsn1: MEUCAQAwHAYGKoUDAgITMBIGByqFAwICIwEGByqFAwICHgEEIgIge0NaZG76WD9K6vNRD1yDuVPtKlEtFQbHIjoB106B6Hc= 4 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_axfr.tdir/auth_axfr.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 7 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | auth-zone: 14 | name: "example.com" 15 | for-upstream: yes 16 | for-downstream: yes 17 | master: "127.0.0.1@@TOPORT@" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_axfr.tdir/auth_axfr.dsc: -------------------------------------------------------------------------------- 1 | BaseName: auth_axfr 2 | Version: 1.0 3 | Description: Perform AXFR for authority zone 4 | CreationDate: Tue 13 Jun 09:35:40 CEST 2017 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: auth_axfr.pre 12 | Post: auth_axfr.post 13 | Test: auth_axfr.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_axfr.tdir/auth_axfr.post: -------------------------------------------------------------------------------- 1 | # #-- auth_axfr.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_https.tdir/127.0.0.1/example.com.zone: -------------------------------------------------------------------------------- 1 | example.com. IN SOA ns.example.com. hostmaster.example.com. 1 3600 900 86400 3600 2 | example.com. IN NS ns.example.net. 3 | www.example.com. IN A 1.2.3.4 4 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_https.tdir/auth_https.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 7 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | auth-zone: 14 | name: "example.com" 15 | for-upstream: yes 16 | for-downstream: yes 17 | url: "https://127.0.0.1:@TOPORT@/example.com.zone" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_https.tdir/auth_https.dsc: -------------------------------------------------------------------------------- 1 | BaseName: auth_https 2 | Version: 1.0 3 | Description: Perform https for authority zone 4 | CreationDate: Tue 13 Jun 09:35:40 CEST 2017 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: auth_https.pre 12 | Post: auth_https.post 13 | Test: auth_https.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/auth_https.tdir/auth_https.post: -------------------------------------------------------------------------------- 1 | # #-- auth_https.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | PRE="../.." 9 | . ../common.sh 10 | kill_pid $UNBOUND_PID 11 | kill_pid $PETAL_PID 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/clang-analysis.tdir/clang-analysis.dsc: -------------------------------------------------------------------------------- 1 | BaseName: clang-analysis 2 | Version: 1.0 3 | Description: clang analysis 4 | CreationDate: Wed 12 Sep 16:00:26 CEST 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | Depends: 9 | Help: 10 | Pre: 11 | Post: 12 | Test: clang-analysis.test 13 | AuxFiles: 14 | Passed: 15 | Failure: 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/bad_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQDd5/rocjG5vDANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0NFoXDTI4MDYxMzEyMjQ0NFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDt 5 | i51Z6qASvAjPFFhLLlq8BwtsnmfqMPMn57dKAghb4OifeL4GSLOE02/hKDkdkOva 6 | UG2UqDNh2OoPTuJk4A+mG2LJoziFhHKlIebo9v2YiFWOBVtODWc3tXPT1IlSEN0x 7 | nAGelMmeLcPeCPe+A5IDlIHzF/+YiDgS38S9dL17owIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAHpvcKqY48X9WsqogV16L+zT7iXhZ4tySA9EBk1a+0gud/iDPKSBi7mK 9 | 4rzphVfb4S207dVmTG+1WNpa6l3pTGML6XLElxqIu/kr7w4cF0rKvZxWPsBRqYjH 10 | 5HrK8CrQ0+YvUHXiu7IaACLGvKXY4Tqa3HQyvEtzLWJ4HhOrGx8F 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/bad_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQCDugnhq8B6LzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0M1oXDTI4MDYxMzEyMjQ0M1owEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvYbqzRwbQe0B 5 | RLjyTpwspVFlBdv1Et7/ckEEF57LblzEF0Wqtdbr4i5sGhrq1fbZ4F+fRyE7AU++ 6 | DUK7RSnxAy1Yi65tmqwDPTs7J+LZ799B1z0Q41DnNTNOUO1M42kqzr/k5DxKsobV 7 | Mmj9Q2KNG3Jm8bUpGHNmRFgsIT5JVMECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCy 8 | zGMW35/9xXoEWsuLFWUOaEKVq5DXuXtXbcMpDW6k2ELoraa305vh7Zwhj5JSqfcm 9 | O0xyqIzXvz/cYdyOTgEkdMDZ/EvQsxKTwvj6eA4614yB1r3Ju5eZd4Gpo6BHhSpu 10 | oqsrr0duJ+JOANTyaBplIxM1sjHbR4FGtmrFknBYBQ== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/ctrl_itr.dsc: -------------------------------------------------------------------------------- 1 | BaseName: ctrl_itr 2 | Version: 1.0 3 | Description: iterator only test unbound-control 4 | CreationDate: Thu Jan 16 14:08:12 CET 2014 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: ctrl_itr.pre 12 | Post: ctrl_itr.post 13 | Test: ctrl_itr.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/ctrl_itr.post: -------------------------------------------------------------------------------- 1 | # #-- ctrl_itr.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | # it was stopped with unbound-control (if the test succeeded) 11 | kill $UNBOUND_PID >/dev/null 2>&1 12 | kill $UNBOUND_PID >/dev/null 2>&1 13 | exit 0 14 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/ctrl_itr.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA SERVFAIL 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www.example.net. IN A 21 | ENTRY_END 22 | 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/unbound_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQD6XaN6FzW/4DANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD 5 | 6DogNCsSeEa1u99+6PUVbGzjMzzei9MIK6s94+zcpp7OAOBarzPA0vlyuNtUsEN3 6 | qwPomQQQmIgbT7OXkzC1wqioxwa609xoL8oW/I7e336rEyvHST6JwUdIg0Lzg/US 7 | J81eTwMnzYSd4Bpsqr9eP33ubaR7Gh/6o76loLOlcQIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAGFAXmaQHuFgAuc6HVhYZJdToxLBhfxGpot4oZNjcb1Cdoz3OL34MU1B 9 | 9E5psj2PpGPIi8/RwoqBtAJHJ+J5cWngo03o4ZmdwKNSzaxlp141z/3rUtFqEHEC 10 | iO6gPCT3U7dt6MyC7r6vdMqyW6aldP3CtwD0gQziKAMoj+TAfAcq 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/unbound_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQDsNJ1UmphEFzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtxeybL9rtNaS 5 | y/axZ47DFPyGghVCM/+tuA3GhPOGeIIzJeZFgN2sUHKrpdcJcEq2ysK6J8vnfYR/ 6 | /jF9LWcL5fMNzpoZjgImkPkhwrCLjo1cEI19LESwetT8+fjwIlb5z2vSSGAeUKyu 7 | g1RLMSB4/DDnOSSjka5xErBQ4esnjHkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAZ 8 | 9N0lnLENs4JMvPS+mn8C5m9bkkFITd32IiLjf0zgYpIUbFXH6XaEr9GNZBUG8feG 9 | l/6WRXnbnVSblI5odQ4XxGZ9inYY6qtW30uv76HvoKp+QZ1c3460ddR8NauhcCHH 10 | Z7S+QbLXi+r2JAhpPozZCjBHlRD0ixzA1mKQTJhJZg== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/bad_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQDd5/rocjG5vDANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0NFoXDTI4MDYxMzEyMjQ0NFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDt 5 | i51Z6qASvAjPFFhLLlq8BwtsnmfqMPMn57dKAghb4OifeL4GSLOE02/hKDkdkOva 6 | UG2UqDNh2OoPTuJk4A+mG2LJoziFhHKlIebo9v2YiFWOBVtODWc3tXPT1IlSEN0x 7 | nAGelMmeLcPeCPe+A5IDlIHzF/+YiDgS38S9dL17owIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAHpvcKqY48X9WsqogV16L+zT7iXhZ4tySA9EBk1a+0gud/iDPKSBi7mK 9 | 4rzphVfb4S207dVmTG+1WNpa6l3pTGML6XLElxqIu/kr7w4cF0rKvZxWPsBRqYjH 10 | 5HrK8CrQ0+YvUHXiu7IaACLGvKXY4Tqa3HQyvEtzLWJ4HhOrGx8F 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/bad_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQCDugnhq8B6LzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0M1oXDTI4MDYxMzEyMjQ0M1owEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvYbqzRwbQe0B 5 | RLjyTpwspVFlBdv1Et7/ckEEF57LblzEF0Wqtdbr4i5sGhrq1fbZ4F+fRyE7AU++ 6 | DUK7RSnxAy1Yi65tmqwDPTs7J+LZ799B1z0Q41DnNTNOUO1M42kqzr/k5DxKsobV 7 | Mmj9Q2KNG3Jm8bUpGHNmRFgsIT5JVMECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCy 8 | zGMW35/9xXoEWsuLFWUOaEKVq5DXuXtXbcMpDW6k2ELoraa305vh7Zwhj5JSqfcm 9 | O0xyqIzXvz/cYdyOTgEkdMDZ/EvQsxKTwvj6eA4614yB1r3Ju5eZd4Gpo6BHhSpu 10 | oqsrr0duJ+JOANTyaBplIxM1sjHbR4FGtmrFknBYBQ== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/ctrl_pipe.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | remote-control: 13 | control-enable: yes 14 | control-interface: @PATH@/controlpipe.@PID@ 15 | control-use-cert: no 16 | #server-key-file: "unbound_server.key" 17 | #server-cert-file: "unbound_server.pem" 18 | #control-key-file: "unbound_control.key" 19 | #control-cert-file: "unbound_control.pem" 20 | forward-zone: 21 | name: "." 22 | forward-addr: "127.0.0.1@@TOPORT@" 23 | 24 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/ctrl_pipe.dsc: -------------------------------------------------------------------------------- 1 | BaseName: ctrl_pipe 2 | Version: 1.0 3 | Description: unix pipe test unbound-control 4 | CreationDate: Fri 16 Jan 13:25:48 CET 2015 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: ctrl_pipe.pre 12 | Post: ctrl_pipe.post 13 | Test: ctrl_pipe.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/ctrl_pipe.post: -------------------------------------------------------------------------------- 1 | # #-- ctrl_pipe.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | # it was stopped with unbound-control (if the test succeeded) 11 | kill $UNBOUND_PID >/dev/null 2>&1 12 | kill $UNBOUND_PID >/dev/null 2>&1 13 | 14 | rm -f $CONTROL_PATH/controlpipe.$CONTROL_PID 15 | exit 0 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/ctrl_pipe.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA SERVFAIL 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www.example.net. IN A 21 | ENTRY_END 22 | 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/unbound_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQD6XaN6FzW/4DANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD 5 | 6DogNCsSeEa1u99+6PUVbGzjMzzei9MIK6s94+zcpp7OAOBarzPA0vlyuNtUsEN3 6 | qwPomQQQmIgbT7OXkzC1wqioxwa609xoL8oW/I7e336rEyvHST6JwUdIg0Lzg/US 7 | J81eTwMnzYSd4Bpsqr9eP33ubaR7Gh/6o76loLOlcQIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAGFAXmaQHuFgAuc6HVhYZJdToxLBhfxGpot4oZNjcb1Cdoz3OL34MU1B 9 | 9E5psj2PpGPIi8/RwoqBtAJHJ+J5cWngo03o4ZmdwKNSzaxlp141z/3rUtFqEHEC 10 | iO6gPCT3U7dt6MyC7r6vdMqyW6aldP3CtwD0gQziKAMoj+TAfAcq 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_pipe.tdir/unbound_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQDsNJ1UmphEFzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtxeybL9rtNaS 5 | y/axZ47DFPyGghVCM/+tuA3GhPOGeIIzJeZFgN2sUHKrpdcJcEq2ysK6J8vnfYR/ 6 | /jF9LWcL5fMNzpoZjgImkPkhwrCLjo1cEI19LESwetT8+fjwIlb5z2vSSGAeUKyu 7 | g1RLMSB4/DDnOSSjka5xErBQ4esnjHkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAZ 8 | 9N0lnLENs4JMvPS+mn8C5m9bkkFITd32IiLjf0zgYpIUbFXH6XaEr9GNZBUG8feG 9 | l/6WRXnbnVSblI5odQ4XxGZ9inYY6qtW30uv76HvoKp+QZ1c3460ddR8NauhcCHH 10 | Z7S+QbLXi+r2JAhpPozZCjBHlRD0ixzA1mKQTJhJZg== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_chacha.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_salsa.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_chacha.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_salsa.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/dnscrypt_cert.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | port: @PORT@ 5 | interface: 0.0.0.0 6 | interface: 0.0.0.0@@DNSCRYPT_PORT@ 7 | use-syslog: no 8 | directory: . 9 | pidfile: "unbound.pid" 10 | chroot: "" 11 | username: "" 12 | do-not-query-localhost: no 13 | 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | 18 | dnscrypt: 19 | dnscrypt-enable: yes 20 | dnscrypt-port: @DNSCRYPT_PORT@ 21 | dnscrypt-provider: 2.dnscrypt-cert.example.com. 22 | dnscrypt-secret-key: 1.key 23 | dnscrypt-secret-key: 2.key 24 | dnscrypt-provider-cert: 1_salsa.cert 25 | dnscrypt-provider-cert: 2_salsa.cert 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/dnscrypt_cert.dsc: -------------------------------------------------------------------------------- 1 | BaseName: dnscrypt_cert 2 | Version: 1.0 3 | Description: dnscrypt cert retrieval. 4 | CreationDate: Fri Mar 03 10:08:08 CEST 2017 5 | Maintainer: Emmanuel Bretelle 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: dnscrypt_cert.pre 12 | Post: dnscrypt_cert.post 13 | Test: dnscrypt_cert.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/dnscrypt_cert.post: -------------------------------------------------------------------------------- 1 | # #-- dnscrypt_cert.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | PRE="../.." 9 | . ../common.sh 10 | 11 | # Check if we can run the test. 12 | . ./precheck.sh 13 | 14 | kill_pid $FWD_PID 15 | kill_pid $UNBOUND_PID 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/dnscrypt_cert.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP 7 | REPLY QR AA TC NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname TCP 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www IN A 21 | SECTION ANSWER 22 | www IN A 10.20.30.40 23 | www IN A 10.20.30.41 24 | www IN A 10.20.30.42 25 | ENTRY_END 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/precheck.sh: -------------------------------------------------------------------------------- 1 | # dnscrypt precheck.sh 2 | 3 | # if no dnscrypt; exit 4 | if grep "define USE_DNSCRYPT 1" $PRE/config.h; then 5 | echo "have dnscrypt" 6 | else 7 | echo "no dnscrypt" 8 | exit 0 9 | fi 10 | 11 | # if no xchacha20 support in unbound; exit 12 | if grep "define USE_DNSCRYPT_XCHACHA20 1" $PRE/config.h; then 13 | xchacha20=1 14 | else 15 | xchacha20=0 16 | fi 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_chacha.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_salsa.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_chacha.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_salsa.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/e8e12afad29545be412d2f59d6629e4f351f95be/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/dnscrypt_cert_chacha.dsc: -------------------------------------------------------------------------------- 1 | BaseName: dnscrypt_cert_chacha 2 | Version: 1.0 3 | Description: dnscrypt cert retrieval. 4 | CreationDate: Fri Mar 03 10:08:08 CEST 2017 5 | Maintainer: Emmanuel Bretelle 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: dnscrypt_cert_chacha.pre 12 | Post: dnscrypt_cert_chacha.post 13 | Test: dnscrypt_cert_chacha.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/dnscrypt_cert_chacha.post: -------------------------------------------------------------------------------- 1 | # #-- dnscrypt_cert_chacha.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | PRE="../.." 9 | . ../common.sh 10 | 11 | # Check if we can run the test. 12 | . ./precheck.sh 13 | 14 | kill_pid $FWD_PID 15 | if [ $xchacha20 -ne 0 ]; then 16 | kill_pid $UNBOUND_PID 17 | fi 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/dnscrypt_cert_chacha.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP 7 | REPLY QR AA TC NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname TCP 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www IN A 21 | SECTION ANSWER 22 | www IN A 10.20.30.40 23 | www IN A 10.20.30.41 24 | www IN A 10.20.30.42 25 | ENTRY_END 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/precheck.sh: -------------------------------------------------------------------------------- 1 | # dnscrypt precheck.sh 2 | 3 | # if no dnscrypt; exit 4 | if grep "define USE_DNSCRYPT 1" $PRE/config.h; then 5 | echo "have dnscrypt" 6 | else 7 | echo "no dnscrypt" 8 | exit 0 9 | fi 10 | 11 | # if no xchacha20 support in unbound; exit 12 | if grep "define USE_DNSCRYPT_XCHACHA20 1" $PRE/config.h; then 13 | xchacha20=1 14 | else 15 | xchacha20=0 16 | fi 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/edns_cache.tdir/edns_cache.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: ::1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | stub-zone: 13 | name: "example.net" 14 | stub-addr: "127.0.0.1@@STUB2_PORT@" 15 | # a k a root hints 16 | stub-zone: 17 | name: "." 18 | stub-addr: "::1@@STUB1_PORT@" 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/edns_cache.tdir/edns_cache.dsc: -------------------------------------------------------------------------------- 1 | BaseName: edns_cache 2 | Version: 1.0 3 | Description: Server does not support EDNS and cache this. 4 | CreationDate: Tue Nov 30 12:34:37 CET 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: edns_cache.pre 12 | Post: edns_cache.post 13 | Test: edns_cache.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/edns_cache.tdir/edns_cache.post: -------------------------------------------------------------------------------- 1 | # #-- edns_cache.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $STUB1_PID 10 | kill_pid $STUB2_PID 11 | kill_pid $UNBOUND_PID 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ancil.tdir/fwd_ancil.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 1 3 | # num-threads: 1 4 | port: @PORT@ 5 | use-syslog: no 6 | directory: "" 7 | pidfile: "unbound.pid" 8 | chroot: "" 9 | username: "" 10 | do-not-query-localhost: no 11 | interface-automatic: yes 12 | access-control: 0.0.0.0/0 allow 13 | access-control: ::0/0 allow 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ancil.tdir/fwd_ancil.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_ancil 2 | Version: 1.0 3 | Description: Test if ip6 ancillary recvmsg and sendmsg work. 4 | CreationDate: Tue Jan 15 10:47:37 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_ancil.pre 12 | Post: fwd_ancil.post 13 | Test: fwd_ancil.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ancil.tdir/fwd_ancil.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_ancil.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | if test `hostname`"" = "dicht.nlnetlabs.nl"; then 10 | echo "In jail, no ::1, skip test" 11 | exit 0 12 | fi 13 | 14 | kill_pid $FWD_PID 15 | if fgrep "service stopped" unbound.log; then 16 | exit 0 17 | fi 18 | kill_pid $UNBOUND_PID 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ancil.tdir/fwd_ancil.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_bogus.tdir/fwd_bogus.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_bogus 2 | Version: 1.0 3 | Description: Forward and check bogus TTL in the cache. 4 | CreationDate: Thu Sep 10 10:14:57 CEST 2009 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_bogus.pre 12 | Post: fwd_bogus.post 13 | Test: fwd_bogus.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_bogus.tdir/fwd_bogus.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_bogus.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_bogus.tdir/fwd_bogus.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ; give unsigned answers! 6 | ENTRY_BEGIN 7 | MATCH opcode qtype qname 8 | REPLY QR AA NOERROR 9 | ADJUST copy_id 10 | SECTION QUESTION 11 | @ IN DNSKEY 12 | SECTION ANSWER 13 | example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} 14 | ENTRY_END 15 | 16 | ENTRY_BEGIN 17 | MATCH opcode qtype qname 18 | REPLY QR AA NOERROR 19 | ADJUST copy_id 20 | SECTION QUESTION 21 | www IN A 22 | SECTION ANSWER 23 | www IN A 10.20.30.40 24 | ENTRY_END 25 | 26 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_bogus.tdir/unbound_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQD6XaN6FzW/4DANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD 5 | 6DogNCsSeEa1u99+6PUVbGzjMzzei9MIK6s94+zcpp7OAOBarzPA0vlyuNtUsEN3 6 | qwPomQQQmIgbT7OXkzC1wqioxwa609xoL8oW/I7e336rEyvHST6JwUdIg0Lzg/US 7 | J81eTwMnzYSd4Bpsqr9eP33ubaR7Gh/6o76loLOlcQIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAGFAXmaQHuFgAuc6HVhYZJdToxLBhfxGpot4oZNjcb1Cdoz3OL34MU1B 9 | 9E5psj2PpGPIi8/RwoqBtAJHJ+J5cWngo03o4ZmdwKNSzaxlp141z/3rUtFqEHEC 10 | iO6gPCT3U7dt6MyC7r6vdMqyW6aldP3CtwD0gQziKAMoj+TAfAcq 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_bogus.tdir/unbound_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQDsNJ1UmphEFzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtxeybL9rtNaS 5 | y/axZ47DFPyGghVCM/+tuA3GhPOGeIIzJeZFgN2sUHKrpdcJcEq2ysK6J8vnfYR/ 6 | /jF9LWcL5fMNzpoZjgImkPkhwrCLjo1cEI19LESwetT8+fjwIlb5z2vSSGAeUKyu 7 | g1RLMSB4/DDnOSSjka5xErBQ4esnjHkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAZ 8 | 9N0lnLENs4JMvPS+mn8C5m9bkkFITd32IiLjf0zgYpIUbFXH6XaEr9GNZBUG8feG 9 | l/6WRXnbnVSblI5odQ4XxGZ9inYY6qtW30uv76HvoKp+QZ1c3460ddR8NauhcCHH 10 | Z7S+QbLXi+r2JAhpPozZCjBHlRD0ixzA1mKQTJhJZg== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid.tdir/fwd_capsid.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid.tdir/fwd_capsid.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_capsid 2 | Version: 1.0 3 | Description: Forward and check 0x20 bits. 4 | CreationDate: Mon Oct 6 16:25:09 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_capsid.pre 12 | Post: fwd_capsid.post 13 | Test: fwd_capsid.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid.tdir/fwd_capsid.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid.tdir/fwd_capsid.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.40" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid.tdir/fwd_capsid.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id copy_query 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_capsid_fallback 2 | Version: 1.0 3 | Description: Forward and do 0x20 fallback. 4 | CreationDate: Mon Oct 6 16:30:15 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_capsid_fallback.pre 12 | Post: fwd_capsid_fallback.post 13 | Test: fwd_capsid_fallback.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_fallback.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_fallback.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT wwwabcdefghijklmnopqrstuvwxyzwww.example.com | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.40" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | ; WEIRD CAPS! ; probably not the query! 11 | WwWabcdefghijklmnopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 12 | SECTION ANSWER 13 | wWwABCDEFGHIJKLMNopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 10.20.30.40 14 | ENTRY_END 15 | 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | forward-addr: "127.0.0.1@@TOPORT2@" 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_capsid_strip 2 | Version: 1.0 3 | Description: Forward and do 0x20 fallback that needs stripping. 4 | CreationDate: Fri 30 Jan 10:41:33 CET 2015 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_capsid_strip.pre 12 | Post: fwd_capsid_strip.post 13 | Test: fwd_capsid_strip.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_strip.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $FWD_PID2 11 | kill_pid $UNBOUND_PID 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_strip.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT wwwabcdefghijklmnopqrstuvwxyzwww.example.com | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat fwd2.log 14 | cat unbound.log 15 | echo "> check answer" 16 | if grep "10.20.30.40" outfile; then 17 | echo "OK" 18 | else 19 | echo "Not OK" 20 | exit 1 21 | fi 22 | 23 | exit 0 24 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | ; WEIRD CAPS! ; probably not the query! 11 | WwWabcdefghijklmnopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 12 | SECTION ANSWER 13 | wWwABCDEFGHIJKLMNopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 10.20.30.40 14 | SECTION AUTHORITY 15 | example.com. IN NS ns1.example.com. 16 | example.com. IN NS ns2.example.com. 17 | SECTION ADDITIONAL 18 | ns1.example.com. IN A 1.2.3.4 19 | ENTRY_END 20 | 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.testns2: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | ; WEIRD CAPS! ; probably not the query! 11 | WwWabcdefghijklmnopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 12 | SECTION ANSWER 13 | wWwABCDEFGHIJKLMNopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 10.20.30.40 14 | SECTION AUTHORITY 15 | SECTION ADDITIONAL 16 | ns2.example.com. IN A 1.2.3.5 17 | ENTRY_END 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | caps-whitelist: "example.com" 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | forward-addr: "127.0.0.1@@TOPORT2@" 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_capsid_white 2 | Version: 1.0 3 | Description: Forward and and test 0x20 whitelist. 4 | CreationDate: Fri 1 May 14:25:04 CEST 2015 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_capsid_white.pre 12 | Post: fwd_capsid_white.post 13 | Test: fwd_capsid_white.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_white.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $FWD_PID2 11 | kill_pid $UNBOUND_PID 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_capsid_white.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT wwwabcdefghijklmnopqrstuvwxyzwww.example.com | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat fwd2.log 14 | cat unbound.log 15 | echo "> check answer" 16 | if grep "10.20.30" outfile; then 17 | echo "OK" 18 | else 19 | echo "Not OK" 20 | exit 1 21 | fi 22 | 23 | exit 0 24 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | ; WEIRD CAPS! ; probably not the query! 11 | WwWabcdefghijklmnopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 12 | SECTION ANSWER 13 | wWwABCDEFGHIJKLMNopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 10.20.30.40 14 | ENTRY_END 15 | 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_capsid_white.tdir/fwd_capsid_white.testns2: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | ; WEIRD CAPS! ; probably not the query! 11 | WwWabcdefghijklmnopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 12 | SECTION ANSWER 13 | wWwABCDEFGHIJKLMNopqrstuvwxyzWwW.ExAMPLE.CoM. IN A 10.20.30.44 14 | SECTION AUTHORITY 15 | SECTION ADDITIONAL 16 | ENTRY_END 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | minimal-responses: no 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_compress_c00c 2 | Version: 1.0 3 | Description: Forward and check compression of answer to query name. 4 | CreationDate: Mon Oct 15 15:57:03 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_compress_c00c.pre 12 | Post: fwd_compress_c00c.post 13 | Test: fwd_compress_c00c.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.good: -------------------------------------------------------------------------------- 1 | 0000000: 006c eb41 8180 0001 0001 0003 0000 0a6f .l.A...........o 2 | 0000010: 7665 7265 696e 6465 7203 6e65 7400 0001 vereinder.net... 3 | 0000020: 0001 c00c 0001 0001 0000 0384 0004 5038 ..............P8 4 | 0000030: dfcd c00c 0002 0001 0001 5180 0010 0161 ..........Q....a 5 | 0000040: 026e 7305 6a6f 6b65 7203 636f 6d00 c00c .ns.joker.com... 6 | 0000050: 0002 0001 0001 5180 0004 0162 c03e c00c ......Q....b.>.. 7 | 0000060: 0002 0001 0001 5180 0004 0163 c03e ......Q....c.> 8 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_compress_c00c.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | cat unbound.log 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN overeinder.net. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | overeinder.net. IN A 11 | SECTION ANSWER 12 | overeinder.net. 900 IN A 80.56.223.205 13 | SECTION AUTHORITY 14 | overeinder.net. 86400 IN NS a.ns.joker.com. 15 | overeinder.net. 86400 IN NS b.ns.joker.com. 16 | overeinder.net. 86400 IN NS c.ns.joker.com. 17 | ENTRY_END 18 | 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_bksec.tdir/fwd_edns_bksec.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 5 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: UPORT 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | # key +005+30899 13 | trust-anchor: "example.com. 3600 IN DS 30899 5 1 d4bf9d2e10f6d76840d42ef5913022abcd0bf512" 14 | # validation time 15 | val-override-date: "20100406005004" 16 | fake-sha1: yes 17 | 18 | forward-zone: 19 | name: "." 20 | forward-addr: "127.0.0.1@TOPORT" 21 | stub-zone: 22 | name: "example.com" 23 | stub-addr: "127.0.0.1@TOPORT" 24 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_bksec.tdir/fwd_edns_bksec.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_edns_bksec 2 | Version: 1.0 3 | Description: Forward EDNS backoff for DNSSEC domain 4 | CreationDate: Tue Apr 6 08:45:57 CEST 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_edns_bksec.pre 12 | Post: fwd_edns_bksec.post 13 | Test: fwd_edns_bksec.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_bksec.tdir/fwd_edns_bksec.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_edns_bksec.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_probe.tdir/fwd_edns_probe.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 5 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: UPORT 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@TOPORT" 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_probe.tdir/fwd_edns_probe.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_edns_probe 2 | Version: 1.0 3 | Description: Forward with EDNS probing 4 | CreationDate: Wed Jan 6 09:45:50 CET 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_edns_probe.pre 12 | Post: fwd_edns_probe.post 13 | Test: fwd_edns_probe.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_edns_probe.tdir/fwd_edns_probe.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_edns_probe.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_malformed.tdir/fwd_malformed.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 5 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | use-caps-for-id: yes 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_malformed.tdir/fwd_malformed.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_malformed 2 | Version: 1.0 3 | Description: Check authority that returns malformed packet. 4 | CreationDate: Tue 13 Jun 09:35:40 CEST 2017 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_malformed.pre 12 | Post: fwd_malformed.post 13 | Test: fwd_malformed.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_malformed.tdir/fwd_malformed.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_malformed.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_malformed.tdir/fwd_malformed.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_malformed.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "SERVFAIL" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_no_edns.tdir/fwd_no_edns.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: UPORT 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@TOPORT" 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_no_edns.tdir/fwd_no_edns.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_no_edns 2 | Version: 1.0 3 | Description: Forward retry with no EDNS 4 | CreationDate: Tue May 22 15:17:45 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_no_edns.pre 12 | Post: fwd_no_edns.post 13 | Test: fwd_no_edns.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_no_edns.tdir/fwd_no_edns.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_no_edns.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_no_edns.tdir/fwd_no_edns.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_no_edns.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.42" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_no_edns.tdir/fwd_no_edns.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP DO 7 | REPLY QR AA FORMERR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname UDP 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www IN A 21 | SECTION ANSWER 22 | www IN A 10.20.30.40 23 | www IN A 10.20.30.41 24 | www IN A 10.20.30.42 25 | ENTRY_END 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_oneport.tdir/fwd_oneport.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | outgoing-range: 2 7 | outgoing-port-avoid: 0-65535 8 | outgoing-port-permit: 20675 9 | directory: "" 10 | pidfile: "unbound.pid" 11 | chroot: "" 12 | username: "" 13 | num-queries-per-thread: 1024 14 | use-syslog: no 15 | do-not-query-localhost: no 16 | forward-zone: 17 | name: "." 18 | forward-addr: "127.0.0.1@@TOPORT@" 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_oneport.tdir/fwd_oneport.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_oneport 2 | Version: 1.0 3 | Description: Forward udp over one port with 2 fds 4 | CreationDate: Mon Apr 14 10:39:27 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_oneport.pre 12 | Post: fwd_oneport.post 13 | Test: fwd_oneport.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_oneport.tdir/fwd_oneport.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_oneport.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | 11 | # find all extra forked testns and kill them. 12 | pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'` 13 | for p in $pidlist; do 14 | kill_pid $p 15 | done 16 | 17 | # kill unbound 18 | kill_pid $UNBOUND_PID 19 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp.tdir/fwd_tcp.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@@TOPORT@" 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp.tdir/fwd_tcp.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_tcp 2 | Version: 1.0 3 | Description: Forward a TCP packet and return reply. 4 | CreationDate: Thu Feb 8 12:57:38 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_tcp.pre 12 | Post: fwd_tcp.post 13 | Test: fwd_tcp.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp.tdir/fwd_tcp.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp.tdir/fwd_tcp.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost +vc -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.40" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp.tdir/fwd_tcp.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_tcp_tc 2 | Version: 1.0 3 | Description: Forward retry in TCP mode 4 | CreationDate: Wed May 9 09:11:32 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_tcp_tc.pre 12 | Post: fwd_tcp_tc.post 13 | Test: fwd_tcp_tc.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp_tc.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp_tc.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.42" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP 7 | REPLY QR AA TC NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname TCP 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www IN A 21 | SECTION ANSWER 22 | www IN A 10.20.30.40 23 | www IN A 10.20.30.41 24 | www IN A 10.20.30.42 25 | ENTRY_END 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc6.tdir/fwd_tcp_tc6.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | port: @PORT@ 5 | use-syslog: no 6 | do-ip4: no 7 | do-ip6: yes 8 | directory: . 9 | pidfile: "unbound.pid" 10 | chroot: "" 11 | username: "" 12 | do-not-query-localhost: no 13 | 14 | forward-zone: 15 | name: "." 16 | forward-addr: "::1@@TOPORT@" 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc6.tdir/fwd_tcp_tc6.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_tcp_tc6 2 | Version: 1.0 3 | Description: Forward retry in TCP IP6 mode. 4 | CreationDate: Mon Oct 15 10:08:08 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_tcp_tc6.pre 12 | Post: fwd_tcp_tc6.post 13 | Test: fwd_tcp_tc6.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc6.tdir/fwd_tcp_tc6.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp_tc6.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc6.tdir/fwd_tcp_tc6.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname UDP 7 | REPLY QR AA TC NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname TCP 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www IN A 21 | SECTION ANSWER 22 | www IN A 10.20.30.40 23 | www IN A 10.20.30.41 24 | www IN A 10.20.30.42 25 | ENTRY_END 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three.tdir/fwd_three.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 # old 2 3 | num-threads: 5 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | outgoing-range: 2 7 | outgoing-num-tcp: 2 8 | directory: "" 9 | pidfile: "unbound.pid" 10 | chroot: "" 11 | username: "" 12 | num-queries-per-thread: 1 13 | use-syslog: no 14 | do-not-query-localhost: no 15 | forward-zone: 16 | name: "." 17 | forward-addr: "127.0.0.1@@TOPORT@" 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three.tdir/fwd_three.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_three 2 | Version: 1.0 3 | Description: Forward three queries at once, using threads. 4 | CreationDate: Tue Feb 27 14:11:44 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_three.pre 12 | Post: fwd_three.post 13 | Test: fwd_three.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three.tdir/fwd_three.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_three.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | . ../common.sh 10 | # kill fwder 11 | kill_pid $FWD_PID 12 | 13 | # find all extra forked testns and kill them. 14 | pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'` 15 | for p in $pidlist; do 16 | kill_pid $p 17 | done 18 | 19 | # kill unbound 20 | kill_pid $UNBOUND_PID 21 | exit 0 22 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three.tdir/fwd_three.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www1 IN A 11 | SECTION ANSWER 12 | www1 IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www2 IN A 21 | SECTION ANSWER 22 | www2 IN A 10.20.30.50 23 | ENTRY_END 24 | 25 | ENTRY_BEGIN 26 | MATCH opcode qtype qname 27 | REPLY QR AA NOERROR 28 | ADJUST copy_id 29 | SECTION QUESTION 30 | www3 IN A 31 | SECTION ANSWER 32 | www3 IN A 10.20.30.60 33 | ENTRY_END 34 | 35 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three_service.tdir/fwd_three_service.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | outgoing-range: 2 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | num-queries-per-thread: 1024 12 | use-syslog: no 13 | do-not-query-localhost: no 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three_service.tdir/fwd_three_service.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_three_service 2 | Version: 1.0 3 | Description: Forward three queries at once, using one thread. 4 | CreationDate: Wed Mar 28 15:26:21 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_three_service.pre 12 | Post: fwd_three_service.post 13 | Test: fwd_three_service.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_three_service.tdir/fwd_three_service.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_three_service.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | 10 | # kill fwder 11 | kill_pid $FWD_PID 12 | 13 | # find all extra forked testns and kill them. 14 | pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'` 15 | for p in $pidlist; do 16 | kill_pid $p 17 | done 18 | 19 | # kill unbound 20 | kill_pid $UNBOUND_PID 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_timeout.rpl: -------------------------------------------------------------------------------- 1 | ; config options go here. 2 | forward-zone: name: "." forward-addr: 216.0.0.1 3 | CONFIG_END 4 | SCENARIO_BEGIN Forwarder and a timeout happens on server query. 5 | STEP 1 QUERY 6 | ENTRY_BEGIN 7 | REPLY RD 8 | SECTION QUESTION 9 | www.example.com. IN A 10 | ENTRY_END 11 | ; But the pending query times out! 12 | ; OUTBOUND_MSG_RETRY times timeout. 13 | STEP 2 TIMEOUT 14 | STEP 3 TIMEOUT 15 | STEP 4 TIMEOUT 16 | STEP 5 TIMEOUT 17 | STEP 6 TIMEOUT 18 | ; returns servfail 19 | STEP 14 CHECK_ANSWER 20 | ENTRY_BEGIN 21 | MATCH opcode qname qtype 22 | SECTION QUESTION 23 | REPLY SERVFAIL QR RA RD 24 | MATCH all 25 | www.example.com. IN A 26 | ENTRY_END 27 | SCENARIO_END 28 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@@TOPORT@" 15 | 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_ttlexpire 2 | Version: 1.0 3 | Description: forward UDP and TTL expires in the cache 4 | CreationDate: Wed May 9 11:08:02 CEST 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_ttlexpire.pre 12 | Post: fwd_ttlexpire.post 13 | Test: fwd_ttlexpire.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_ttlexpire.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www 2 IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udp.tdir/fwd_udp.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 5 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@@TOPORT@" 15 | 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udp.tdir/fwd_udp.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_udp 2 | Version: 1.0 3 | Description: Forward an UDP packet and return reply. 4 | CreationDate: Wed Feb 7 09:01:25 CET 2007 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_udp.pre 12 | Post: fwd_udp.post 13 | Test: fwd_udp.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udp.tdir/fwd_udp.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_udp.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udp.tdir/fwd_udp.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_udp.test --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | PRE="../.." 8 | # do the test 9 | echo "> dig www.example.com." 10 | dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile 11 | echo "> cat logfiles" 12 | cat fwd.log 13 | cat unbound.log 14 | echo "> check answer" 15 | if grep "10.20.30.40" outfile; then 16 | echo "OK" 17 | else 18 | echo "Not OK" 19 | exit 1 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udp.tdir/fwd_udp.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udptmout.tdir/fwd_udptmout.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | outgoing-range: 3 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | num-queries-per-thread: 1024 12 | use-syslog: no 13 | do-not-query-localhost: no 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udptmout.tdir/fwd_udptmout.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_udptmout 2 | Version: 1.0 3 | Description: Forward udp queries with timeouts and multiple fds 4 | CreationDate: Mon Apr 14 10:26:48 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_udptmout.pre 12 | Post: fwd_udptmout.post 13 | Test: fwd_udptmout.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_udptmout.tdir/fwd_udptmout.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_udptmout.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | # kill fwder 10 | kill_pid $FWD_PID 11 | 12 | # find all extra forked testns and kill them. 13 | pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'` 14 | for p in $pidlist; do 15 | kill_pid $p 16 | done 17 | 18 | # kill unbound 19 | kill_pid $UNBOUND_PID 20 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_waitudp.tdir/fwd_waitudp.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 4 3 | num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | outgoing-range: 1 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | num-queries-per-thread: 1024 12 | use-syslog: no 13 | do-not-query-localhost: no 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_waitudp.tdir/fwd_waitudp.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_waitudp 2 | Version: 1.0 3 | Description: Forward 3 queries, 1thr, 1fd and force a udp wait list. 4 | CreationDate: Mon Apr 14 10:03:28 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_waitudp.pre 12 | Post: fwd_waitudp.post 13 | Test: fwd_waitudp.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_waitudp.tdir/fwd_waitudp.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_waitudp.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | 10 | # kill fwder 11 | kill_pid $FWD_PID 12 | 13 | # find all extra forked testns and kill them. 14 | pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'` 15 | for p in $pidlist; do 16 | kill_pid $p 17 | done 18 | 19 | # kill unbound 20 | kill_pid $UNBOUND_PID 21 | exit 0 22 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_waitudp.tdir/fwd_waitudp.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id sleep=1 9 | SECTION QUESTION 10 | www1 IN A 11 | SECTION ANSWER 12 | www1 IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id sleep=1 19 | SECTION QUESTION 20 | www2 IN A 21 | SECTION ANSWER 22 | www2 IN A 10.20.30.50 23 | ENTRY_END 24 | 25 | ENTRY_BEGIN 26 | MATCH opcode qtype qname 27 | REPLY QR AA NOERROR 28 | ADJUST copy_id sleep=1 29 | SECTION QUESTION 30 | www3 IN A 31 | SECTION ANSWER 32 | www3 IN A 10.20.30.60 33 | ENTRY_END 34 | 35 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_zero.tdir/fwd_zero.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | forward-zone: 13 | name: "." 14 | forward-addr: "127.0.0.1@@TOPORT@" 15 | 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_zero.tdir/fwd_zero.dsc: -------------------------------------------------------------------------------- 1 | BaseName: fwd_zero 2 | Version: 1.0 3 | Description: Test for zero byte UDP reply assertion fail 4 | CreationDate: Tue Jan 6 10:39:28 CET 2009 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: fwd_zero.pre 12 | Post: fwd_zero.post 13 | Test: fwd_zero.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_zero.tdir/fwd_zero.post: -------------------------------------------------------------------------------- 1 | # #-- fwd_zero.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_zero.tdir/fwd_zero.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/host_file.template: -------------------------------------------------------------------------------- 1 | # list of hosts and options for each. You need keyed ssh access to each. 2 | # It must be one tab delimited only. Very strict syntax. 3 | # hostname description directory variables 4 | linux.example.com Linux Fedora Core i386 src/unbound/trunk 5 | solaris.example.com Solaris 10 sparc64 nsd_trunk LDNS=/var/local/ldns 6 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/hostsfileosx.tdir/hostsfileosx.dsc: -------------------------------------------------------------------------------- 1 | BaseName: hostsfileosx 2 | Version: 1.0 3 | Description: Test lookup using libunbound with osx hosts file 4 | CreationDate: Fri May 16 13:29:39 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: hostsfileosx.pre 12 | Post: hostsfileosx.post 13 | Test: hostsfileosx.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/hostsfileosx.tdir/hostsfileosx.hosts: -------------------------------------------------------------------------------- 1 | # Host Database 2 | # 3 | # This file should contain the addresses and aliases for local hosts that 4 | # share this file. Replace 'my.domain' below with the domainname of your 5 | # machine. 6 | # 7 | ::1 localhost localhost.my.domain 8 | 127.0.0.1 localhost localhost.my.domain 9 | # from MacOSX. 10 | fe80::1%lo0 localhost 11 | 255.255.255.255 broadcasthost 12 | # Imaginary network. 13 | 10.0.0.2 myname.my.domain myname 14 | 10.0.0.3 myfriend.my.domain myfriend 15 | 10.20.30.40 virtual.virtual.virtual.local 16 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/hostsfileosx.tdir/hostsfileosx.post: -------------------------------------------------------------------------------- 1 | # #-- hostsfileosx.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/hostsfileosx.tdir/hostsfileosx.pre: -------------------------------------------------------------------------------- 1 | # #-- hostsfileosx.pre--# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # use .tpkg.var.test for in test variable passing 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | 7 | . ../common.sh 8 | get_random_port 2 9 | FWD_PORT=$(($RND_PORT + 1)) 10 | echo "FWD_PORT=$FWD_PORT" >> .tpkg.var.test 11 | 12 | # start forwarder 13 | get_ldns_testns 14 | $LDNS_TESTNS -p $FWD_PORT hostsfileosx.testns >fwd.log 2>&1 & 15 | FWD_PID=$! 16 | echo "FWD_PID=$FWD_PID" >> .tpkg.var.test 17 | 18 | cat .tpkg.var.test 19 | wait_ldns_testns_up fwd.log 20 | 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/hostsfileosx.tdir/hostsfileosx.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ; for priming query 6 | ENTRY_BEGIN 7 | MATCH opcode qtype qname 8 | REPLY QR AA NOERROR 9 | ADJUST copy_id 10 | SECTION QUESTION 11 | @ IN NS 12 | SECTION ANSWER 13 | @ IN NS 127.0.0.1 14 | ENTRY_END 15 | 16 | ENTRY_BEGIN 17 | MATCH opcode qtype qname 18 | REPLY QR AA NOERROR 19 | ADJUST copy_id 20 | SECTION QUESTION 21 | www IN A 22 | SECTION ANSWER 23 | www IN A 10.20.30.40 24 | ENTRY_END 25 | 26 | ENTRY_BEGIN 27 | MATCH opcode qtype qname 28 | REPLY QR AA NOERROR 29 | ADJUST copy_id 30 | SECTION QUESTION 31 | www2 IN A 32 | SECTION ANSWER 33 | www2 IN A 10.20.30.42 34 | ENTRY_END 35 | 36 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ipsecmod_hook.sh: -------------------------------------------------------------------------------- 1 | echo " ---[ IPsec external hook FAIL; only care if ipsecmod-strict: yes ]---" 2 | exit 1 3 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nodefault.tdir/local_nodefault.dsc: -------------------------------------------------------------------------------- 1 | BaseName: local_nodefault 2 | Version: 1.0 3 | Description: Create a stub zone to replace a default local zone 4 | CreationDate: Tue Jun 3 14:08:00 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: local_nodefault.pre 12 | Post: local_nodefault.post 13 | Test: local_nodefault.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nodefault.tdir/local_nodefault.post: -------------------------------------------------------------------------------- 1 | # #-- local_nodefault.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nodefault.tdir/local_nodefault.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN 30.172.in-addr.arpa. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | 1.0 IN A 11 | SECTION ANSWER 12 | 1.0 IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | 1.0.29.172.in-addr.arpa. IN A 21 | SECTION ANSWER 22 | 1.0.29.172.in-addr.arpa. IN A 10.20.30.42 23 | ENTRY_END 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_norec.tdir/local_norec.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | 13 | local-data: "foo.example.com. A 1.1.1.1" 14 | 15 | access-control: 0.0.0.0/0 allow_snoop 16 | access-control: 127.0.0.0/8 allow_snoop 17 | access-control: ::0/0 allow_snoop 18 | access-control: ::1 allow_snoop 19 | access-control: ::ffff:127.0.0.1 allow_snoop 20 | 21 | forward-zone: 22 | name: "." 23 | forward-addr: "127.0.0.1@@TOPORT@" 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_norec.tdir/local_norec.dsc: -------------------------------------------------------------------------------- 1 | BaseName: local_norec 2 | Version: 1.0 3 | Description: Local-data and access control allow_snoop test. 4 | CreationDate: Mon Sep 1 14:26:00 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: local_norec.pre 12 | Post: local_norec.post 13 | Test: local_norec.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_norec.tdir/local_norec.post: -------------------------------------------------------------------------------- 1 | # #-- local_norec.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_norec.tdir/local_norec.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | foo IN A 21 | SECTION ANSWER 22 | foo IN A 10.20.30.50 23 | ENTRY_END 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nosnoop.tdir/local_nosnoop.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @PORT@ 6 | use-syslog: no 7 | directory: "" 8 | pidfile: "unbound.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | 13 | local-data: "foo.example.com. A 1.1.1.1" 14 | 15 | access-control: 0.0.0.0/0 allow 16 | access-control: 127.0.0.0/8 allow 17 | access-control: ::0/0 allow 18 | access-control: ::1 allow 19 | access-control: ::ffff:127.0.0.1 allow 20 | 21 | forward-zone: 22 | name: "." 23 | forward-addr: "127.0.0.1@@TOPORT@" 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nosnoop.tdir/local_nosnoop.dsc: -------------------------------------------------------------------------------- 1 | BaseName: local_nosnoop 2 | Version: 1.0 3 | Description: Local-data and access control allow no snoop test. 4 | CreationDate: Mon Sep 1 14:36:53 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: local_nosnoop.pre 12 | Post: local_nosnoop.post 13 | Test: local_nosnoop.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nosnoop.tdir/local_nosnoop.post: -------------------------------------------------------------------------------- 1 | # #-- local_nosnoop.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/local_nosnoop.tdir/local_nosnoop.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | foo IN A 21 | SECTION ANSWER 22 | foo IN A 10.20.30.50 23 | ENTRY_END 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/nss_compile.tdir/nss_compile.dsc: -------------------------------------------------------------------------------- 1 | BaseName: nss_compile 2 | Version: 1.0 3 | Description: Compile with NSS 4 | CreationDate: Fri Feb 8 14:40:28 CET 2013 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: nss_compile.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pylib.tdir/pylib.dsc: -------------------------------------------------------------------------------- 1 | BaseName: pylib 2 | Version: 1.0 3 | Description: Test python wrapper for libunbound 4 | CreationDate: Mon Apr 6 12:33:31 CEST 2009 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: pylib.pre 12 | Post: pylib.post 13 | Test: pylib.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pylib.tdir/pylib.lookup.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | use-syslog: no 4 | directory: "" 5 | pidfile: "unbound.pid" 6 | chroot: "" 7 | username: "" 8 | do-not-query-localhost: no 9 | module-config: "validator iterator" 10 | 11 | stub-zone: 12 | name: "example.com." 13 | stub-addr: "127.0.0.1@@TOPORT@" 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pylib.tdir/pylib.post: -------------------------------------------------------------------------------- 1 | # #-- pylib.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | PRE="../.." 10 | . ../common.sh 11 | # if no python; exit 12 | if grep "define WITH_PYUNBOUND 1" $PRE/config.h; then 13 | echo "have pyunbound" 14 | else 15 | echo "no pyunbound" 16 | exit 0 17 | fi 18 | 19 | # kill fwder 20 | kill_pid $FWD_PID 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pylib.tdir/pylib.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod.tdir/pymod.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | port: @PORT@ 5 | use-syslog: no 6 | directory: "" 7 | pidfile: "unbound.pid" 8 | chroot: "" 9 | username: "" 10 | do-not-query-localhost: no 11 | module-config: "validator python iterator" 12 | 13 | python: 14 | python-script: "pymod.py" 15 | 16 | forward-zone: 17 | name: "." 18 | forward-addr: "127.0.0.1@@TOPORT@" 19 | 20 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod.tdir/pymod.dsc: -------------------------------------------------------------------------------- 1 | BaseName: pymod 2 | Version: 1.0 3 | Description: Test python module 4 | CreationDate: Thu Apr 2 12:50:50 CEST 2009 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: pymod.pre 12 | Post: pymod.post 13 | Test: pymod.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod.tdir/pymod.post: -------------------------------------------------------------------------------- 1 | # #-- pymod.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | PRE="../.." 10 | . ../common.sh 11 | # if no python; exit 12 | if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then 13 | echo "have python module" 14 | else 15 | echo "no python module" 16 | exit 0 17 | fi 18 | 19 | kill_pid $FWD_PID 20 | kill_pid $UNBOUND_PID 21 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod.tdir/pymod.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA NOERROR 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www2 IN A 21 | SECTION ANSWER 22 | www2 IN A 10.20.30.40 23 | ENTRY_END 24 | 25 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod_thread.tdir/pymod_thread.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | num-threads: 3 4 | port: @PORT@ 5 | use-syslog: no 6 | directory: "" 7 | pidfile: "unbound.pid" 8 | chroot: "" 9 | username: "" 10 | do-not-query-localhost: no 11 | module-config: "validator python iterator" 12 | 13 | python: 14 | python-script: "pymod_thread.py" 15 | 16 | forward-zone: 17 | name: "." 18 | forward-addr: "127.0.0.1@@TOPORT@" 19 | 20 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod_thread.tdir/pymod_thread.dsc: -------------------------------------------------------------------------------- 1 | BaseName: pymod_thread 2 | Version: 1.0 3 | Description: Test python module threaded 4 | CreationDate: Fri Mar 12 11:41:03 CET 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: pymod_thread.pre 12 | Post: pymod_thread.post 13 | Test: pymod_thread.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/pymod_thread.tdir/pymod_thread.post: -------------------------------------------------------------------------------- 1 | # #-- pymod_thread.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | 9 | PRE="../.." 10 | . ../common.sh 11 | # if no python; exit 12 | if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then 13 | echo "have python module" 14 | else 15 | echo "no python module" 16 | exit 0 17 | fi 18 | 19 | kill_pid $FWD_PID 20 | kill_pid $UNBOUND_PID 21 | exit 0 22 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/bad_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQDd5/rocjG5vDANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0NFoXDTI4MDYxMzEyMjQ0NFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDt 5 | i51Z6qASvAjPFFhLLlq8BwtsnmfqMPMn57dKAghb4OifeL4GSLOE02/hKDkdkOva 6 | UG2UqDNh2OoPTuJk4A+mG2LJoziFhHKlIebo9v2YiFWOBVtODWc3tXPT1IlSEN0x 7 | nAGelMmeLcPeCPe+A5IDlIHzF/+YiDgS38S9dL17owIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAHpvcKqY48X9WsqogV16L+zT7iXhZ4tySA9EBk1a+0gud/iDPKSBi7mK 9 | 4rzphVfb4S207dVmTG+1WNpa6l3pTGML6XLElxqIu/kr7w4cF0rKvZxWPsBRqYjH 10 | 5HrK8CrQ0+YvUHXiu7IaACLGvKXY4Tqa3HQyvEtzLWJ4HhOrGx8F 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/bad_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQCDugnhq8B6LzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkyNjEyMjQ0M1oXDTI4MDYxMzEyMjQ0M1owEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvYbqzRwbQe0B 5 | RLjyTpwspVFlBdv1Et7/ckEEF57LblzEF0Wqtdbr4i5sGhrq1fbZ4F+fRyE7AU++ 6 | DUK7RSnxAy1Yi65tmqwDPTs7J+LZ799B1z0Q41DnNTNOUO1M42kqzr/k5DxKsobV 7 | Mmj9Q2KNG3Jm8bUpGHNmRFgsIT5JVMECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCy 8 | zGMW35/9xXoEWsuLFWUOaEKVq5DXuXtXbcMpDW6k2ELoraa305vh7Zwhj5JSqfcm 9 | O0xyqIzXvz/cYdyOTgEkdMDZ/EvQsxKTwvj6eA4614yB1r3Ju5eZd4Gpo6BHhSpu 10 | oqsrr0duJ+JOANTyaBplIxM1sjHbR4FGtmrFknBYBQ== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/remote-threaded.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | num-threads: 4 4 | outgoing-range: 16 5 | interface: 127.0.0.1 6 | port: @PORT@ 7 | use-syslog: no 8 | directory: "" 9 | pidfile: "unbound.pid" 10 | chroot: "" 11 | username: "" 12 | do-not-query-localhost: no 13 | remote-control: 14 | control-enable: yes 15 | control-interface: 127.0.0.1 16 | # control-interface: ::1 17 | control-port: @CONTROL_PORT@ 18 | server-key-file: "unbound_server.key" 19 | server-cert-file: "unbound_server.pem" 20 | control-key-file: "unbound_control.key" 21 | control-cert-file: "unbound_control.pem" 22 | forward-zone: 23 | name: "." 24 | forward-addr: "127.0.0.1@@TOPORT@" 25 | 26 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/remote-threaded.dsc: -------------------------------------------------------------------------------- 1 | BaseName: remote-threaded 2 | Version: 1.0 3 | Description: remote control test with thread communication 4 | CreationDate: Wed Dec 3 15:00:38 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: remote-threaded.pre 12 | Post: remote-threaded.post 13 | Test: remote-threaded.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/remote-threaded.post: -------------------------------------------------------------------------------- 1 | # #-- remote-threaded.post --# 2 | # source the master var file when it's there 3 | [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4 | # source the test var file when it's there 5 | [ -f .tpkg.var.test ] && source .tpkg.var.test 6 | # 7 | # do your teardown here 8 | . ../common.sh 9 | kill_pid $FWD_PID 10 | # unbound stopped by test (if successful) 11 | kill $UNBOUND_PID >/dev/null 2>&1 12 | kill $UNBOUND_PID >/dev/null 2>&1 13 | exit 0 14 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/remote-threaded.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype qname 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id 9 | SECTION QUESTION 10 | www IN A 11 | SECTION ANSWER 12 | www IN A 10.20.30.40 13 | ENTRY_END 14 | 15 | ENTRY_BEGIN 16 | MATCH opcode qtype qname 17 | REPLY QR AA SERVFAIL 18 | ADJUST copy_id 19 | SECTION QUESTION 20 | www.example.net. IN A 21 | ENTRY_END 22 | 23 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/unbound_control.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBozCCAQwCCQD6XaN6FzW/4DANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowGjEYMBYGA1UE 4 | AxMPdW5ib3VuZC1jb250cm9sMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD 5 | 6DogNCsSeEa1u99+6PUVbGzjMzzei9MIK6s94+zcpp7OAOBarzPA0vlyuNtUsEN3 6 | qwPomQQQmIgbT7OXkzC1wqioxwa609xoL8oW/I7e336rEyvHST6JwUdIg0Lzg/US 7 | J81eTwMnzYSd4Bpsqr9eP33ubaR7Gh/6o76loLOlcQIDAQABMA0GCSqGSIb3DQEB 8 | BQUAA4GBAGFAXmaQHuFgAuc6HVhYZJdToxLBhfxGpot4oZNjcb1Cdoz3OL34MU1B 9 | 9E5psj2PpGPIi8/RwoqBtAJHJ+J5cWngo03o4ZmdwKNSzaxlp141z/3rUtFqEHEC 10 | iO6gPCT3U7dt6MyC7r6vdMqyW6aldP3CtwD0gQziKAMoj+TAfAcq 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/remote-threaded.tdir/unbound_server.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBmzCCAQQCCQDsNJ1UmphEFzANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDEwd1 3 | bmJvdW5kMB4XDTA4MDkxMTA5MDk0MFoXDTI4MDUyOTA5MDk0MFowEjEQMA4GA1UE 4 | AxMHdW5ib3VuZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtxeybL9rtNaS 5 | y/axZ47DFPyGghVCM/+tuA3GhPOGeIIzJeZFgN2sUHKrpdcJcEq2ysK6J8vnfYR/ 6 | /jF9LWcL5fMNzpoZjgImkPkhwrCLjo1cEI19LESwetT8+fjwIlb5z2vSSGAeUKyu 7 | g1RLMSB4/DDnOSSjka5xErBQ4esnjHkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQAZ 8 | 9N0lnLENs4JMvPS+mn8C5m9bkkFITd32IiLjf0zgYpIUbFXH6XaEr9GNZBUG8feG 9 | l/6WRXnbnVSblI5odQ4XxGZ9inYY6qtW30uv76HvoKp+QZ1c3460ddR8NauhcCHH 10 | Z7S+QbLXi+r2JAhpPozZCjBHlRD0ixzA1mKQTJhJZg== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/root_anchor.tdir/root_anchor.dsc: -------------------------------------------------------------------------------- 1 | BaseName: root_anchor 2 | Version: 1.0 3 | Description: check if root anchor has changed. 4 | CreationDate: Tue Sep 28 12:43:09 CEST 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: root_anchor.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/root_hints.tdir/root_hints.dsc: -------------------------------------------------------------------------------- 1 | BaseName: root_hints 2 | Version: 1.0 3 | Description: check if root hints have changed. 4 | CreationDate: Thu Oct 22 12:42:40 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: 12 | Post: 13 | Test: root_hints.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/speed_cache.tdir/makeqs.c: -------------------------------------------------------------------------------- 1 | /** 2 | * \file 3 | * This file creates queries for the speed test 4 | */ 5 | #include 6 | #include 7 | /** main program to create queries, pass the number of them. */ 8 | int main(int argc, char** argv) { 9 | int i; 10 | int max = atoi(argv[1]); 11 | for(i=0; i