Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleDNS Plus 9.x Provider not creating NS records #217

Open
enguard1 opened this issue Dec 18, 2024 · 19 comments
Open

SimpleDNS Plus 9.x Provider not creating NS records #217

enguard1 opened this issue Dec 18, 2024 · 19 comments
Labels
bug Something isn't working

Comments

@enguard1
Copy link

We have 4 NS records that were previously created with the SimpleDNS Plus 8.x Provider:

NS1.ENGUARD.COM
NS2.ENGUARD.COM
NS3.ENGUARD.COM
NS4.ENGUARD.COM

The 9.x Provider only creates ONE NS record: NS1.ENGUARD.COM
Screenshot 2024-12-18 at 3 15 37 PM
Screenshot 2024-12-18 at 3 16 16 PM

@FuseCP-TRobinson
Copy link
Member

Hello,

Name servers should just be added in the list of name servers and not in the DNS Records.

I have confirmed when they only appear in name servers list it works correctly

image
image

@enguard1
Copy link
Author

enguard1 commented Dec 19, 2024

OK I removed the DNS records and it is still only creating one. What am I missing here?
Screenshot 2024-12-19 at 6 24 26 AM
Screenshot 2024-12-19 at 6 25 18 AM

Screenshot 2024-12-19 at 6 25 04 AM

@enguard1
Copy link
Author

The thing is, with the SimpleDNS Plus 8.x Provider, I HAVE TO specify the DNS records for it to create it.

@enguard1
Copy link
Author

Here's my settings, please let me know if I need to change anything.
Screenshot 2024-12-19 at 6 42 40 AM
Screenshot 2024-12-19 at 6 42 12 AM

@FuseCP-TRobinson
Copy link
Member

Can you try create a new test hosting space under server admin with a test domain to see if it reacts the same?

@enguard1
Copy link
Author

The users are all under serveradmin, we don't use resellers. I am logged in as serveradmin when I test this.

Screenshot 2024-12-19 at 7 26 41 AM

@enguard1
Copy link
Author

Found 2 errors in the Event Viewer upon creation of the space:

[12/19/2024 9:33:34 AM] WARNING: SimpleDNS 9 API Call (GET) Failed - Zone not found
[12/19/2024 9:33:34 AM] WARNING: SimpleDNS 9 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record

@FuseCP-TRobinson
Copy link
Member

Checking into this and unable to recreate the issue. However some settings can be carried over in the hosting plan which is why i recommend making a whole new space for the demo to check thats not a issue.

Found 2 errors in the Event Viewer upon creation of the space:

[12/19/2024 9:33:34 AM] WARNING: SimpleDNS 9 API Call (GET) Failed - Zone not found [12/19/2024 9:33:34 AM] WARNING: SimpleDNS 9 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record

Those errors are normal as its checking the zone doesnt already exist.

You should see a UpdateSOARecord event and then one like this:

INFO: AddZoneRecords: JSON content zone: simplendns01a.local data: [{"Name":"simplendns01a.local","Type":"NS","TTL":86406,"Data":"ns1.nameserver.com."},{"Name":"simplendns01a.local","Type":"NS","TTL":86406,"Data":"ns2.nameserver.com."},{"Name":"simplendns01a.local","Type":"NS","TTL":86406,"Data":"ns3.nameserver.com."},{"Name":"simplendns01a.local","Type":"NS","TTL":86406,"Data":"ns4.nameserver.com."}]

I presume yours just shows the single NS server?

@enguard1
Copy link
Author

I created a new virtual server and new hosting plan, still does not work.

Here is the verbose output in event viewer:

[12/20/2024 8:36:00 AM] START: 'SimpleDNS Plus 9.x' ZoneExists
[12/20/2024 8:36:00 AM] WARNING: SimpleDNS 9 API Call (GET) Failed - Zone not found
[12/20/2024 8:36:00 AM] END: 'SimpleDNS Plus 9.x' ZoneExists
[12/20/2024 8:36:00 AM] START: 'SimpleDNS Plus 9.x' AddPrimaryZone
[12/20/2024 8:36:00 AM] END: 'SimpleDNS Plus 9.x' AddPrimaryZone
[12/20/2024 8:36:00 AM] START: 'SimpleDNS Plus 9.x' UpdateSoaRecord
[12/20/2024 8:36:00 AM] END: 'SimpleDNS Plus 9.x' UpdateSoaRecord
[12/20/2024 8:36:00 AM] START: 'SimpleDNS Plus 9.x' AddZoneRecords
[12/20/2024 8:36:00 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":"demo.com","Type":"NS","TTL":3600,"Data":"ns1.enguard.com."},{"Name":"demo.com","Type":"NS","TTL":3600,"Data":"ns2.enguard.com."},{"Name":"demo.com","Type":"NS","TTL":3600,"Data":"ns3.enguard.com."},{"Name":"demo.com","Type":"NS","TTL":3600,"Data":"ns4.enguard.com."}]
[12/20/2024 8:36:00 AM] WARNING: SimpleDNS 9 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record
[12/20/2024 8:36:00 AM] END: 'SimpleDNS Plus 9.x' AddZoneRecords
[12/20/2024 8:36:01 AM] START: 'SimpleDNS Plus 9.x' GetZoneRecords
[12/20/2024 8:36:01 AM] END: 'SimpleDNS Plus 9.x' GetZoneRecords
[12/20/2024 8:36:01 AM] START: 'SimpleDNS Plus 9.x' AddZoneRecords
[12/20/2024 8:36:01 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":"demo.com","Type":"A","TTL":3600,"Data":"12.218.13.189"},{"Name":"www.demo.com","Type":"A","TTL":3600,"Data":"12.218.13.189"}]
[12/20/2024 8:36:01 AM] END: 'SimpleDNS Plus 9.x' AddZoneRecords
[12/20/2024 8:36:01 AM] START: 'SimpleDNS Plus 9.x' GetZoneRecords
[12/20/2024 8:36:01 AM] END: 'SimpleDNS Plus 9.x' GetZoneRecords
[12/20/2024 8:36:01 AM] START: 'SimpleDNS Plus 9.x' AddZoneRecords
[12/20/2024 8:36:01 AM] END: 'SimpleDNS Plus 9.x' AddZoneRecords

@enguard1
Copy link
Author

Verbose output of SimpleDNS Plus 8.x Provider that DOESNT WORK:

[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' ZoneExists
[12/20/2024 8:41:27 AM] WARNING: SimpleDNS 8 API Call (GET) Failed - Zone not found
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' ZoneExists
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' AddPrimaryZone
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' AddPrimaryZone
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' UpdateSoaRecord
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' UpdateSoaRecord
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:41:27 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"NS","Data":"ns1.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns2.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns3.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns4.enguard.com."}]
[12/20/2024 8:41:27 AM] WARNING: SimpleDNS 8 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:41:27 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"A","Data":"12.218.13.189"},{"Name":"www.demo.com","Type":"A","Data":"12.218.13.189"}]
[12/20/2024 8:41:27 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"A","Data":"12.218.13.189"},{"Name":"www.demo.com","Type":"A","Data":"12.218.13.189"}]
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:41:27 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:41:27 AM] END: 'SimpleDNS Plus 8.x' AddZoneRecords

@enguard1
Copy link
Author

Verbose output of SimpleDNS Plus 8.x Provider with DNS Records that DOES WORK:

[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' ZoneExists
[12/20/2024 8:46:08 AM] WARNING: SimpleDNS 8 API Call (GET) Failed - Zone not found
[12/20/2024 8:46:08 AM] END: 'SimpleDNS Plus 8.x' ZoneExists
[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' AddPrimaryZone
[12/20/2024 8:46:08 AM] END: 'SimpleDNS Plus 8.x' AddPrimaryZone
[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' UpdateSoaRecord
[12/20/2024 8:46:08 AM] END: 'SimpleDNS Plus 8.x' UpdateSoaRecord
[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:46:08 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"NS","Data":"ns1.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns2.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns3.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns4.enguard.com."}]
[12/20/2024 8:46:08 AM] WARNING: SimpleDNS 8 API Call (PATCH) Failed - Patch item 1 conflicts with existing/previous record
[12/20/2024 8:46:08 AM] END: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:46:08 AM] END: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:46:08 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:46:08 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"A","Data":"12.218.13.189"},{"Name":"www.demo.com","Type":"A","Data":"12.218.13.189"}]
[12/20/2024 8:46:09 AM] END: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:46:09 AM] START: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:46:09 AM] END: 'SimpleDNS Plus 8.x' GetZoneRecords
[12/20/2024 8:46:09 AM] START: 'SimpleDNS Plus 8.x' AddZoneRecords
[12/20/2024 8:46:09 AM] INFO: AddZoneRecords: JSON content zone: demo.com
data: [{"Name":".demo.com","Type":"NS","Data":"ns2.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns3.enguard.com."},{"Name":".demo.com","Type":"NS","Data":"ns4.enguard.com."}]
[12/20/2024 8:46:09 AM] END: 'SimpleDNS Plus 8.x' AddZoneRecords

@enguard1
Copy link
Author

I found out where to fix this on the SimpleDNS Plus side: Tools > Default Zone Values > Secondary DNS servers tab

Screenshot 2024-12-20 at 9 03 07 AM
Screenshot 2024-12-20 at 9 03 42 AM

@FuseCP-TRobinson
Copy link
Member

Its strange you have a error for setting the nameservers.

I checked ours and the default settings show no nameservers

image

If i make a new zone in SimpleDNS 9 UI it shows this:

image

Maybe yours sets the ns01 record?

@enguard1
Copy link
Author

enguard1 commented Dec 20, 2024

We are running Simple DNS Plus in a master slave configuration with 4 DNS servers at 4 datacenters. Maybe it behaves differently in this configuration vs a single DNS server?

@enguard1
Copy link
Author

Screenshot 2024-12-20 at 3 25 46 PM
Screenshot 2024-12-20 at 3 25 32 PM

@FuseCP-TRobinson
Copy link
Member

Ok i see the problem now when i set the host name to match the same as the ns1 address

@FuseCP-TRobinson FuseCP-TRobinson added the bug Something isn't working label Dec 20, 2024
@enguard1
Copy link
Author

The workaround for me right now is to have a primary name server set in SolidCP
Screenshot 2024-12-20 at 4 02 42 PM

Secondary DNS servers set in Default Zone Values in SimpleDNS Plus:
Screenshot 2024-12-20 at 4 02 49 PM

And everything is created successfuly in SimpleDNS Plus.
Screenshot 2024-12-20 at 4 04 05 PM

@FuseCP-TRobinson
Copy link
Member

For your secondary servers do you use the super master/slave options in SimpleDNS?

@enguard1
Copy link
Author

enguard1 commented Dec 23, 2024

Yes I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants