1] Install maradns
sudo aptitude install maradns
2] Check if its running
pgrep maradns
3] Edit mararc to be recursive
sudo vi /etc/maradns/mararc
4] Have this settings:
bind_address = "192.168.2.231"
recursive_acl = "192.168.2.0/24"
random_seed_file = "/dev/urandom"
root_servers["."] = "osrc"
root_servers = {}
5] link /etc/mararc to your /etc/maradns/mararc
ln -s /etc/maradns/mararc /etc/mararc
6] Restart maradns
sudo /etc/init.d/maradns restart
To troubleshoot the error you can execute:
a] touch /var/log/maradns
b] nohup maradns >> /var/log/maradns &
No comments:
Post a Comment