Compare commits

..

1 commit

Author SHA1 Message Date
6ca7348391
refactor(nsupdate): send all commands at once
Some checks failed
/ build (push) Successful in 1m6s
/ check (clippy) (push) Failing after 11s
/ check (module-ipv4-only-test) (push) Successful in 30s
/ check (module-ipv4-test) (push) Successful in 29s
/ check (module-ipv6-only-test) (push) Successful in 29s
/ check (module-ipv6-test) (push) Successful in 28s
/ check (module-nginx-test) (push) Successful in 30s
/ check (nextest) (push) Successful in 3s
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 7s
This ensures `nsupdate` is only called once per IP update (even for both
IPv4 and IPv6 in a single call).
2025-02-05 22:40:17 +01:00

View file

@ -1,5 +1,6 @@
use std::{ use std::{
ffi::OsStr, ffi::OsStr,
io::Write,
net::IpAddr, net::IpAddr,
path::Path, path::Path,
process::{ExitStatus, Stdio}, process::{ExitStatus, Stdio},