feature: Bootstrapper secure server discovery
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Disco.Services.Interop.DNS
|
||||
{
|
||||
public abstract class DnsRecord
|
||||
{
|
||||
public string Name { get; }
|
||||
public DnsRecordType Type { get; }
|
||||
public TimeSpan TimeToLive { get; }
|
||||
public string Content { get; }
|
||||
|
||||
protected DnsRecord(string name, DnsRecordType type, TimeSpan timeToLive, string content)
|
||||
{
|
||||
Name = name;
|
||||
Type = type;
|
||||
TimeToLive = timeToLive;
|
||||
Content = content;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user