Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

FEATURE: Sync DNS servers #175

Open
0xnim opened this issue Jun 6, 2024 · 8 comments
Open

FEATURE: Sync DNS servers #175

0xnim opened this issue Jun 6, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@0xnim
Copy link

0xnim commented Jun 6, 2024

Is your feature request related to a problem? Please describe.
The current webxDNS system can only be run by itself.

Describe the solution you'd like
There should be a sync between webxDNS servers.
The solution that I came up from the top of my head is by having something like Zone files and syncing those from the main server.
This would also allow subdomains and other features to be implemented easily.

Describe alternatives you've considered
Another solution which is easier but not good for the long term. Just having DNS servers request /domains until they get all of them, and do this every x hrs or something.

Additional context
I will likely implement this.

@0xnim 0xnim added the enhancement New feature or request label Jun 6, 2024
@0xnim
Copy link
Author

0xnim commented Jun 6, 2024

I will get on this probably.

@KubaPro010
Copy link

The best and easiest way to do it live would be websockets.

@0xnim
Copy link
Author

0xnim commented Jun 6, 2024

Why do you think websockets would be a good alternative?

@0xnim
Copy link
Author

0xnim commented Jun 7, 2024

This PR Implements it using the alternative way.

@0xnim
Copy link
Author

0xnim commented Jun 7, 2024

And on startup.

@KubaPro010
Copy link

Why do you think websockets would be a good alternative?

because they're a full-duplex conection, meaning you can send anything live with them, and if you lose connection then you could go to /domains

@0xnim
Copy link
Author

0xnim commented Jun 7, 2024

The PR i submitted works pretty well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@0xnim @KubaPro010 and others