The present invention provides a blockchain-based decentralized root domain name service method and system, wherein the method includes: setting the blockchain-based decentralized root domain name service system includes: N local subsystems, each local subsystem The system includes at least M clients, a local server cluster and a local root server; wherein, the local server cluster includes S servers; the consortium chain, the consortium chain includes local root servers in each local subsystem; in any local subsystem, Execute the top-level domain name change process between any client, the local root server and the alliance chain; execute the domain name resolution process between any client, the local server cluster, and the local root server; execute the root server password between the local root server and the alliance chain. Key change process. In this way, it can not rely on centralized network nodes (servers), so as to realize the independence of network sovereignty of all countries, and realize an independent, controllable, and equal interconnected network world.