| /src/external/mpl/bind/dist/bin/tests/system/hooks/ |
| tests_async_plugin.py | 12 import isctest namespace 16 msg = isctest.query.create("example.com.", "A") 17 res = isctest.query.udp(msg, "10.53.0.1") 19 isctest.check.notimp(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/dnssec_unsupported_ds/ |
| tests_mixed_ds.py | 14 import isctest namespace 30 msg = isctest.query.create("child.example.", "DNSKEY") 31 res = isctest.query.tcp(msg, "10.53.0.4") 32 isctest.check.servfail(res) 34 msg = isctest.query.create("child.example.", "A") 35 res = isctest.query.tcp(msg, "10.53.0.4") 36 isctest.check.servfail(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/expiredglue/ |
| tests_expiredglue.py | 14 import isctest namespace 18 msg1 = isctest.query.create("a.example.tld.", "A") 19 res1 = isctest.query.udp(msg1, ns4.ip) 20 isctest.check.noerror(res1) 21 isctest.check.rr_count_eq(res1.answer, 1) 23 msg2 = isctest.query.create("a.dnshoster.tld.", "A") 24 res2 = isctest.query.udp(msg2, ns4.ip) 25 isctest.check.rr_count_eq(res2.answer, 1) 27 msg3 = isctest.query.create("ns.dnshoster.tld.", "A") 28 res3 = isctest.query.udp(msg3, ns4.ip [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/query_source/ |
| tests_querysource_none.py | 16 import isctest namespace 27 msg = isctest.query.create("example.", "A", dnssec=False) 29 res = isctest.query.udp(msg, "10.53.0.2") 30 isctest.check.noerror(res) 32 res = isctest.query.udp(msg, "10.53.0.3") 33 isctest.check.noerror(res) 35 res = isctest.query.udp(msg, "10.53.0.4") 36 isctest.check.servfail(res) 38 res = isctest.query.udp(msg, "10.53.0.5") 39 isctest.check.servfail(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/class/ |
| tests_class_chaos.py | 16 import isctest namespace 26 msg = isctest.query.create("foo.example.", "TXT", qclass="CH") 27 res = isctest.query.udp(msg, "10.53.0.1") 28 isctest.check.refused(res) 32 msg = isctest.query.create("a.example.", "A", qclass="CH") 33 res = isctest.query.udp(msg, "10.53.0.2") 34 isctest.check.noerror(res) 38 msg = isctest.query.create("a.example.", "A", qclass="CH") 39 res = isctest.query.udp(msg, "10.53.0.3") 40 isctest.check.refused(res [all...] |
| /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 15 import isctest namespace 27 isctest.transfer.transfer_message(".", None, "Transfer status: success", 53)
|
| /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/filters/ |
| tests_filter_dns64.py | 16 import isctest namespace 25 msg = isctest.query.create("aaaa-only.unsigned", "aaaa") 26 res = isctest.query.tcp(msg, "10.53.0.5") 27 isctest.check.noerror(res) 29 msg = isctest.query.create("excludeone.unsigned", "aaaa") 30 res = isctest.query.tcp(msg, "10.53.0.5") 31 isctest.check.noerror(res)
|
| common.py | 16 import isctest namespace 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/names/ |
| tests_names.py | 12 import isctest namespace 19 msg = isctest.query.create("example.", "MX") 21 res_enabled = isctest.query.tcp(msg, ip="10.53.0.1", source="10.53.0.1") 23 res_disabled = isctest.query.tcp(msg, ip="10.53.0.1", source="10.53.0.2") 25 isctest.check.rrsets_equal(res_enabled.answer, res_disabled.answer)
|
| /src/external/mpl/bind/dist/bin/tests/system/nta/ |
| tests_nta.py | 17 import isctest namespace 30 m = isctest.query.create("a.bogus.example.", "A") 31 res = isctest.query.tcp(m, "10.53.0.4") 32 isctest.check.servfail(res) 34 m = isctest.query.create("badds.example.", "SOA") 35 res = isctest.query.tcp(m, "10.53.0.4") 36 isctest.check.servfail(res) 38 m = isctest.query.create("a.secure.example.", "A") 39 res = isctest.query.tcp(m, "10.53.0.4") 40 isctest.check.noerror(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/stub/ |
| tests_stub.py | 18 import isctest namespace 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/dispatch/ |
| tests_connreset.py | 17 import isctest namespace 30 res = isctest.query.udp(msg, "10.53.0.2") 31 isctest.check.servfail(res)
|
| tests_tcponly.py | 15 import isctest namespace 32 res = isctest.query.udp(msg, "10.53.0.2", timeout=15) 33 isctest.check.servfail(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/dsdigest/ |
| tests_dsdigest.py | 16 import isctest namespace 33 msg = isctest.query.create("a.good.", "A") 34 res = isctest.query.tcp( 38 isctest.check.noerror(res) 46 res = isctest.query.tcp( 50 isctest.check.servfail(res) 55 msg_ds = isctest.query.create("bad.", "DS") 56 res_ds = isctest.query.tcp( 60 isctest.check.noerror(res_ds) 63 msg_a = isctest.query.create("a.bad.", "A" [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/nsec3/ |
| tests_nsec3_length.py | 16 import isctest namespace 31 res = isctest.query.udp(msg, "10.53.0.5") 32 isctest.check.servfail(res)
|
| /src/external/mpl/bind/dist/bin/tests/system/nzd2nzf/ |
| tests_nzd2nzf.py | 17 import isctest namespace 18 import isctest.mark namespace 19 import isctest.run namespace 22 isctest.mark.with_lmdb, 31 msg = isctest.query.create("a.added.example.", "A") 34 res = isctest.query.tcp(msg, ns1.ip) 35 isctest.check.refused(res) 41 res = isctest.query.tcp(msg, ns1.ip) 42 isctest.check.noerror(res) 48 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 | 18 import isctest namespace 32 msg = isctest.query.create("foo.bar.fi", "A") 34 res = isctest.query.udp(msg, "10.53.0.1") 55 isctest.check.noerror(res) 56 isctest.check.rrsets_equal(res.answer, expected_answer.answer) 57 isctest.check.rrsets_equal(res.authority, expected_answer.authority) 58 isctest.check.rrsets_equal(res.additional, expected_answer.additional) 63 msg = isctest.query.create("example.net.", "A") 65 res = isctest.query.udp(msg, "10.53.0.1") 75 isctest.check.noerror(res [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/include_multiplecfg/ |
| tests_include_multiplecfg.py | 17 import isctest namespace 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/rollover_dynamic2inline/ |
| tests_rollover_dynamic2inline.py | 14 import isctest namespace 24 isctest.kasp.wait_keymgr_done(ns3, zone) 35 isctest.kasp.check_rollover_step(ns3, config, policy, step) 39 isctest.kasp.wait_keymgr_done(ns3, zone, reconfig=True) 41 isctest.kasp.check_rollover_step(ns3, config, policy, step)
|
| /src/external/mpl/bind/dist/bin/tests/system/resolver/ |
| tests_resolver.py | 14 import isctest namespace 19 msg = isctest.query.create("www.example.org.", "A") 20 res = isctest.query.udp(msg, "10.53.0.1") 21 isctest.check.noerror(res) 36 msg = isctest.query.create("www.example.org.", "A") 37 res = isctest.query.udp(msg, "10.53.0.1") 38 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 | 14 import isctest namespace 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/redirect/ |
| tests_redirect_dns64.py | 16 import isctest namespace 59 msg = isctest.query.create(qname, "AAAA", dnssec=False) 60 response = isctest.query.tcp(msg, server.ip) 61 isctest.check.noerror(response) 65 msg = isctest.query.create("ns.redirect.", "A", dnssec=False) 66 response = isctest.query.tcp(msg, server.ip) 67 isctest.check.noerror(response) 97 msg = isctest.query.create("prime.", "A", dnssec=False) 98 response = isctest.query.tcp(msg, ns10.ip) 99 isctest.check.noerror(response [all...] |