[MaraDNS list] Configuring MaraDNS and Deadwood to work together

Sam Trenholme strenholme.usenet at gmail.com
Fri Oct 7 17:30:49 EDT 2011


This should work:

root_servers = {}
# ICANN DNS root servers (Deadwood default if both root_servers and
# upstream_servers are not defined)
root_servers["."]="198.41.0.4, 192.228.79.201, 192.33.4.12, 128.8.10.90, "
root_servers["."]+="192.203.230.10, 192.5.5.241, 192.112.36.4, 128.63.2.53, "
root_servers["."]+="192.36.148.17, 192.58.128.30, 193.0.14.129, 199.7.83.42, "
root_servers["."]+="202.12.27.33"
root_servers[".vpn"] = "127.0.0.2"
# Our IP
bind_address="127.0.0.1"

# The IPs allowed to connect and use the cache
recursive_acl = "127.0.0.1/16"
chroot_dir = "/etc/maradns"

If it doesn't, please post your dwood3rc and mararc files here so I
can debug them.

- Sam


2011/10/7 Harlan H. Bloom <harlan at bloomenterprises.org>:
> Hi Sam,
>  I added your suggestion to the root server list in dwood3rc.  It doesn't look like MaraDNS and Deadwood are talking with each other.
>
>  With Deadwood listening on 127.0.0.2 and MaraDNS on 127.0.0.1, I can do lookups on the internal network, but not on the internet.  If I switch Deadwood and MaraDNS around, with the proper changes, I can do lookups on the internet, but not on the internal network.
>
>  So far, still no go.
>
> Thanks,
>
> Harlan...
>
> ----- Original Message -----
> From: "Sam Trenholme" <strenholme.usenet at gmail.com>
> To: "MaraDNS support mailing list" <list at maradns.org>
> Sent: Friday, October 7, 2011 11:03:48 AM
> Subject: Re: [MaraDNS list] Configuring MaraDNS and Deadwood to work together
>
> Try adding this to Deadwood's configuration file:
>
> root_servers["vpn."] = 127.0.0.1
>
> - Sam
>
> 2011/10/7 Harlan H. Bloom <harlan at bloomenterprises.org>:
>> Hello,
>> I'm working on upgrading MaraDNS to the latest version that Sam put out recently.
>>
>> I can use MaraDNS to either access my internal domain or I can use Deadwood to access the internet, but I'm not sure how to get them to play nice together.
>>
>> When I dig @127.0.0.1 ns1.vpn (internal address) it responds correctly. When I dig @127.0.0.1 www.yahoo.com, I get back the usual response when MaraDNS can't find the address.
>>
>> However, when I dig @127.0.0.2 ns1.vpn, I get back the usual response from Deadwood that it can't find the address. When I dig @127.0.0.2 www.yahoo.com, it responds correctly.
>>
>> I tried putting the root servers configuration into the mararc file; that didn't help MaraDNS find an internet address when did the dig command.
>>
>> I'm sure that I've got the configuration files messed up somehow. Mostly, I'm using the "stock" config files, with my internal address put into the /etc/maradns directory and the mararc file pointing the correct file. Like I said, looking up the internal addresses is working just fine, even for the CNAME records. I've tried Googling and even reading several MaraDNS documents, so far without any success.
>>
>> Any ideas or suggestions?
>>
>> Thanks,
>>
>> Harlan...
>>
>


More information about the list mailing list