mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-01 14:30:34 +00:00
AuthZoneInfo: added GetPrimaryNameServerAddresses() and GetSecondaryNameServerAddresses().
This commit is contained in:
@@ -161,6 +161,22 @@ namespace DnsServerCore.Dns.Zones
|
||||
}
|
||||
}
|
||||
|
||||
public IReadOnlyList<NameServerAddress> GetPrimaryNameServerAddresses(DnsServer dnsServer)
|
||||
{
|
||||
if (_zone == null)
|
||||
throw new InvalidOperationException();
|
||||
|
||||
return _zone.GetPrimaryNameServerAddresses(dnsServer);
|
||||
}
|
||||
|
||||
public IReadOnlyList<NameServerAddress> GetSecondaryNameServerAddresses(DnsServer dnsServer)
|
||||
{
|
||||
if (_zone == null)
|
||||
throw new InvalidOperationException();
|
||||
|
||||
return _zone.GetSecondaryNameServerAddresses(dnsServer);
|
||||
}
|
||||
|
||||
public void WriteTo(BinaryWriter bW)
|
||||
{
|
||||
if (_zone == null)
|
||||
|
||||
Reference in New Issue
Block a user