mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-07 13:09:46 +00:00
proto: remove ttl from ZoneData
This commit is contained in:
@@ -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 {}
|
||||
|
||||
@@ -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)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user