Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

https://github.com/frjaraur/docker-simple-unbound

docker-unbound
You can use DNSSERVERS variable for changing default google forwarders to your own servers

docker run -d -P -e DNSSERVERS="208.67.222.222 208.67.220.220" hopla/simple-unbound-forward

Localrecords Examples...

To replace entries use a file in this format or
add entries to variable DNSENTRIES in the format FQDN@IP

for example to create following entries we used
DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2"

local-data: "ten.zero.zero.one. A 10.0.0.1"

local-data-ptr: "10.0.0.1 ten.zero.zero.one."

local-data: "ten.zero.zero.two. A 10.0.0.2"

local-data-ptr: "10.0.0.2 ten.zero.zero.two."

docker run -d -P -e DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2" hopla/simple-unbound-forward

###########

EXAMPLE:

docker run -d -P -e DNSSERVERS="208.67.222.222 208.67.220.220" -e DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2" hopla/simple-unbound-forward

NOTE:
Instead of DNSENTRIES variable, you can create your own "localrecords.conf" file and use it...

docker run -d -p 53:53/udp -v $(pwd)/localrecords.conf:/etc/unbound/localrecords.conf hopla/simple-unbound-forward

Docker Pull Command
Owner
hopla

Comments (1)
frjaraur
a year ago

https://github.com/frjaraur/docker-simple-unbound

docker-unbound

You can use DNSSERVERS variable for changing default google forwarders to your own servers

docker run -d -P -e DNSSERVERS="208.67.222.222 208.67.220.220" hopla/simple-unbound-forward

Localrecords Examples...

To replace entries use a file in this format or
add entries to variable DNSENTRIES in the format FQDN@IP

for example to create following entries we used
DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2"

local-data: "ten.zero.zero.one. A 10.0.0.1"

local-data-ptr: "10.0.0.1 ten.zero.zero.one."

local-data: "ten.zero.zero.two. A 10.0.0.2"

local-data-ptr: "10.0.0.2 ten.zero.zero.two."

docker run -d -P -e DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2" hopla/simple-unbound-forward

###########

EXAMPLE:

docker run -d -P -e DNSSERVERS="208.67.222.222 208.67.220.220" -e DNSENTRIES="ten.zero.zero.one@10.0.0.1 ten.zero.zero.two@10.0.0.2" hopla/simple-unbound-forward

NOTE:
Instead of DNSENTRIES variable, you can create your own "localrecords.conf" file and use it...

docker run -d -p 53:53/udp -v $(pwd)/localrecords.conf:/etc/unbound/localrecords.conf hopla/simple-unbound-forward