Sign inSign up

minanon/named-easy

By minanon

•Updated almost 10 years ago

BIND named server container with easy config generator

Image
1

310

minanon/named-easy repository overview

⁠BIND Named server with easy setup bind config.

You can start a bind named server with easy setup bind config.

⁠Build

docker build -t minanon/named-easy .

⁠Run

Please setup a generator.conf under /generator/configs when start the container.

docker run -d -p 53:53/tcp -p 53:53/udp -v /path/to/configs:/generator/configs minanon/named-easy

⁠Setting

For generator.conf.

⁠[global] section

[global] section configs are used on option and all config.

ItemValue
emailEmail address on SOA record
servernamedns server name
forwardersDNS forwarders
acladd ACL (127.0.0.1 and same network were already set)
⁠Example
[global]
email      your.email.address
servername mydns.local
forwarders 8.8.8.8; 208.67.222.123
⁠[zone] section

[zone] section configs are used for generating a zone config. One line is one zone config. One line config is separated by space.

IndexDescription
1Base domain
2Base IP address
3Subdomain setting. Please read Subdomain section. you should surround with quotes.
4TTL for zone. optional: default 7200
5Refresh for SOA. optional: default 28800
6Refresh for Retry. optional: default 1800
7Refresh for Expire. optional: default 604800
8Refresh for Minimum. optional: default 86400
⁠Subdomain

Subdomain config is needed subdomain name and record type and IP address. All this settings should be surround with quotes. And multiple configs are separated by comma.

⁠Example
[zone]
# Domain BaseIP "Subdomain Type [IP=BaseIP]"(e.g. @ A, mail MX 127.0.0.2, * A) [TTL=7200] [Refresh=28800] [Retry=1800] [Expire=604800] [Minimum=86400]
localhost 127.0.0.1 "@ A" 1D 3H 15M 1W 1D
example.com 93.184.216.34 "@ A, mail A 127.0.0.1, mail MX 10 mail.example.com., * A"

⁠Edit template

/generator has configs and templates. You can edit templates.

docker run -d -p 53:53/tcp -p 53:53/udp -v /path/to/generator:/generator minanon/named-easy

Tag summary

Content type

Image

Digest

Size

4.4 MB

Last updated

almost 10 years ago

docker pull minanon/named-easy