if this dns record is not exits.create the dns record.

This commit is contained in:
2023-07-16 23:50:15 +08:00
parent ee85ccc8b9
commit 801061f4f2
9 changed files with 133 additions and 38 deletions
+13 -2
View File
@@ -13,6 +13,17 @@ public class DnsRecord
public string Host { get; set; }
public string SubDomain { get; set; }
public string Domain { get; set; }
public string TTL { get; set; }
public string RecordType { get; set; }
public string TTL { get; set; } = "10";
public string RecordType { get; set; } = "A";
public DnsRecord(string ip,string domain)
{
Ip = ip;
Host = domain;
}
public DnsRecord()
{
}
}