| /src/external/mpl/bind/dist/bin/tests/system/query-source/ |
| tests_querysource_none.py | 16 import isctest 28 msg = isctest.query.create("example.", "A", dnssec=False) 30 res = isctest.query.udp(msg, "10.53.0.2") 31 isctest.check.noerror(res) 33 res = isctest.query.udp(msg, "10.53.0.3") 34 isctest.check.noerror(res) 36 res = isctest.query.udp(msg, "10.53.0.4") 37 isctest.check.servfail(res) 39 res = isctest.query.udp(msg, "10.53.0.5") 40 isctest.check.servfail(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/filters/ |
| tests_filter_dns64.py | 14 import isctest 26 msg = isctest.query.create("aaaa-only.unsigned", "aaaa") 27 res = isctest.query.tcp(msg, "10.53.0.5") 28 isctest.check.noerror(res)
|
| common.py | 15 import isctest 31 msg = isctest.query.create(qname, ftype) 32 res = isctest.query.tcp(msg, dest, source=source) 33 isctest.check.noerror(res) 36 isctest.check.adflag(res) 38 isctest.check.noadflag(res) 57 msg = isctest.query.create(qname, "any", dnssec=do) 58 res = isctest.query.tcp(msg, dest, source=source) 59 isctest.check.noerror(res) 77 msg = isctest.query.create(qname, qtype, dnssec=do [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/hooks/ |
| tests_async_plugin.py | 12 import isctest 15 # isctest.asyncserver requires dnspython >= 2.0.0 20 msg = isctest.query.create("example.com.", "A") 21 res = isctest.query.udp(msg, "10.53.0.1") 23 isctest.check.notimp(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/emptyzones/ |
| tests_emptyzones.py | 12 import isctest 22 msg = isctest.query.create("version.bind", "TXT", "CH") 23 res = isctest.query.tcp(msg, "10.53.0.1") 24 isctest.check.noerror(res) 27 msg = isctest.query.create("10.in-addr.arpa", "AXFR") 28 res = isctest.query.tcp(msg, "10.53.0.1") 29 isctest.check.refused(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/names/ |
| tests_names.py | 16 import isctest 23 msg = isctest.query.create("example.", "MX") 25 res_enabled = isctest.query.tcp(msg, ip="10.53.0.1", source="10.53.0.1") 27 res_disabled = isctest.query.tcp(msg, ip="10.53.0.1", source="10.53.0.2") 29 isctest.check.rrsets_equal(res_enabled.answer, res_disabled.answer)
|
| /src/external/mpl/bind/dist/bin/tests/system/stub/ |
| tests_stub.py | 18 import isctest 35 msg = isctest.query.create("child.example.", "AXFR") 36 res = isctest.query.tcp(msg, "10.53.0.3") 37 isctest.check.notauth(res) 42 msg = isctest.query.create("data.child.example.", "TXT") 44 res = isctest.query.tcp(msg, "10.53.0.3") 45 isctest.check.noerror(res) 57 msg = isctest.query.create("data.child.example.", "TXT") 58 res = isctest.query.tcp(msg, "10.53.0.3") 59 isctest.check.noerror(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/dnstap/ |
| tests_sh_dnstap.py | 14 import isctest.mark 17 isctest.mark.with_dnstap, 34 @pytest.mark.flaky(max_runs=2, rerun_filter=isctest.mark.is_host_freebsd_13)
|
| /src/external/mpl/bind/dist/bin/tests/system/dsdigest/ |
| tests_dsdigest.py | 15 import isctest 32 msg = isctest.query.create("a.good.", "A") 33 res = isctest.query.tcp( 37 isctest.check.noerror(res) 45 res = isctest.query.tcp( 49 isctest.check.servfail(res) 54 msg_ds = isctest.query.create("bad.", "DS") 55 res_ds = isctest.query.tcp( 59 isctest.check.noerror(res_ds) 62 msg_a = isctest.query.create("a.bad.", "A" [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/nzd2nzf/ |
| tests_nzd2nzf.py | 16 import isctest 17 import isctest.mark 18 import isctest.run 21 isctest.mark.with_lmdb, 30 msg = isctest.query.create("a.added.example.", "A") 33 res = isctest.query.tcp(msg, ns1.ip) 34 isctest.check.refused(res) 40 res = isctest.query.tcp(msg, ns1.ip) 41 isctest.check.noerror(res) 47 cmd = isctest.run.cmd([os.environ["NZD2NZF"], "_default.nzd"], cwd=cfg_dir [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/glue/ |
| tests_glue.py | 17 import isctest 33 msg = isctest.query.create("foo.bar.fi", "A") 35 res = isctest.query.udp(msg, "10.53.0.1") 56 isctest.check.noerror(res) 57 isctest.check.rrsets_equal(res.answer, expected_answer.answer) 58 isctest.check.rrsets_equal(res.authority, expected_answer.authority) 59 isctest.check.rrsets_equal(res.additional, expected_answer.additional) 64 msg = isctest.query.create("example.net.", "A") 66 res = isctest.query.udp(msg, "10.53.0.1") 76 isctest.check.noerror(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/include-multiplecfg/ |
| tests_include_multiplecfg.py | 17 import isctest 29 msg = isctest.query.create(qname, "A") 30 res = isctest.query.tcp(msg, "10.53.0.2") 32 isctest.check.noerror(res) 39 isctest.run.cmd([os.environ["CHECKCONF"], "named.conf"], cwd="ns2")
|
| /src/external/mpl/bind/dist/bin/tests/system/resolver/ |
| tests_resolver.py | 15 import isctest 20 msg = isctest.query.create("www.example.org.", "A") 21 res = isctest.query.udp(msg, "10.53.0.1") 22 isctest.check.noerror(res) 37 msg = isctest.query.create("www.example.org.", "A") 38 res = isctest.query.udp(msg, "10.53.0.1") 39 isctest.check.noerror(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/masterfile/ |
| tests_masterfile.py | 17 import isctest 22 msg_axfr = isctest.query.create("include.", "AXFR") 23 res_axfr = isctest.query.tcp(msg_axfr, "10.53.0.1") 38 isctest.check.rrsets_equal(res_axfr.answer, expected.answer, compare_ttl=True) 43 msg_axfr = isctest.query.create("ttl1.", "AXFR") 44 res_axfr = isctest.query.tcp(msg_axfr, "10.53.0.1") 57 isctest.check.rrsets_equal(res_axfr.answer, expected.answer, compare_ttl=True) 62 msg_axfr = isctest.query.create("ttl2.", "AXFR") 63 res_axfr = isctest.query.tcp(msg_axfr, "10.53.0.1") 76 isctest.check.rrsets_equal(res_axfr.answer, expected.answer, compare_ttl=True [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/keepalive/ |
| tests_keepalive.py | 12 import isctest 31 dig = isctest.run.EnvCmd("DIG", f"-p {str(named_port)}") 33 isctest.log.info("check that dig handles TCP keepalive in query") 36 isctest.log.info("check that dig added TCP keepalive was received") 39 isctest.log.info("check that TCP keepalive is added for TCP responses") 42 isctest.log.info("check that TCP keepalive requires TCP") 45 isctest.log.info("check the default keepalive value") 51 isctest.log.info("check a keepalive configured value") 57 isctest.log.info("check a re-configured keepalive value") 68 isctest.log.info("check server config entry" [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/dispatch/ |
| tests_connreset.py | 15 import isctest 17 # isctest.asyncserver requires dnspython >= 2.0.0 33 res = isctest.query.udp(msg, "10.53.0.2") 34 isctest.check.servfail(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/ttl/ |
| tests_cache_ttl.py | 14 import isctest 27 msg = isctest.query.create(qname, rdtype) 28 response = isctest.query.udp(msg, "10.53.0.2")
|
| /src/external/mpl/bind/dist/bin/tests/system/checkconf-keys/ |
| tests_checkconf_keys.py | 16 import isctest 37 isctest.run.cmd([CHECKCONF, "-k", "named.conf"]) 41 cmd = isctest.run.cmd( 48 cmd = isctest.run.cmd( 55 cmd = isctest.run.cmd( 58 keys = isctest.kasp.keydir_to_keylist(zone) 79 cmd = isctest.run.cmd( 82 keys = isctest.kasp.keydir_to_keylist(zone) 95 cmd = isctest.run.cmd( 98 keys = isctest.kasp.keydir_to_keylist(zone [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/database/ |
| tests_database.py | 14 import isctest 18 msg = isctest.query.create("database.", "SOA") 21 res = isctest.query.tcp(msg, "10.53.0.1") 36 res = isctest.query.tcp(msg, "10.53.0.1")
|
| /src/external/mpl/bind/dist/bin/tests/system/rollover-lifetime/ |
| tests_rollover_lifetime_initial.py | 16 import isctest 17 from isctest.util import param 40 isctest.kasp.wait_keymgr_done(ns3, f"{zone}.kasp") 50 isctest.kasp.check_rollover_step(ns3, config, policy, step)
|
| tests_rollover_lifetime_reconfig.py | 16 import isctest 17 from isctest.util import param 30 isctest.kasp.wait_keymgr_done(ns3, "shorter-lifetime.kasp") 31 isctest.kasp.wait_keymgr_done(ns3, "longer-lifetime.kasp") 32 isctest.kasp.wait_keymgr_done(ns3, "limit-lifetime.kasp") 33 isctest.kasp.wait_keymgr_done(ns3, "unlimit-lifetime.kasp") 55 isctest.kasp.wait_keymgr_done(ns3, f"{zone}.kasp", reconfig=True) 65 isctest.kasp.check_rollover_step(ns3, config, policy, step)
|
| /src/external/mpl/bind/dist/bin/tests/system/mirror-root-zone/ |
| tests_mirror_root_zone.py | 12 from isctest.instance import NamedInstance 13 from isctest.mark import live_internet_test
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ |
| tests_sh_rpz_dnsrps.py | 14 import isctest.mark 17 isctest.mark.dnsrps_enabled,
|
| /src/external/mpl/bind/dist/bin/tests/system/rpzrecurse/ |
| tests_sh_rpzrecurse_dnsrps.py | 14 # isctest.asyncserver requires dnspython >= 2.0.0 17 import isctest.mark 20 isctest.mark.dnsrps_enabled,
|
| /src/external/mpl/bind/dist/bin/tests/system/wildcard/ |
| tests_wildcard.py | 41 from isctest.hypothesis.strategies import dns_names, dns_rdatatypes_without_meta 44 import isctest.check 45 import isctest.name 46 import isctest.query 97 query_msg = isctest.query.create(name, rdtype) 98 response_msg = isctest.query.tcp(query_msg, IP_ADDR, named_port, timeout=TIMEOUT) 100 isctest.check.is_response_to(response_msg, query_msg) 101 isctest.check.noerror(response_msg) 102 isctest.check.empty_answer(response_msg) 114 query_msg = isctest.query.create(name, WILDCARD_RDTYPE [all...] |