Home | History | Annotate | Download | only in isctest

Lines Matching refs:rndc

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:
188 Send `command` to this named instance using RNDC. Return the server's
200 Connect a Python RNDC client to this instance's control channel;
201 a fast alternative to `rndc()` which does not spawn the rndc
209 with RNDCClient(self.ip, self.ports.rndc, timeout=timeout) as client:
241 cmd = self.rndc("reconfig", **kwargs)
250 cmd = self.rndc("reload", **kwargs)