>>> Remove default DNS Server (dnsmasq) and DHCP Server. Install MARADNS as recursive DNS Server
1- ipkg update
2- ipkg install maradns
3- /etc/init.d/dnsmasq stop
4- ipkg remove dnsmasq
5- vim /etc/mararc
|-->
hide_disclaimer="YES"
chroot_dir="/etc/maradns"
bind_address="192.168.0.1"
maradns_uid=65534
maxprocs=10
random_seed_file="/dev/urandom"
recursive_acl="192.168.0.0/24"
no_fingerprint=1
root_servers={}
root_servers["."]="xxx.xxx.xxx.xxx uuu.uuu.uuu.uuu ooo.ooo.ooo.ooo"
6- /etc/init.d/maradns enable
7- reboot
NOTES:
- "bind_address" cans be your Router Gateway or something else not used (ex: 192.168.0.254)
- "recursive_acl" means that all your computers on your LAN can use your DNS
- "root_servers" is the section to put all your "Cache-Only" DNS Servers. This can be another router DNS or ISP DNS. There are no real limit I think but 3 DNS should be "OK"
- When you install MaraDNS, it will not start at BOOT. You need to enable it in RC's Scripts with this command: /etc/init.d/maradns enable
- Look here for some DNS Cache-Only Servers: http://www.dslreports.com/forum/remark,15280669
- When you remove dsnmasq, you remove two things at once: DHCP and DNS Server. You will probably want to keep a DNS Server running to visit Internet websites so installing MaraDNS will solve this problem
(Last edited by Ocean on 28 Jul 2007, 05:07)