9baf21295da8fb4d8d0d192252a5817b3c4eeeff
services/RPKI.md
| ... | ... | @@ -58,4 +58,34 @@ services: |
| 58 | 58 | - "8082:8282" |
| 59 | 59 | command: > |
| 60 | 60 | -cache https://dn42.burble.com/roa/dn42_roa_46.json |
| 61 | +``` |
|
| 62 | + |
|
| 63 | +### Using Kioubit's DN42 Registry Wizard |
|
| 64 | + |
|
| 65 | +[DN42 Registry Wizard](https://github.com/Kioubit/dn42_registry_wizard) is a comprehensive tool for DN42 registry interactions. **Unlike other solutions, it can parse the registry and host an RTR server all-in-one** without requiring separate components. |
|
| 66 | + |
|
| 67 | +#### All-in-One RTR Server |
|
| 68 | + |
|
| 69 | +```sh |
|
| 70 | +# Clone the DN42 registry |
|
| 71 | +git clone https://git.dn42.dev/dn42/registry.git |
|
| 72 | + |
|
| 73 | +# Start RTR server directly from registry |
|
| 74 | +./registry_wizard <path to registry> rtr |
|
| 75 | + |
|
| 76 | +# Setup a cronjob to continously update the registry and notify registry_wizard |
|
| 77 | +git fetch --all |
|
| 78 | +git reset --hard origin/master |
|
| 79 | +kill -SIGUSR1 "$(pidof 'registry_wizard')" |
|
| 80 | +``` |
|
| 81 | + |
|
| 82 | +``` |
|
| 83 | +Usage: registry_wizard <registry_root> rtr [OPTIONS] |
|
| 84 | + |
|
| 85 | +Options: |
|
| 86 | + -p, --port <port> Port to listen on [default: 9323] |
|
| 87 | + --refresh <refresh> RTR refresh timing [default: 3600] |
|
| 88 | + --expire <expire> RTR expire timing [default: 7200] |
|
| 89 | + --retry <retry> RTR retry timing [default: 600] |
|
| 90 | + -h, --help Print help |
|
| 61 | 91 | ``` |
| ... | ... | \ No newline at end of file |