Get DNS compiling again, migrate the commands from CLI to RPC server