Merge with Ipv6 contribution
This commit is contained in:
commit
df5da7b015
35 changed files with 2893 additions and 158 deletions
|
@ -603,11 +603,12 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
private static void FillWebServerBindings(List<ServerBinding> bindings, List<GlobalDnsRecord> dnsRecords,
|
||||
string ipAddr, string domainName)
|
||||
// TODO test if IPv6 works
|
||||
{
|
||||
int bindingsCount = bindings.Count;
|
||||
foreach (GlobalDnsRecord dnsRecord in dnsRecords)
|
||||
{
|
||||
if (dnsRecord.RecordType == "A" &&
|
||||
if ((dnsRecord.RecordType == "A" || dnsRecord.RecordType == "AAAA") &&
|
||||
dnsRecord.RecordName != "*")
|
||||
{
|
||||
string recordData = dnsRecord.RecordName +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue