Skip to content

maraDNS as a simple relay / rewrite server #106

Locked Answered by samboy
dschuermans asked this question in Q&A
Discussion options

You must be logged in to vote

For this, you use the Deadwood, not MaraDNS daemon.

Here’s an example config file. A more full example is here: https://github.com/samboy/MaraDNS/blob/master/deadwood-github/doc/dwood3rc-all

# IP Deadwood runs as
bind_address="127.0.0.1" 

# Directory we run program from (not used in Win32)
chroot_dir = "/etc/deadwood" 

# By default, for security reasons, Deadwood does not allow IPs in the
# 192.168.x.x, 172.[16-31].x.x, 10.x.x.x, 127.x.x.x, 169.254.x.x,
# 224.x.x.x, or 0.0.x.x range.  If using Deadwood to resolve names
# on an internal network, set this to 0
filter_rfc1918 = 0

# Who is allowed to use the cache
recursive_acl =  "127.0.0.1/16"
recursive_acl += ", 10.1.0.0/16" 
recursive_…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by samboy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants