proto: remove ttl from ZoneData

This commit is contained in:
Luna Yao
2026-02-20 22:28:53 +01:00
parent 90409bfcaa
commit 129f696a65
2 changed files with 2 additions and 7 deletions
+2 -3
View File
@@ -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 {}
-4
View File
@@ -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)?;
}