From 129f696a650ec67e970d5c0ce2bc3afd32e74fa4 Mon Sep 17 00:00:00 2001 From: Luna Yao <40349250+ZnqbuZ@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:28:53 +0100 Subject: [PATCH] proto: remove ttl from ZoneData --- easytier/src/proto/dns.proto | 5 ++--- easytier/src/proto/dns.rs | 4 ---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/easytier/src/proto/dns.proto b/easytier/src/proto/dns.proto index b94afe99..78ff73ba 100644 --- a/easytier/src/proto/dns.proto +++ b/easytier/src/proto/dns.proto @@ -7,9 +7,8 @@ package dns; message ZoneData { common.UUID id = 1; string origin = 2; - uint32 ttl = 3; - repeated string records = 4; - repeated common.Url forwarders = 5; + repeated string records = 3; + repeated common.Url forwarders = 4; } message GetExportConfigRequest {} diff --git a/easytier/src/proto/dns.rs b/easytier/src/proto/dns.rs index 8363ee2e..9fd220c3 100644 --- a/easytier/src/proto/dns.rs +++ b/easytier/src/proto/dns.rs @@ -22,10 +22,6 @@ impl Display for ZoneData { } writeln!(f)?; - writeln!(f, "$TTL {}", self.ttl)?; - - writeln!(f)?; - for record in &self.records { writeln!(f, "{}", record)?; }