# Rebuild-DNDC

Rebuild-DNDC is a unRAID utility that monitors a master container (typically a VPN client) and automatically re-creates dependent containers that share its network stack during updates, restarts, and host reboots. It is open source and self-hosted, installable on Unraid and Docker Hub.

Canonical page: https://ourlocalhost.com/app/1259/rebuild-dndc

## Description

Rebuild-DNDC is a unRAID utility that monitors a master container (typically a VPN client) and automatically re-creates dependent containers that share its network stack during updates, restarts, and host reboots.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

51/100 (Fair), based on 4 of 4 factors.
- Maintained: 66 (last commit 66 days ago)
- Popular: 28 (24 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 70 (1 GB minimum RAM)

## Links

- Unraid: https://ca.unraid.net/apps/rebuild-dndc-027487u0szzpyu?q=Rebuild-DNDC
- Docker Hub: https://hub.docker.com/r/eafxx/rebuild-dndc

## Common questions

### What network configuration is required for Rebuild-DNDC to manage dependent containers?

Create a Docker network named container:lowercase_master_container_name and attach dependent containers to it, or add --net=container:lowercase_master_container_name to extra parameters. The master container name must be all lower case.

### In what order should the VPN, dependent containers, and Rebuild-DNDC start?

Start the VPN/master container first, start the routed containers next, and start Rebuild-DNDC after them. Use a short startup delay so the VPN has time to establish a connection.

### How does Rebuild-DNDC handle loss of connectivity from the master container?

Set mastercontconcheck=yes and configure ping_ip or ping_ip_alt targets. The app pings the target ping_count times before restarting the master container if connectivity fails.

### Where are Rebuild-DNDC’s configuration files stored?

The example stores its configuration in /config/rebuild-dndc, mapped to /mnt/appdata/rebuild-dndc/config/rebuild-dndc on Unraid. It also needs /var/run/docker.sock read-write and the Docker Man templates-user directory read-only.

### How do I install Rebuild-DNDC on Unraid?

Open Community Applications, search for Rebuild-DNDC, and click Install. This installs the app for use from the Unraid server.

---
Source: Our Local Host (https://ourlocalhost.com/app/1259/rebuild-dndc), the self-hosted and open-source app directory.
