2020-12-14 20:59:44 +00:00
|
|
|
# DNS Bind9 docker
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
|
|
|
```
|
2024-10-27 19:03:43 +00:00
|
|
|
$ git clone --recurse-submodules https://git.manalejandro.com/ale/bind9
|
|
|
|
|
2024-11-23 11:17:55 +00:00
|
|
|
cd bind and edit ./bind/entrypoint.sh file properties before first run, then edit env file with your settings.
|
2024-10-27 19:03:43 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
##Build
|
|
|
|
```
|
|
|
|
$ docker buildx build -t bind9-docker ./bind9-docker
|
|
|
|
|
|
|
|
$ docker-compose build
|
2020-12-14 20:59:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
```
|
2024-10-27 19:03:43 +00:00
|
|
|
$ docker-compose up -d
|
2020-12-14 20:59:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### by default all queries are logged under `/var/log/querylog`
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2024-10-27 19:03:43 +00:00
|
|
|
### Mit
|