mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 08:45:32 +00:00
WebServiceZonesApi: updated API for ECS support.
This commit is contained in:
@@ -840,6 +840,13 @@ namespace DnsServerCore
|
||||
jsonWriter.WritePropertyName("dnssecStatus");
|
||||
jsonWriter.WriteValue(record.DnssecStatus.ToString());
|
||||
|
||||
NetworkAddress eDnsClientSubnet = recordInfo.EDnsClientSubnet;
|
||||
if (eDnsClientSubnet is not null)
|
||||
{
|
||||
jsonWriter.WritePropertyName("eDnsClientSubnet");
|
||||
jsonWriter.WriteValue(eDnsClientSubnet.ToString());
|
||||
}
|
||||
|
||||
jsonWriter.WritePropertyName("lastUsedOn");
|
||||
jsonWriter.WriteValue(recordInfo.LastUsedOn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user