Skip to content

Commit

Permalink
Removes UpdateZoneFile option.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanedwardes committed Feb 11, 2024
1 parent a194913 commit afe2d61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion misc/Ae.Dns.Console/DnsConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public sealed class DnsConfiguration
public string? DhcpdConfigFile { get; set; }
public string? DhcpdLeasesHostnameSuffix { get; set; }
public string? UpdateZoneName { get; set; }
public string? UpdateZoneFile { get; set; }
public DnsInfluxDbConfiguration? InfluxDbMetrics { get; set; }
public Dictionary<string, string[]> ClientGroups { get; set; } = new Dictionary<string, string[]>();
}
Expand Down
2 changes: 1 addition & 1 deletion misc/Ae.Dns.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async Task ReportStats(CancellationToken token)

IDnsClient updateClient = DnsNotImplementedClient.Instance;

if (dnsConfiguration.UpdateZoneName != null && dnsConfiguration.UpdateZoneFile != null)
if (dnsConfiguration.UpdateZoneName != null)
{
var zoneFile = $"{dnsConfiguration.UpdateZoneName}.zone";

Expand Down

0 comments on commit afe2d61

Please sign in to comment.