mx ns scheduler task initial commit
This commit is contained in:
parent
ffca6a8535
commit
11ed35f0f9
24 changed files with 4970 additions and 1421 deletions
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using WebsitePanel.Providers.DNS;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DnsRecordInfo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int DomainId { get; set; }
|
||||
public string DnsServer { get; set; }
|
||||
public DnsRecordType RecordType { get; set; }
|
||||
public string Value { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DomainChanges
|
||||
{
|
||||
public string Domain { get; set; }
|
||||
|
||||
public List<DomainDnsRecordsChanges> MxChanges { get; set; }
|
||||
public List<DomainDnsRecordsChanges> NsChanges { get; set; }
|
||||
|
||||
public DomainChanges()
|
||||
{
|
||||
MxChanges = new List<DomainDnsRecordsChanges>();
|
||||
NsChanges = new List<DomainDnsRecordsChanges>();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DomainDnsRecordCompare
|
||||
{
|
||||
public DnsRecordInfo DbRecord { get; set; }
|
||||
public DnsRecordInfo DnsRecord { get; set; }
|
||||
public DomainDnsRecordStatuses Status { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public enum DomainDnsRecordStatuses
|
||||
{
|
||||
NotChanged,
|
||||
Removed,
|
||||
Added
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.DomainLookup
|
||||
{
|
||||
public class DomainDnsRecordsChanges
|
||||
{
|
||||
public string DnsServer { get; set; }
|
||||
|
||||
public bool IsChanged { get; set; }
|
||||
|
||||
public List<DomainDnsRecordCompare> DnsRecordsCompare { get; set; }
|
||||
|
||||
public DomainDnsRecordsChanges()
|
||||
{
|
||||
DnsRecordsCompare = new List<DomainDnsRecordCompare>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue