https://github.com/batchlabs/docker-bind-isc-dhcp
This docker spawns a DHCP and DNS server, to assign IP addresses and FQDN to hosts on a private network.
https://github.com/batchlabs/docker-bind-isc-dhcp
Last synced: 8 months ago
JSON representation
This docker spawns a DHCP and DNS server, to assign IP addresses and FQDN to hosts on a private network.
- Host: GitHub
- URL: https://github.com/batchlabs/docker-bind-isc-dhcp
- Owner: BatchLabs
- License: mit
- Created: 2015-10-28T15:54:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T15:58:03.000Z (over 10 years ago)
- Last Synced: 2024-04-14T19:37:21.712Z (about 2 years ago)
- Language: Shell
- Size: 129 KB
- Stars: 4
- Watchers: 13
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Source
* [This blog article](https://blog.bigdinosaur.org/running-bind9-and-isc-dhcp/)
# What does it do
This docker spawns a DHCP and DNS server, to assign IP addresses and FQDN to hosts on a private network.
# Usage
* Generate rndc-key with `/usr/sbin/rndc-confgen -a`, output should be `wrote key file "/etc/bind/rndc.key"`
* Put the generated key in :
```
conf/bind/named.conf.local
conf/bind/rndc.key
conf/dhcp/dhcpd.conf
```
* Edit `config/dhcp/dhcp.conf` to add hosts w/ MAC address .
* Start the Docker with `--net=host`.