mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-02 17:15:43 +00:00
proto: remove ttl from ZoneData
This commit is contained in:
@@ -7,9 +7,8 @@ package dns;
|
|||||||
message ZoneData {
|
message ZoneData {
|
||||||
common.UUID id = 1;
|
common.UUID id = 1;
|
||||||
string origin = 2;
|
string origin = 2;
|
||||||
uint32 ttl = 3;
|
repeated string records = 3;
|
||||||
repeated string records = 4;
|
repeated common.Url forwarders = 4;
|
||||||
repeated common.Url forwarders = 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetExportConfigRequest {}
|
message GetExportConfigRequest {}
|
||||||
|
|||||||
@@ -22,10 +22,6 @@ impl Display for ZoneData {
|
|||||||
}
|
}
|
||||||
writeln!(f)?;
|
writeln!(f)?;
|
||||||
|
|
||||||
writeln!(f, "$TTL {}", self.ttl)?;
|
|
||||||
|
|
||||||
writeln!(f)?;
|
|
||||||
|
|
||||||
for record in &self.records {
|
for record in &self.records {
|
||||||
writeln!(f, "{}", record)?;
|
writeln!(f, "{}", record)?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user