mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-03 17:45:44 +00:00
remove id from zone
This commit is contained in:
@@ -5,12 +5,11 @@ import "common.proto";
|
||||
package dns;
|
||||
|
||||
message ZoneData {
|
||||
common.UUID id = 1;
|
||||
string origin = 2;
|
||||
uint32 ttl = 3;
|
||||
repeated string records = 4;
|
||||
repeated common.Url forwarders = 5;
|
||||
bool fallthrough = 6;
|
||||
string origin = 1;
|
||||
uint32 ttl = 2;
|
||||
repeated string records = 3;
|
||||
repeated common.Url forwarders = 4;
|
||||
bool fallthrough = 5;
|
||||
}
|
||||
|
||||
message GetExportConfigRequest {}
|
||||
|
||||
@@ -14,7 +14,6 @@ impl Display for ZoneData {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
writeln!(f, "; EasyTier Magic DNS zone data")?;
|
||||
writeln!(f, "; https://github.com/easytier/easytier")?;
|
||||
writeln!(f, "; {}", self.id.unwrap_or_default())?;
|
||||
|
||||
if !self.forwarders.is_empty() {
|
||||
writeln!(f, "; Forwarders:")?;
|
||||
|
||||
Reference in New Issue
Block a user