HomeSort by: relevance | last modified time | path
    Searched refs:rndc (Results 1 - 25 of 84) sorted by relevancy

1 2 3 4

  /src/external/mpl/bind/bin/rndc/
Makefile 5 PROG= rndc
6 SRCS= rndc.c util.c
7 MAN= rndc.8 rndc.conf.5
10 DIST=${IDIST}/bin/rndc
12 -DRNDC_CONFFILE=\"${SYSCONFDIR}/rndc.conf\" \
13 -DRNDC_KEYFILE=\"${SYSCONFDIR}/rndc.key\" \
  /src/external/mpl/bind/bin/confgen/
Makefile 3 SUBDIR= rndc-confgen tsig-keygen
  /src/external/mpl/bind/dist/bin/tests/system/addzone/
tests_rndc_modzone_without_add.py 28 Confirm "rndc modzone" works for a zone that was not added by "addzone".
31 # by rndc modzone. This should succeed and shouldn't cause any disruption.
33 cmd = ns3.rndc(
39 # Confirm that the modzone took effect in 'rndc showzone'.
40 cmd = ns3.rndc("showzone .", raise_on_exception=False)
44 # Confirm that 'rndc modzone' still works after the first modzone.
47 cmd = ns3.rndc(
53 # Confirm that the second modzone took effect in 'rndc showzone'.
54 cmd = ns3.rndc("showzone .", raise_on_exception=False)
tests_rndc_deadlock.py 33 Run "rndc addzone", "rndc modzone", and "rndc delzone" in a tight loop
46 args = [os.environ["RNDC"]] + ns3.rndc_args.split()
49 # avoid using ns3.rndc() directly to avoid log spam
55 Check if server status can be successfully retrieved using "rndc status"
57 cmd = ns3.rndc("status", raise_on_exception=False)
63 Test whether running "rndc addzone", "rndc modzone", and "rndc delzone
    [all...]
tests.sh 19 RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
42 $RNDCCMD 10.53.0.2 showzone normal.example >rndc.out.ns2.$n
44 [ "$(cat rndc.out.ns2.$n)" = "$expected" ] || ret=1
51 $RNDCCMD 10.53.0.2 modzone normal.example '{ type primary; file "normal.db"; };' >rndc.out.ns2.$n
52 grep "" rndc.out.ns2.$n >/dev/null || ret=1
53 grep "zone 'normal.example' must also be reconfigured in" rndc.out.ns2.$n >/dev/null || ret=1
54 grep "named.conf to make changes permanent." rndc.out.ns2.$n >/dev/null || ret=1
140 $RNDCCMD 10.53.0.2 addzone 'missing.example { type primary; file "missing.db"; };' 2>rndc.out.ns2.$n && ret=1
141 grep "file not found" rndc.out.ns2.$n >/dev/null || ret=
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/zonechecks/
tests.sh 19 RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
167 $RNDCCMD 10.53.0.1 zonestatus primary.example >rndc.out.pri 2>&1
168 grep "zone not loaded" rndc.out.pri >/dev/null || break
177 checkfor "name: primary.example" rndc.out.pri
178 checkfor "type: primary" rndc.out.pri
179 checkfor "files: primary.db, primary.db.signed" rndc.out.pri
180 checkfor "serial: " rndc.out.pri
181 checkfor "nodes: " rndc.out.pri
182 checkfor "last loaded: " rndc.out.pr
    [all...]
  /src/external/mpl/bind/bin/
Makefile 3 SUBDIR= dig host named nslookup nsupdate rndc dnssec check tools \
  /src/external/mpl/bind/dist/bin/tests/system/isctest/
__init__.py 20 rndc,
41 "rndc",
instance.py 29 from .rndc import RNDCClient
36 rndc: int = 953
42 rndc=int(os.environ["CONTROLPORT"]),
156 servers["ns1"].rndc("status")
178 self._rndc_conf = Path("../_common/rndc.conf").absolute()
179 self._rndc = EnvCmd("RNDC", self.rndc_args)
183 """Base arguments for calling RNDC to control the instance."""
184 return f"-c {self._rndc_conf} -s {self.ip} -p {self.ports.rndc}"
186 def rndc(self, command: str, timeout=10, **kwargs) -> CmdResult: member in class:NamedInstance
188 Send `command` to this named instance using RNDC. Return the server'
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/_common/
rndc.conf 12 key rndc-key;
  /src/external/mpl/bind/dist/bin/tests/system/emptyzones/
tests_emptyzones.py 18 ns1.rndc("reload")
21 ns1.rndc("reload")
  /src/external/mpl/bind/dist/bin/tests/system/mkeys/
tests.sh 28 "$RNDC" -c ../_common/rndc.conf -p "${CONTROLPORT}" -s "$@"
146 mkeys_status_on 2 >rndc.out.$n 2>&1 || ret=1
148 count=$(grep -c "keyid: " rndc.out.$n) || true
151 count=$(grep -c "trust" rndc.out.$n) || true
154 count=$(grep -c "trusted since" rndc.out.$n) || true
157 count=$(grep -c "trust pending" rndc.out.$n) || true
166 mkeys_status_on 3 >rndc.out.$n 2>&1 || ret=1
168 count=$(grep -c "keyid: " rndc.out.$n) || true
171 count=$(grep -c "trust" rndc.out.$n) || tru
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/nta/
tests_nta.py 58 response = ns4.rndc("secroots -")
72 response = ns4.rndc("nta -l '' foo", raise_on_exception=False)
76 response = ns4.rndc("nta -l garbage foo", raise_on_exception=False)
80 response = ns4.rndc("nta -l 7d1h foo", raise_on_exception=False)
88 ns4.rndc("nta -f -l 20s bogus.example")
89 ns4.rndc("nta badds.example")
94 response = ns4.rndc("nta -d")
97 ns4.rndc("nta secure.example")
98 ns4.rndc("nta fakenode.secure.example")
100 ns4.rndc("reload"
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/xfer/
tests_retransfer_with_force.py 29 ns6.rndc("retransfer axfr-rndc-retransfer-force.")
32 "axfr-rndc-retransfer-force", "10.53.0.1", "received", named_port
43 ns6.rndc("retransfer -force axfr-rndc-retransfer-force.")
46 "axfr-rndc-retransfer-force",
55 "axfr-rndc-retransfer-force",
66 ns6.rndc("retransfer axfr-min-transfer-rate.")
73 ns6.rndc("retransfer axfr-max-transfer-time.")
tests_retransfer_with_transferstuck.py 33 ns6.rndc("retransfer -force axfr-max-idle-time.")
  /src/external/mpl/bind/dist/bin/tests/system/checkconf/
good-quoted-key-names.conf 5 key rndc-key {
16 inet 127.0.0.1 port 953 allow { any; } keys { "rndc-key"; rndc_key; };
bad-controls-duplicate.conf 14 key rndc-key {
25 inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; };
  /src/external/mpl/bind/dist/bin/tests/system/resolver/
tests_resolver.py 20 ns1.rndc("flush")
30 cmd = ns1.rndc("reload", raise_on_exception=False)
36 ns1.rndc("reload")
  /src/external/mpl/bind/dist/bin/tests/system/logfileconfig/
tests.sh 41 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
52 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
65 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
82 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
92 stop_server --use-rndc --port ${CONTROLPORT} ns1
102 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
113 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
126 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
143 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$n
156 rndc_reconfig ns1 10.53.0.1 >rndc.out.test$
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/database/
tests_database.py 33 ns1.rndc("reload")
  /src/external/mpl/bind/dist/bin/tests/system/randomizens/
tests_randomizens.py 18 ns.rndc("flush")
  /src/external/mpl/bind/dist/bin/tests/system/nsec3/
tests_nsec3_reload.py 49 ns3.rndc(f"reload {zone}")
  /src/external/mpl/bind/dist/bin/tests/system/keepalive/
tests_keepalive.py 23 ns2.rndc("stats")
58 response = ns2.rndc("tcp-timeouts 300 300 300 200")
  /src/external/mpl/bind/dist/bin/tests/system/rndc/
tests.sh 21 RNDCCMD="$RNDC -p ${CONTROLPORT} -c ../_common/rndc.conf -s"
49 echo_i "rndc freeze"
88 echo_i "rndc thaw"
107 echo_i "rndc sync"
147 echo_i "rndc sync -clean"
217 $RNDCCMD 10.53.0.2 freeze static >rndc.out.1.test$n 2>&1 && ret=1
218 grep 'not dynamic' rndc.out.1.test$n >/dev/null || ret=1
323 $RNDC -s 10.53.0.2 -p ${CONTROLPORT} -c ns2/secondkey.conf status >/dev/null || ret=1
328 echo_i "test 'rndc dumpdb' with an unwritable dump-file ($n)
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/cap_glues/
tests_cap_glues.py 20 ns3.rndc("dumpdb -cache")

Completed in 50 milliseconds

1 2 3 4