├── .DS_Store ├── Docker ├── data │ ├── entrypoint.sh │ ├── unbound │ │ ├── .gitattributes │ │ ├── testdata │ │ │ ├── 09-unbound-control.tdir │ │ │ │ ├── local_data_remove │ │ │ │ ├── local_zones_remove │ │ │ │ ├── local_data │ │ │ │ ├── local_zones │ │ │ │ ├── 09-unbound-control.dsc │ │ │ │ ├── 09-unbound-control.testns │ │ │ │ ├── 09-unbound-control.post │ │ │ │ ├── 09-unbound-control.conf │ │ │ │ ├── bad_server.pem │ │ │ │ ├── unbound_server.pem │ │ │ │ ├── bad_control.pem │ │ │ │ └── unbound_control.pem │ │ │ ├── 04-checkconf.tdir │ │ │ │ ├── bad.badip │ │ │ │ ├── bad.user │ │ │ │ ├── good.include │ │ │ │ ├── bad.badfwd │ │ │ │ ├── warn.algo │ │ │ │ ├── 04-checkconf.dsc │ │ │ │ └── bad.badif │ │ │ ├── Kexample.com.+003+02854.ds │ │ │ ├── Kexample.com.+005+30899.ds │ │ │ ├── ipsecmod_hook.sh │ │ │ ├── Kexample.com.+008+29332.ds │ │ │ ├── Kexample.com.+008+55566.ds │ │ │ ├── dnscrypt_cert.tdir │ │ │ │ ├── 1.cert │ │ │ │ ├── 1.key │ │ │ │ ├── 2.cert │ │ │ │ ├── 2.key │ │ │ │ ├── 1_chacha.cert │ │ │ │ ├── 1_salsa.cert │ │ │ │ ├── 2_chacha.cert │ │ │ │ ├── 2_salsa.cert │ │ │ │ ├── dnscrypt_cert.dsc │ │ │ │ ├── precheck.sh │ │ │ │ ├── dnscrypt_cert.post │ │ │ │ ├── dnscrypt_cert.testns │ │ │ │ └── dnscrypt_cert.conf │ │ │ ├── stream_ssl.tdir │ │ │ │ ├── ticket1.dat │ │ │ │ ├── ticket2.dat │ │ │ │ ├── stream_ssl.dsc │ │ │ │ ├── stream_ssl.post │ │ │ │ ├── stream_ssl.clie.conf │ │ │ │ ├── stream_ssl.serv.conf │ │ │ │ ├── unbound_server.pem │ │ │ │ └── unbound_control.pem │ │ │ ├── dnscrypt_cert_chacha.tdir │ │ │ │ ├── 1.cert │ │ │ │ ├── 1.key │ │ │ │ ├── 2.cert │ │ │ │ ├── 2.key │ │ │ │ ├── 1_chacha.cert │ │ │ │ ├── 1_salsa.cert │ │ │ │ ├── 2_chacha.cert │ │ │ │ ├── 2_salsa.cert │ │ │ │ ├── precheck.sh │ │ │ │ ├── dnscrypt_cert_chacha.dsc │ │ │ │ ├── dnscrypt_cert_chacha.post │ │ │ │ └── dnscrypt_cert_chacha.testns │ │ │ ├── 10-unbound-anchor.tdir │ │ │ │ ├── 127.0.0.1 │ │ │ │ │ ├── bad.p7s │ │ │ │ │ ├── root.p7s │ │ │ │ │ ├── no_more_keys.p7s │ │ │ │ │ ├── bad.xml │ │ │ │ │ └── root.xml │ │ │ │ ├── K.+005+37348.ds │ │ │ │ ├── 10-unbound-anchor.conf │ │ │ │ ├── K.+005+37348.key │ │ │ │ ├── 10-unbound-anchor.post │ │ │ │ ├── 10-unbound-anchor.dsc │ │ │ │ └── signit │ │ │ ├── Kexample.com.+005+16486.ds │ │ │ ├── Kexample.com.+005+55582.ds │ │ │ ├── Kexample.com.+005+60946.ds │ │ │ ├── Kexample.com.+007+57024.ds │ │ │ ├── Kexample.com.+008+01443.ds │ │ │ ├── Kexample.com.+009+48886.ds │ │ │ ├── Kexample.com.+005+30899.key │ │ │ ├── Kexample.com.+005+16486.key │ │ │ ├── Kexample.com.+005+55582.key │ │ │ ├── Kexample.com.+005+60946.key │ │ │ ├── Kexample.com.+012+60385.key │ │ │ ├── Kexample.com.+012+60385.private │ │ │ ├── auth_https.tdir │ │ │ │ ├── 127.0.0.1 │ │ │ │ │ └── example.com.zone │ │ │ │ ├── auth_https.post │ │ │ │ ├── auth_https.dsc │ │ │ │ └── auth_https.conf │ │ │ ├── Kexample.com.+012+60385.ds │ │ │ ├── Kexample.com.+008+55566.key │ │ │ ├── Kexample.com.+007+57024.key │ │ │ ├── Kexample.com.+008+01443.key │ │ │ ├── pylib.tdir │ │ │ │ ├── pylib.testns │ │ │ │ ├── pylib.lookup.conf │ │ │ │ ├── pylib.dsc │ │ │ │ └── pylib.post │ │ │ ├── fwd_udp.tdir │ │ │ │ ├── fwd_udp.testns │ │ │ │ ├── fwd_udp.conf │ │ │ │ ├── fwd_udp.post │ │ │ │ ├── fwd_udp.dsc │ │ │ │ └── fwd_udp.test │ │ │ ├── fwd_ancil.tdir │ │ │ │ ├── fwd_ancil.testns │ │ │ │ ├── fwd_ancil.dsc │ │ │ │ ├── fwd_ancil.conf │ │ │ │ └── fwd_ancil.post │ │ │ ├── fwd_tcp.tdir │ │ │ │ ├── fwd_tcp.testns │ │ │ │ ├── fwd_tcp.conf │ │ │ │ ├── fwd_tcp.post │ │ │ │ ├── fwd_tcp.dsc │ │ │ │ └── fwd_tcp.test │ │ │ ├── fwd_zero.tdir │ │ │ │ ├── fwd_zero.testns │ │ │ │ ├── fwd_zero.conf │ │ │ │ ├── fwd_zero.post │ │ │ │ └── fwd_zero.dsc │ │ │ ├── stat_timer.tdir │ │ │ │ ├── stat_timer.testns │ │ │ │ ├── stat_timer.conf │ │ │ │ ├── stat_timer.post │ │ │ │ └── stat_timer.dsc │ │ │ ├── speed_local.tdir │ │ │ │ ├── speed_local.testns │ │ │ │ ├── speed_local.conf │ │ │ │ ├── speed_local.post │ │ │ │ └── speed_local.dsc │ │ │ ├── fwd_ttlexpire.tdir │ │ │ │ ├── fwd_ttlexpire.testns │ │ │ │ ├── fwd_ttlexpire.conf │ │ │ │ ├── fwd_ttlexpire.post │ │ │ │ └── fwd_ttlexpire.dsc │ │ │ ├── fwd_capsid.tdir │ │ │ │ ├── fwd_capsid.testns │ │ │ │ ├── fwd_capsid.conf │ │ │ │ ├── fwd_capsid.post │ │ │ │ ├── fwd_capsid.dsc │ │ │ │ └── fwd_capsid.test │ │ │ ├── fwd_no_edns.tdir │ │ │ │ ├── fwd_no_edns.conf │ │ │ │ ├── fwd_no_edns.post │ │ │ │ ├── fwd_no_edns.dsc │ │ │ │ ├── fwd_no_edns.testns │ │ │ │ └── fwd_no_edns.test │ │ │ ├── speed_cache.tdir │ │ │ │ ├── speed_cache.testns │ │ │ │ ├── speed_cache.post │ │ │ │ ├── speed_cache.conf │ │ │ │ ├── speed_cache.dsc │ │ │ │ └── makeqs.c │ │ │ ├── stream_tcp.tdir │ │ │ │ ├── stream_tcp.conf │ │ │ │ ├── stream_tcp.post │ │ │ │ ├── stream_tcp.dsc │ │ │ │ └── stream_tcp.testns │ │ │ ├── 01-doc.tdir │ │ │ │ └── 01-doc.dsc │ │ │ ├── clang-analysis.tdir │ │ │ │ └── clang-analysis.dsc │ │ │ ├── fwd_edns_probe.tdir │ │ │ │ ├── fwd_edns_probe.conf │ │ │ │ ├── fwd_edns_probe.post │ │ │ │ └── fwd_edns_probe.dsc │ │ │ ├── 00-lint.tdir │ │ │ │ ├── 00-lint.dsc │ │ │ │ └── 00-lint.test │ │ │ ├── fwd_tcp_tc.tdir │ │ │ │ ├── fwd_tcp_tc.conf │ │ │ │ ├── fwd_tcp_tc.post │ │ │ │ ├── fwd_tcp_tc.dsc │ │ │ │ ├── fwd_tcp_tc.testns │ │ │ │ └── fwd_tcp_tc.test │ │ │ ├── host_file.template │ │ │ ├── tcp_sigpipe.tdir │ │ │ │ ├── tcp_sigpipe.conf │ │ │ │ ├── tcp_sigpipe.post │ │ │ │ └── tcp_sigpipe.dsc │ │ │ ├── 02-unittest.tdir │ │ │ │ └── 02-unittest.dsc │ │ │ ├── 08-host-lib.tdir │ │ │ │ ├── 08-host-lib.post │ │ │ │ ├── 08-host-lib.dsc │ │ │ │ ├── 08-host-lib.hosts │ │ │ │ ├── 08-host-lib.pre │ │ │ │ └── 08-host-lib.testns │ │ │ ├── fwd_tcp_tc6.tdir │ │ │ │ ├── fwd_tcp_tc6.conf │ │ │ │ ├── fwd_tcp_tc6.post │ │ │ │ ├── fwd_tcp_tc6.dsc │ │ │ │ ├── fwd_tcp_tc6.testns │ │ │ │ └── fwd_tcp_tc6.test │ │ │ ├── hostsfileosx.tdir │ │ │ │ ├── hostsfileosx.post │ │ │ │ ├── hostsfileosx.dsc │ │ │ │ ├── hostsfileosx.hosts │ │ │ │ ├── hostsfileosx.pre │ │ │ │ └── hostsfileosx.testns │ │ │ ├── nss_compile.tdir │ │ │ │ └── nss_compile.dsc │ │ │ ├── 05-asynclook.tdir │ │ │ │ ├── 05-asynclook.post │ │ │ │ ├── 05-asynclook.dsc │ │ │ │ ├── 05-asynclook.hosts │ │ │ │ ├── 05-asynclook.pre │ │ │ │ └── 05-asynclook.testns │ │ │ ├── pymod.tdir │ │ │ │ ├── pymod.dsc │ │ │ │ ├── pymod.conf │ │ │ │ ├── pymod.testns │ │ │ │ └── pymod.post │ │ │ ├── auth_axfr.tdir │ │ │ │ ├── auth_axfr.post │ │ │ │ ├── auth_axfr.dsc │ │ │ │ └── auth_axfr.conf │ │ │ ├── fwd_bogus.tdir │ │ │ │ ├── fwd_bogus.post │ │ │ │ ├── fwd_bogus.dsc │ │ │ │ ├── fwd_bogus.testns │ │ │ │ ├── unbound_server.pem │ │ │ │ └── unbound_control.pem │ │ │ ├── stub_udp.tdir │ │ │ │ ├── stub_udp.post │ │ │ │ ├── stub_udp.dsc │ │ │ │ └── stub_udp.conf │ │ │ ├── stub_udp6.tdir │ │ │ │ ├── stub_udp6.post │ │ │ │ ├── stub_udp6.dsc │ │ │ │ └── stub_udp6.conf │ │ │ ├── 07-confroot.tdir │ │ │ │ └── 07-confroot.dsc │ │ │ ├── local_norec.tdir │ │ │ │ ├── local_norec.post │ │ │ │ ├── local_norec.dsc │ │ │ │ ├── local_norec.testns │ │ │ │ └── local_norec.conf │ │ │ ├── root_hints.tdir │ │ │ │ └── root_hints.dsc │ │ │ ├── Kexample.com.+003+02854.key │ │ │ ├── fwd_malformed.tdir │ │ │ │ ├── fwd_malformed.conf │ │ │ │ ├── fwd_malformed.post │ │ │ │ ├── fwd_malformed.dsc │ │ │ │ └── fwd_malformed.test │ │ │ ├── root_anchor.tdir │ │ │ │ └── root_anchor.dsc │ │ │ ├── 03-testbound.tdir │ │ │ │ └── 03-testbound.dsc │ │ │ ├── fwd_edns_bksec.tdir │ │ │ │ ├── fwd_edns_bksec.post │ │ │ │ ├── fwd_edns_bksec.dsc │ │ │ │ └── fwd_edns_bksec.conf │ │ │ ├── local_nosnoop.tdir │ │ │ │ ├── local_nosnoop.post │ │ │ │ ├── local_nosnoop.dsc │ │ │ │ ├── local_nosnoop.testns │ │ │ │ └── local_nosnoop.conf │ │ │ ├── tcp_conn_limit.tdir │ │ │ │ ├── tcp_conn_limit.post │ │ │ │ ├── tcp_conn_limit.conf │ │ │ │ └── tcp_conn_limit.dsc │ │ │ ├── tcp_idle_timeout.tdir │ │ │ │ ├── tcp_idle_timeout.conf │ │ │ │ ├── tcp_idle_timeout.post │ │ │ │ └── tcp_idle_timeout.dsc │ │ │ ├── 06-ianaports.tdir │ │ │ │ └── 06-ianaports.dsc │ │ │ ├── fwd_capsid_fallback.tdir │ │ │ │ ├── fwd_capsid_fallback.conf │ │ │ │ ├── fwd_capsid_fallback.post │ │ │ │ ├── fwd_capsid_fallback.testns │ │ │ │ ├── fwd_capsid_fallback.dsc │ │ │ │ └── fwd_capsid_fallback.test │ │ │ ├── fwd_compress_c00c.tdir │ │ │ │ ├── fwd_compress_c00c.conf │ │ │ │ ├── fwd_compress_c00c.post │ │ │ │ ├── fwd_compress_c00c.dsc │ │ │ │ ├── fwd_compress_c00c.good │ │ │ │ └── fwd_compress_c00c.testns │ │ │ ├── ctrl_itr.tdir │ │ │ │ ├── ctrl_itr.dsc │ │ │ │ ├── ctrl_itr.testns │ │ │ │ ├── ctrl_itr.post │ │ │ │ ├── bad_server.pem │ │ │ │ ├── unbound_server.pem │ │ │ │ ├── bad_control.pem │ │ │ │ ├── unbound_control.pem │ │ │ │ └── ctrl_itr.conf │ │ │ ├── ctrl_pipe.tdir │ │ │ │ ├── ctrl_pipe.dsc │ │ │ │ ├── ctrl_pipe.testns │ │ │ │ ├── ctrl_pipe.post │ │ │ │ ├── ctrl_pipe.conf │ │ │ │ ├── bad_server.pem │ │ │ │ ├── unbound_server.pem │ │ │ │ ├── bad_control.pem │ │ │ │ └── unbound_control.pem │ │ │ ├── local_nodefault.tdir │ │ │ │ ├── local_nodefault.post │ │ │ │ ├── local_nodefault.dsc │ │ │ │ └── local_nodefault.testns │ │ │ ├── edns_cache.tdir │ │ │ │ ├── edns_cache.post │ │ │ │ ├── edns_cache.dsc │ │ │ │ └── edns_cache.conf │ │ │ ├── fwd_udptmout.tdir │ │ │ │ ├── fwd_udptmout.conf │ │ │ │ ├── fwd_udptmout.dsc │ │ │ │ └── fwd_udptmout.post │ │ │ ├── fwd_waitudp.tdir │ │ │ │ ├── fwd_waitudp.conf │ │ │ │ ├── fwd_waitudp.dsc │ │ │ │ ├── fwd_waitudp.post │ │ │ │ └── fwd_waitudp.testns │ │ │ ├── tcp_req_size.tdir │ │ │ │ ├── tcp_req_size.post │ │ │ │ ├── tcp_req_size.dsc │ │ │ │ └── tcp_req_size.conf │ │ │ ├── tcp_req_order.tdir │ │ │ │ ├── tcp_req_order.post │ │ │ │ ├── tcp_req_order.dsc │ │ │ │ └── tcp_req_order.conf │ │ │ ├── fwd_three.tdir │ │ │ │ ├── fwd_three.dsc │ │ │ │ ├── fwd_three.conf │ │ │ │ ├── fwd_three.post │ │ │ │ └── fwd_three.testns │ │ │ ├── fwd_three_service.tdir │ │ │ │ ├── fwd_three_service.conf │ │ │ │ ├── fwd_three_service.dsc │ │ │ │ └── fwd_three_service.post │ │ │ ├── pymod_thread.tdir │ │ │ │ ├── pymod_thread.dsc │ │ │ │ ├── pymod_thread.conf │ │ │ │ └── pymod_thread.post │ │ │ ├── fwd_capsid_strip.tdir │ │ │ │ ├── fwd_capsid_strip.post │ │ │ │ ├── fwd_capsid_strip.conf │ │ │ │ ├── fwd_capsid_strip.dsc │ │ │ │ ├── fwd_capsid_strip.testns2 │ │ │ │ ├── fwd_capsid_strip.testns │ │ │ │ └── fwd_capsid_strip.test │ │ │ ├── fwd_capsid_white.tdir │ │ │ │ ├── fwd_capsid_white.post │ │ │ │ ├── fwd_capsid_white.testns │ │ │ │ ├── fwd_capsid_white.dsc │ │ │ │ ├── fwd_capsid_white.conf │ │ │ │ ├── fwd_capsid_white.testns2 │ │ │ │ └── fwd_capsid_white.test │ │ │ ├── fwd_oneport.tdir │ │ │ │ ├── fwd_oneport.dsc │ │ │ │ ├── fwd_oneport.conf │ │ │ │ └── fwd_oneport.post │ │ │ ├── ssl_req_order.tdir │ │ │ │ ├── ssl_req_order.dsc │ │ │ │ ├── ssl_req_order.post │ │ │ │ ├── unbound_server.pem │ │ │ │ └── ssl_req_order.conf │ │ │ ├── ssl_req_timeout.tdir │ │ │ │ ├── ssl_req_timeout.post │ │ │ │ ├── ssl_req_timeout.dsc │ │ │ │ └── unbound_server.pem │ │ │ ├── tcp_req_timeout.tdir │ │ │ │ ├── tcp_req_timeout.post │ │ │ │ ├── tcp_req_timeout.dsc │ │ │ │ └── tcp_req_timeout.conf │ │ │ ├── Kexample.com.+008+29332.key │ │ │ ├── Kexample.com.+009+48886.key │ │ │ ├── remote-threaded.tdir │ │ │ │ ├── remote-threaded.dsc │ │ │ │ ├── remote-threaded.testns │ │ │ │ ├── remote-threaded.post │ │ │ │ ├── bad_server.pem │ │ │ │ ├── unbound_server.pem │ │ │ │ ├── bad_control.pem │ │ │ │ ├── remote-threaded.conf │ │ │ │ └── unbound_control.pem │ │ │ ├── test_packets.8 │ │ │ ├── Kexample.com.+003+02854.private │ │ │ ├── Kexample.com.+005+16486.private │ │ │ ├── Kexample.com.+005+30899.private │ │ │ ├── Kexample.com.+005+55582.private │ │ │ ├── Kexample.com.+005+60946.private │ │ │ └── fwd_timeout.rpl │ │ ├── pythonmod │ │ │ ├── doc │ │ │ │ ├── _static │ │ │ │ │ └── readme │ │ │ │ ├── modules │ │ │ │ │ └── index.rst │ │ │ │ └── examples │ │ │ │ │ └── index.rst │ │ │ ├── examples │ │ │ │ └── dict_data.txt │ │ │ ├── test-log.conf │ │ │ ├── test-edns.conf │ │ │ ├── test-calc.conf │ │ │ ├── test-dict.conf │ │ │ ├── test-resgen.conf │ │ │ ├── test-resip.conf │ │ │ ├── test-inplace_callbacks.conf │ │ │ └── test-resmod.conf │ │ ├── winrc │ │ │ ├── unbound-website.url │ │ │ ├── combined.ico │ │ │ ├── gen_msg.bin │ │ │ ├── setup_top.bmp │ │ │ ├── unbound32.ico │ │ │ ├── setup_left.bmp │ │ │ └── unbound256.png │ │ ├── libunbound │ │ │ └── python │ │ │ │ └── doc │ │ │ │ ├── _static │ │ │ │ └── readme │ │ │ │ ├── examples │ │ │ │ ├── example6.rst │ │ │ │ ├── index.rst │ │ │ │ ├── example7-1.py │ │ │ │ └── example7-2.py │ │ │ │ └── index.rst │ │ ├── doc │ │ │ ├── IP-BasedActions.pdf │ │ │ ├── ietf67-design-02.odp │ │ │ ├── ietf67-design-02.pdf │ │ │ └── CNAME-basedRedirectionDesignNotes.pdf │ │ ├── contrib │ │ │ ├── unbound_cacti.tar.gz │ │ │ ├── unbound_smf23.tar.gz │ │ │ ├── unbound-fuzzers.tar.bz2 │ │ │ ├── unbound.socket.in │ │ │ ├── selinux │ │ │ │ └── unbound.fc │ │ │ ├── libunbound.pc.in │ │ │ ├── patch_rsamd5_enable.diff │ │ │ └── rc_d_unbound │ │ ├── dnscrypt │ │ │ ├── testdata │ │ │ │ ├── keys1 │ │ │ │ │ ├── public.key │ │ │ │ │ └── secret.key │ │ │ │ └── keys2 │ │ │ │ │ ├── public.key │ │ │ │ │ └── secret.key │ │ │ └── dnscrypt_config.h.in │ │ ├── .travis.yml │ │ ├── compat │ │ │ ├── memcmp.h │ │ │ ├── malloc.c │ │ │ ├── memcmp.c │ │ │ └── explicit_bzero.c │ │ ├── dnstap │ │ │ └── dnstap_config.h.in │ │ └── README │ ├── dns-over-https │ │ ├── contrib │ │ │ ├── rpm │ │ │ │ ├── doh_client.fc │ │ │ │ └── doh_server.fc │ │ │ └── linux-install.sh │ │ ├── go.mod │ │ ├── NetworkManager │ │ │ ├── dispatcher.d │ │ │ │ ├── doh-client │ │ │ │ └── doh-server │ │ │ └── Makefile │ │ ├── doh-client │ │ │ └── selector │ │ │ │ ├── upstreamStatus.go │ │ │ │ ├── selector.go │ │ │ │ └── upstream.go │ │ ├── darwin-wrapper │ │ │ └── Makefile │ │ ├── .gitignore │ │ ├── systemd │ │ │ ├── doh-server.service │ │ │ ├── doh-client.service │ │ │ └── Makefile │ │ ├── Dockerfile.server │ │ ├── Dockerfile.client │ │ └── launchd │ │ │ └── Makefile │ ├── conf │ │ ├── doh-server.conf │ │ └── caddy.conf │ ├── install.sh │ └── shell │ │ ├── CKDNS │ │ └── UPDNS ├── README.md └── docker-compose.yml ├── Config ├── .DS_Store ├── Unbound │ ├── .DS_Store │ └── 国内 │ │ └── .DS_Store ├── doh-server.conf └── Dnsdist │ └── dnsdist.conf └── Shell └── OtherShell ├── CKDNS └── UPDNS /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/.DS_Store -------------------------------------------------------------------------------- /Docker/data/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | UPDNS 3 | /usr/bin/crond -n -------------------------------------------------------------------------------- /Docker/data/unbound/.gitattributes: -------------------------------------------------------------------------------- 1 | testdata/*.[0-9] linguist-documentation 2 | -------------------------------------------------------------------------------- /Config/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Config/.DS_Store -------------------------------------------------------------------------------- /Docker/README.md: -------------------------------------------------------------------------------- 1 | sudo docker build -t zimonianhua/geekdns:1 . 2 | sudo docker-compose up -h -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_data_remove: -------------------------------------------------------------------------------- 1 | localdatafromfile 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/09-unbound-control.tdir/local_zones_remove: -------------------------------------------------------------------------------- 1 | localzonefromfile 2 | -------------------------------------------------------------------------------- /Config/Unbound/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Config/Unbound/.DS_Store -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/doc/_static/readme: -------------------------------------------------------------------------------- 1 | this directory exists to pacify sphinx-build. 2 | -------------------------------------------------------------------------------- /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/winrc/unbound-website.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://unbound.net/ 3 | 4 | -------------------------------------------------------------------------------- /Config/Unbound/国内/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Config/Unbound/国内/.DS_Store -------------------------------------------------------------------------------- /Docker/data/unbound/libunbound/python/doc/_static/readme: -------------------------------------------------------------------------------- 1 | this directory exists to pacify sphinx-build. 2 | -------------------------------------------------------------------------------- /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_zones: -------------------------------------------------------------------------------- 1 | localzonefromfile refuse 2 | otherlocalzone static 3 | -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/combined.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/combined.ico -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/gen_msg.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/gen_msg.bin -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/setup_top.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/setup_top.bmp -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/unbound32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/unbound32.ico -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+003+02854.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/setup_left.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/setup_left.bmp -------------------------------------------------------------------------------- /Docker/data/unbound/winrc/unbound256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/winrc/unbound256.png -------------------------------------------------------------------------------- /Docker/data/unbound/doc/IP-BasedActions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/doc/IP-BasedActions.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/doc/ietf67-design-02.odp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/doc/ietf67-design-02.odp -------------------------------------------------------------------------------- /Docker/data/unbound/doc/ietf67-design-02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/doc/ietf67-design-02.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/Kexample.com.+005+30899.ds: -------------------------------------------------------------------------------- 1 | example.com. 3600 IN DS 30899 5 1 d4bf9d2e10f6d76840d42ef5913022abcd0bf512 2 | -------------------------------------------------------------------------------- /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/contrib/unbound_cacti.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/contrib/unbound_cacti.tar.gz -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound_smf23.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/contrib/unbound_smf23.tar.gz -------------------------------------------------------------------------------- /Docker/data/unbound/contrib/unbound-fuzzers.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/contrib/unbound-fuzzers.tar.bz2 -------------------------------------------------------------------------------- /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+55566.ds: -------------------------------------------------------------------------------- 1 | example.com. IN DS 55566 8 2 9c148338951ce1c3b5cd3da532f3d90dfcf92595148022f2c2fd98e5deee90af 2 | -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys1/public.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/dnscrypt/testdata/keys1/public.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys1/secret.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/dnscrypt/testdata/keys1/secret.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys2/public.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/dnscrypt/testdata/keys2/public.key -------------------------------------------------------------------------------- /Docker/data/unbound/dnscrypt/testdata/keys2/secret.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/dnscrypt/testdata/keys2/secret.key -------------------------------------------------------------------------------- /Docker/data/unbound/pythonmod/examples/dict_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/pythonmod/examples/dict_data.txt -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stream_ssl.tdir/ticket1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/stream_ssl.tdir/ticket1.dat -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stream_ssl.tdir/ticket2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/stream_ssl.tdir/ticket2.dat -------------------------------------------------------------------------------- /Docker/data/unbound/doc/CNAME-basedRedirectionDesignNotes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/doc/CNAME-basedRedirectionDesignNotes.pdf -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/1_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert.tdir/2_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2.key -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/bad.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/bad.p7s -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/1_salsa.cert -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_chacha.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/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/HEAD/Docker/data/unbound/testdata/dnscrypt_cert_chacha.tdir/2_salsa.cert -------------------------------------------------------------------------------- /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/10-unbound-anchor.tdir/127.0.0.1/root.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/root.p7s -------------------------------------------------------------------------------- /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/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+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+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.+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.+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.+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/10-unbound-anchor.tdir/127.0.0.1/no_more_keys.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzmos/GeekDNS/HEAD/Docker/data/unbound/testdata/10-unbound-anchor.tdir/127.0.0.1/no_more_keys.p7s -------------------------------------------------------------------------------- /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/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+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+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+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.+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_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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /Shell/OtherShell/CKDNS: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | PIDS=`ps -ef |grep unbound |grep -v grep | awk '{print $1}'` 3 | if [ "$PIDS" == "" ]; then 4 | unbound -v 5 | fi 6 | SUP=`ps -ef |grep supervisord |grep -v grep | awk '{print $1}'` 7 | if [ "$SUP" == "" ]; then 8 | supervisord -c /etc/supervisord.conf 9 | fi -------------------------------------------------------------------------------- /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.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/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/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/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_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_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_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/stat_timer.tdir/stat_timer.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/speed_local.tdir/speed_local.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_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_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/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/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/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/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/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/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_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_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/speed_cache.tdir/speed_cache.testns: -------------------------------------------------------------------------------- 1 | ; nameserver test file 2 | $ORIGIN example.com. 3 | $TTL 3600 4 | 5 | ENTRY_BEGIN 6 | MATCH opcode qtype 7 | REPLY QR AA NOERROR 8 | ADJUST copy_id copy_query 9 | SECTION QUESTION 10 | www IN A 11 | SECTION AUTHORITY 12 | @ IN SOA ns hostmaster 2008021401 1800 900 604800 86400 13 | ENTRY_END 14 | 15 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stream_tcp.tdir/stream_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/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/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/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_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/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/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/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/speed_local.tdir/speed_local.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 1 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/tcp_sigpipe.tdir/tcp_sigpipe.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 | -------------------------------------------------------------------------------- /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/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/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/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/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_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/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/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/speed_local.tdir/speed_local.post: -------------------------------------------------------------------------------- 1 | # #-- speed_local.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 $UNBOUND_PID 10 | -------------------------------------------------------------------------------- /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/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/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/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_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/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/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_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/stub_udp.tdir/stub_udp.post: -------------------------------------------------------------------------------- 1 | # #-- stub_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/stub_udp6.tdir/stub_udp6.post: -------------------------------------------------------------------------------- 1 | # #-- stub_udp6.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/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/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/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.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/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/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/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/speed_cache.post: -------------------------------------------------------------------------------- 1 | # #-- speed_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 $FWD_PID 10 | kill_pid $UNBOUND_PID 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stat_timer.tdir/stat_timer.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 | statistics-interval: 1 13 | forward-zone: 14 | name: "." 15 | forward-addr: "127.0.0.1@@TOPORT@" 16 | 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stream_tcp.tdir/stream_tcp.post: -------------------------------------------------------------------------------- 1 | # #-- stream_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/tcp_sigpipe.tdir/tcp_sigpipe.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_sigpipe.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/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/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_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/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/stat_timer.tdir/stat_timer.post: -------------------------------------------------------------------------------- 1 | # #-- stat_timer.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/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/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.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.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_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_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/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/tcp_conn_limit.tdir/tcp_conn_limit.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_conn_limit.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/tcp_idle_timeout.tdir/tcp_idle_timeout.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 | tcp-idle-timeout: 2000 13 | 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | -------------------------------------------------------------------------------- /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/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_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_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_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/stub_udp.tdir/stub_udp.dsc: -------------------------------------------------------------------------------- 1 | BaseName: stub_udp 2 | Version: 1.0 3 | Description: Stub server contacted via UDP. 4 | CreationDate: Tue Sep 30 15:10:00 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: stub_udp.pre 12 | Post: stub_udp.post 13 | Test: stub_udp.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_idle_timeout.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/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/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/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/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/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/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_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/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/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/tcp_conn_limit.tdir/tcp_conn_limit.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 | tcp-connection-limit: 0.0.0.0/0 0 13 | 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | -------------------------------------------------------------------------------- /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/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_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_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_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_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_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/tcp_req_size.tdir/tcp_req_size.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_req_size.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/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/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/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_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/speed_cache.tdir/speed_cache.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 0 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 | rrset-cache-size: 100k 13 | msg-cache-size: 100k 14 | forward-zone: 15 | name: "." 16 | forward-addr: "127.0.0.1@@TOPORT@" 17 | 18 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/speed_cache.tdir/speed_cache.dsc: -------------------------------------------------------------------------------- 1 | BaseName: speed_cache 2 | Version: 1.0 3 | Description: Speed test with cache sizes 4 | CreationDate: Fri Feb 15 15:46:25 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: speed_cache.pre 12 | Post: speed_cache.post 13 | Test: speed_cache.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stat_timer.tdir/stat_timer.dsc: -------------------------------------------------------------------------------- 1 | BaseName: stat_timer 2 | Version: 1.0 3 | Description: Test statistics-interval timer. 4 | CreationDate: Tue Feb 5 14:41:10 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: stat_timer.pre 12 | Post: stat_timer.post 13 | Test: stat_timer.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stream_ssl.tdir/stream_ssl.dsc: -------------------------------------------------------------------------------- 1 | BaseName: stream_ssl 2 | Version: 1.0 3 | Description: Stream queries over SSL channel. 4 | CreationDate: Wed Nov 9 14:02:31 CET 2011 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: stream_ssl.pre 12 | Post: stream_ssl.post 13 | Test: stream_ssl.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stub_udp6.tdir/stub_udp6.dsc: -------------------------------------------------------------------------------- 1 | BaseName: stub_udp6 2 | Version: 1.0 3 | Description: Stub server contacted via UDP over IPv6. 4 | CreationDate: Wed Mar 10 13:33:06 CET 2010 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: stub_udp6.pre 12 | Post: stub_udp6.post 13 | Test: stub_udp6.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_req_order.tdir/tcp_req_order.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_req_order.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/tcp_req_size.tdir/tcp_req_size.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_req_size 2 | Version: 1.0 3 | Description: Test tcp request wait size. 4 | CreationDate: Tue Jan 22 09:37:00 CET 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_req_size.pre 12 | Post: tcp_req_size.post 13 | Test: tcp_req_size.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /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/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_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_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_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/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/speed_local.tdir/speed_local.dsc: -------------------------------------------------------------------------------- 1 | BaseName: speed_local 2 | Version: 1.0 3 | Description: Speed test with localhost query. 4 | CreationDate: Thu Feb 14 16:51:55 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: speed_local.pre 12 | Post: speed_local.post 13 | Test: speed_local.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3" 2 | services: 3 | geekdns: 4 | ports: 5 | - "853:853" 6 | - "443:2015" 7 | - "80:8053" 8 | - "53:53/udp" 9 | image: zimonianhua/geekdns:1 10 | environment: 11 | - foreign=no 12 | volumes: 13 | - /ssl/cert.pem:/etc/geekdns/ssl/cert.pem 14 | - /ssl/cert.key:/etc/geekdns/ssl/cert.key -------------------------------------------------------------------------------- /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/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/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_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_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_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_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/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/stream_tcp.tdir/stream_tcp.dsc: -------------------------------------------------------------------------------- 1 | BaseName: stream_tcp 2 | Version: 1.0 3 | Description: Stream several queries over a TCP channel. 4 | CreationDate: Fri Feb 8 11:09:09 CET 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: stream_tcp.pre 12 | Post: stream_tcp.post 13 | Test: stream_tcp.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_sigpipe.tdir/tcp_sigpipe.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_sigpipe 2 | Version: 1.0 3 | Description: Generate SIGPIPE over a TCP channel. 4 | CreationDate: Tue Apr 22 13:45:04 CEST 2008 5 | Maintainer: dr. W.C.A. Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_sigpipe.pre 12 | Post: tcp_sigpipe.post 13 | Test: tcp_sigpipe.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /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/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_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/ssl_req_order.tdir/ssl_req_order.dsc: -------------------------------------------------------------------------------- 1 | BaseName: ssl_req_order 2 | Version: 1.0 3 | Description: Test ssl request order processing. 4 | CreationDate: Mon Jan 21 14:11:00 CET 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: ssl_req_order.pre 12 | Post: ssl_req_order.post 13 | Test: ssl_req_order.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ssl_req_order.tdir/ssl_req_order.post: -------------------------------------------------------------------------------- 1 | # #-- ssl_req_order.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 | cat fwd.log 13 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_conn_limit.tdir/tcp_conn_limit.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_conn_limit 2 | Version: 1.0 3 | Description: Test tcp-connection-limit setting. 4 | CreationDate: Fri Aug 3 17:18:00 BST 2018 5 | Maintainer: dr. J. Hague 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_conn_limit.pre 12 | Post: tcp_conn_limit.post 13 | Test: tcp_conn_limit.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_req_order.tdir/tcp_req_order.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_req_order 2 | Version: 1.0 3 | Description: Test tcp request order processing. 4 | CreationDate: Mon Jan 14 13:34:00 CET 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_req_order.pre 12 | Post: tcp_req_order.post 13 | Test: tcp_req_order.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /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/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/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/ssl_req_timeout.tdir/ssl_req_timeout.post: -------------------------------------------------------------------------------- 1 | # #-- ssl_req_timeout.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 fwd.log 12 | cat unbound.log 13 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_req_timeout.tdir/tcp_req_timeout.post: -------------------------------------------------------------------------------- 1 | # #-- tcp_req_timeout.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 fwd.log 12 | cat unbound.log 13 | -------------------------------------------------------------------------------- /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_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/ssl_req_timeout.tdir/ssl_req_timeout.dsc: -------------------------------------------------------------------------------- 1 | BaseName: ssl_req_timeout 2 | Version: 1.0 3 | Description: Test ssl request order timeouts. 4 | CreationDate: Mon Jan 21 11:23:00 CET 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: ssl_req_timeout.pre 12 | Post: ssl_req_timeout.post 13 | Test: ssl_req_timeout.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_idle_timeout 2 | Version: 1.0 3 | Description: Test tcp-idle-timeout setting. 4 | CreationDate: Thu Jul 12 13:55:00 BST 2018 5 | Maintainer: dr. J. Hague 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_idle_timeout.pre 12 | Post: tcp_idle_timeout.post 13 | Test: tcp_idle_timeout.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/tcp_req_timeout.tdir/tcp_req_timeout.dsc: -------------------------------------------------------------------------------- 1 | BaseName: tcp_req_timeout 2 | Version: 1.0 3 | Description: Test tcp request order timeouts. 4 | CreationDate: Mon Jan 21 11:23:00 CET 2018 5 | Maintainer: Wouter Wijngaards 6 | Category: 7 | Component: 8 | CmdDepends: 9 | Depends: 10 | Help: 11 | Pre: tcp_req_timeout.pre 12 | Post: tcp_req_timeout.post 13 | Test: tcp_req_timeout.test 14 | AuxFiles: 15 | Passed: 16 | Failure: 17 | -------------------------------------------------------------------------------- /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/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/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/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/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_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_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_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/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/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/stream_ssl.tdir/stream_ssl.post: -------------------------------------------------------------------------------- 1 | # #-- stream_ssl.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 $UNBOUNDSERV_PID 10 | kill_pid $UNBOUNDCLIE_PID 11 | cat unboundserv.log 12 | cat unboundclie.log 13 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/stub_udp.tdir/stub_udp.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 | stub-zone: 13 | name: "example.com" 14 | stub-addr: "127.0.0.1@@TOPORT@" 15 | # a k a root hints 16 | stub-zone: 17 | name: "." 18 | stub-addr: "127.0.0.1@@TOPORT@" 19 | -------------------------------------------------------------------------------- /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/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/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/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/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/stream_ssl.tdir/stream_ssl.clie.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @CLIEPORT@ 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound-clie.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: no 12 | 13 | ssl-upstream: yes 14 | tls-cert-bundle: unbound_server.pem 15 | 16 | forward-zone: 17 | name: "." 18 | forward-addr: "127.0.0.1@@SERVPORT@#unbound" 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/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/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/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/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_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/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/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 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/root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | . 4 | 5 | 37348 6 | 5 7 | 1 8 | b56a31943f14faa31224d147f8b1107b78598eb2 9 | 10 | 11 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/test_packets.8: -------------------------------------------------------------------------------- 1 | ; Test that FORMERR no longer happens. 2 | ;-- next packet -- 3 | ; bad packet, had arcount=1 but EDNS record is missing. 4 | ; from imgw.pl. BIND accepts it (but dig notes 'it is malformed'). 5 | ; therefore we leniently accept this. 6 | ; header 7 | 75D684100001000200000001 8 | ; qd section 9 | 04696D677702706C0000010001 10 | ; answer section 11 | 04696D677702706C000001000100000E100004C3BB560E 12 | 04696D677702706C000001000100000E100004C3BB560D 13 | 14 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /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) -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/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/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/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_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.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/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/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/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/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/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/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/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/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_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 | -------------------------------------------------------------------------------- /Shell/OtherShell/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 | unbound -v 11 | echo "重启DNSDIST" 12 | killall supervisord 13 | sleep 1 14 | supervisord -c /etc/supervisord.conf 15 | echo "重启DOH" 16 | systemctl restart doh-server.service 17 | echo "重启完成" 18 | exit 0; -------------------------------------------------------------------------------- /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/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/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_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/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/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/tcp_req_order.tdir/tcp_req_order.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-zone: "example.net" static 14 | local-data: "www1.example.net. IN A 1.2.3.1" 15 | local-data: "www2.example.net. IN A 1.2.3.2" 16 | local-data: "www3.example.net. IN A 1.2.3.3" 17 | tcp-upstream: yes 18 | local-zone: "drop.net" deny 19 | 20 | forward-zone: 21 | name: "." 22 | forward-addr: "127.0.0.1@@TOPORT@" 23 | -------------------------------------------------------------------------------- /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/tcp_req_timeout.tdir/tcp_req_timeout.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-zone: "example.net" static 14 | local-data: "www1.example.net. IN A 1.2.3.1" 15 | local-data: "www2.example.net. IN A 1.2.3.2" 16 | local-data: "www3.example.net. IN A 1.2.3.3" 17 | tcp-idle-timeout: 2000 18 | local-zone: "drop.net" deny 19 | 20 | forward-zone: 21 | name: "." 22 | forward-addr: "127.0.0.1@@TOPORT@" 23 | -------------------------------------------------------------------------------- /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/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/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.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.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.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/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_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/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/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_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/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/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_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_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/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/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/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/stream_ssl.tdir/stream_ssl.serv.conf: -------------------------------------------------------------------------------- 1 | server: 2 | verbosity: 2 3 | # num-threads: 1 4 | interface: 127.0.0.1 5 | port: @SERVPORT@ 6 | use-syslog: no 7 | directory: . 8 | pidfile: "unbound-serv.pid" 9 | chroot: "" 10 | username: "" 11 | do-not-query-localhost: yes 12 | local-data: "www.example.com. IN A 10.20.30.40" 13 | ssl-port: @SERVPORT@ 14 | ssl-service-key: "unbound_server.key" 15 | ssl-service-pem: "unbound_server.pem" 16 | tls-session-ticket-keys: "ticket1.dat" 17 | tls-session-ticket-keys: "ticket2.dat" 18 | # no other queries should reach here. 19 | forward-zone: 20 | name: "." 21 | forward-addr: "127.0.0.1" 22 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/stream_tcp.tdir/stream_tcp.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.42 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.43 33 | ENTRY_END 34 | 35 | -------------------------------------------------------------------------------- /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/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_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/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_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/tcp_req_size.tdir/tcp_req_size.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 | # extremely low number to make connections fail 14 | stream-wait-size: 10 15 | 16 | local-zone: "example.net" static 17 | local-data: "www1.example.net. IN A 1.2.3.1" 18 | local-data: "www2.example.net. IN A 1.2.3.2" 19 | local-data: "www3.example.net. IN A 1.2.3.3" 20 | tcp-upstream: yes 21 | local-zone: "drop.net" deny 22 | 23 | forward-zone: 24 | name: "." 25 | forward-addr: "127.0.0.1@@TOPORT@" 26 | -------------------------------------------------------------------------------- /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/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_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_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/stream_ssl.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/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/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_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/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/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/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/ssl_req_order.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/ssl_req_timeout.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/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/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/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_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_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/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/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/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/stream_ssl.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/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/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/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/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/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/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/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/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/ssl_req_order.tdir/ssl_req_order.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 | ssl-port: @PORT@ 13 | ssl-service-key: "unbound_server.key" 14 | ssl-service-pem: "unbound_server.pem" 15 | 16 | local-zone: "example.net" static 17 | local-data: "www1.example.net. IN A 1.2.3.1" 18 | local-data: "www2.example.net. IN A 1.2.3.2" 19 | local-data: "www3.example.net. IN A 1.2.3.3" 20 | tcp-upstream: yes 21 | local-zone: "drop.net" deny 22 | 23 | forward-zone: 24 | name: "." 25 | forward-addr: "127.0.0.1@@TOPORT@" 26 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/ctrl_itr.tdir/ctrl_itr.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 | # disabled validator 13 | module-config: "iterator" 14 | remote-control: 15 | control-enable: yes 16 | control-interface: 127.0.0.1 17 | # control-interface: ::1 18 | control-port: @CONTROL_PORT@ 19 | server-key-file: "unbound_server.key" 20 | server-cert-file: "unbound_server.pem" 21 | control-key-file: "unbound_control.key" 22 | control-cert-file: "unbound_control.pem" 23 | forward-zone: 24 | name: "." 25 | forward-addr: "127.0.0.1@@TOPORT@" 26 | 27 | -------------------------------------------------------------------------------- /Docker/data/unbound/testdata/fwd_tcp_tc6.tdir/fwd_tcp_tc6.test: -------------------------------------------------------------------------------- 1 | # #-- fwd_tcp_tc6.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 | . ../common.sh 9 | get_make 10 | (cd $PRE; $MAKE streamtcp) 11 | 12 | # do the test 13 | echo "> streamtcp www.example.com." 14 | $PRE/streamtcp -u -f ::1@$UNBOUND_PORT www.example.com. A IN | tee outfile 15 | echo "> cat logfiles" 16 | cat fwd.log 17 | cat unbound.log 18 | echo "> check answer" 19 | if grep "10.20.30.42" outfile; then 20 | echo "OK" 21 | else 22 | echo "Not OK" 23 | exit 1 24 | fi 25 | 26 | exit 0 27 | --------------------------------------------------------------------------------