There are 4 things that are happening:
- When creating a new space, it creates the DNS zone with the "system template" of predefined A records just fine, but has an error in the event logs:
[1/10/2020 9:39:58 AM] WARNING: SimpleDNS 8 API Call (GET) Failed - Zone not found
[1/10/2020 9:39:58 AM] WARNING: SimpleDNS 8 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record
2) When creating an email account, it does not create all the predefined MX, SRV, CNAME records in the "mailserver template" and I get this error in the event log:
[1/10/2020 9:46:15 AM] ERROR: 'SimpleDNS Plus 8.x' AddZoneRecords
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SolidCP.Providers.DNS.SimpleDNS80.Models.Response.ZoneRecordsResponseExtensions.ToZoneRecordsResponse(DnsRecord record, Int32 minimumTTL, String zoneName)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at SolidCP.Providers.DNS.SimpleDNS8.AddZoneRecords(String zoneName, DnsRecord[] records)
at SolidCP.Server.DNSServer.AddZoneRecords(String zoneName, DnsRecord[] records)
> so the current workaround is to manually input the MX records, SRV, and CNAMEs
3) When deleting a space, it does not delete the domain out of Simple DNS 8 and does not have any error messages. I have to manually go in there to delete the domain.
4) When trying to edit the SOA record, i get this error:
Stack Trace:
System.ArgumentOutOfRangeException: 'ddlRecordType' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
at System.Web.UI.WebControls.ListControl.set_SelectedValue(String value)
at SolidCP.Portal.DnsZoneRecords.BindDnsRecord(Int32 recordIndex)
what solidcp version supports simpleDNS v8?
V1.4.4 works with SimpleDNS 8 but you will need to hack it to use v1 API. Currently the v2 API is buggy and doesn't fully automate process like v1 API.
To do this, setup SimpleDNS 8 server in the GUI, then go into the database and edit table dbo.Services and change the providerID from 1901 to 1703 to run the SimpleDNS 6.x provider.
In simpleDNS go to Tools > Options >HTTP API > Enable the HTTP API v1
Hello,
We have released v1.4.6 which does fix alot of the SimpleDNS 8 issues. Please try this and let us know if you have any feedback.
Regards,
Trevor
Version 1.4.6 works great with SimpleDNS 8 v2 API