const std = @import("std"); const util = @import("util.zig"); const mdns = @import("mdns.zig"); const hosts = @import("hosts.zig"); pub fn main() !void { try util.check_perms(); const domain, const ip_ver = try util.get_input(); const ips = try mdns.get_mdns(domain, ip_ver); try hosts.update_hosts(ips); }