No description
- Python 63.7%
- Shell 35.6%
- Dockerfile 0.7%
| test | ||
| .gitignore | ||
| bridge_p2p.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| nodo_core_p2p.py | ||
| p2p.py | ||
| readme.md | ||
| requirements.txt | ||
| test.sh | ||
P2P DNS Mesh Network
Sistema DNS decentralizzato per risoluzione domini .p2p su rete mesh.
Architettura
- nodo_core_p2p.py: Logica mesh, gestione DB, sync peer (TCP/UDP 6000).
- bridge_p2p.py: Server DNS interfaccia UDP 5053. Risolve .p2p localmente, inoltra altro a 9.9.9.9.
- p2p.py: CLI per gestione processi[cite: 2].
Requisiti
- Python 3.9+
- dnslib
Installazione
pip install -r requirements.txt
Utilizzo CLI (p2p.py)
- Avvio: python p2p.py start
- Stato: python p2p.py status
- Registra: python p2p.py add <dominio.p2p>
- Lista: python p2p.py list
- Stop: python p2p.py stop
Configurazione Client
Impostare DNS su:
- IP: 127.0.0.1
- Porta: 5053
Docker
- Test: ./test.sh (Genera config e avvia cluster)
- Manuale: docker-compose up --build