Skip to content

Domain DNS is pointed uncorrectly but subdomain is ? #1258

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

Open
lucastucious opened this issue Mar 28, 2025 · 3 comments
Open

Domain DNS is pointed uncorrectly but subdomain is ? #1258

lucastucious opened this issue Mar 28, 2025 · 3 comments

Comments

@lucastucious
Copy link

Hello. I'm trying to setup a server, and I was able to add subdomain.domain to domains tab, and DNS were good.

But now I want to add classic domain to it but it say it's not pointed correctly... Nothing more.

When I retry even the subdomain, it says the DNS are not pointed correctly... But it works.

How can I have more logs tu track if it's DNS issue or swiftwave issue ?

Tried :

  • restarting host
  • restarting swiftwave service
  • removing and re-addind the domains entries
@lucastucious lucastucious changed the title Domain DNS is pointed correctly but subdomain is ? Domain DNS is pointed uncorrectly but subdomain is ? Mar 28, 2025
@tanmoysrt
Copy link
Member

tanmoysrt commented Mar 28, 2025

So swiftwave do a very basic check.

It send a http request to your domain

http://<domain>/.well-known/pre-authorize

If it returns OK, that means swiftwave can verify it. You can try that yourself, what's the response you are getting.


Common problems can be -

  • Local DNS Cache on Deployed Swiftwave Server
  • Proxy Not running. In your case, that's probably not the issue because you are able to add one subdomain already.
  • If you are using Cloudflare DNS, ensure to use DNS Only mode.

If you still not able to resolve the issue, give some more info on the issue. Some steps to replicate.

@tanmoysrt tanmoysrt transferred this issue from swiftwave-org/dashboard Mar 28, 2025
@lucastucious
Copy link
Author

lucastucious commented Mar 28, 2025

The thing is, subdomain is just a CNAME rule of the domain.

When I enter http://<domain>/.well-known/pre-authorize I get an error 400

Does the DNS cache destroyed when the service/host restart ?

@tanmoysrt
Copy link
Member

tanmoysrt commented Mar 28, 2025

Does the DNS cache destroyed when the service/host restart ?

It completely managed by OS, swiftwave doesn't interfare with that.

You can SSH to server and do dig <domain> or dig CNAME <domain> to check the entry.

Usually it gets destroyed once TTL set by your DNS provider come to 0. You can clearn it up in many way, but that completely depends on your OS and the software running for DNS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants