A Blockchain-based Domain Name System for Private Network using SyncRaft
This project implements a blockchain network using the SyncRaft consensus algorithm. SyncRaft is a consensus algorithm that maintains the consistency of a blockchain network through a single synchronizer node. This ensures network consistency while allowing each node to add new blocks.
- Synchronizer node election
- Heartbeat detection for consistency check
- Adding new blocks
- Handling synchronizer failure
- Domain name to IP mapping
- Domain name ownership
- Python 3.x
- Requests library
Clone this repository:
git clone https://github.com/xiaoZ857/FYP-Be-DNS.git
-
Start multiple apps with different ports.
-
Use the provided API endpoints to interact with the blockchain network, such as adding new bindings or querying existing bindings.
-
Use the HTML to interact with the network.