3
# Lets make sure Deadwood can write the cache to a file
5
killall maradns > /dev/null 2>&1 # Don't run this test on Solaris
10
ipv4_bind_addresses="127.0.0.2"
12
csv2["example.com."] = "db.example.com"
15
cat > db.example.com << EOF
20
../../../server/maradns -f mararc > /dev/null 2>&1 &
21
#../../../server/maradns -f mararc &
24
# Now, make sure Deadwood works
28
ipv4_bind_addresses="127.0.0.1"
30
upstream_servers["."]="127.0.0.2"
31
recursive_acl="127.0.0.1/16"
32
cache_file="cache/dw_cache"
37
chown nobody:nobody cache # You're using CentOS 5 to test this, of course.
38
../../src/Deadwood -f dwood2rc > /dev/null &
39
#../../src/Deadwood -f dwood2rc &
41
askmara Awww1.example.com. 127.0.0.1 > /dev/null
42
#askmara Awww1.example.com. 127.0.0.1