Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: gideon on July 13, 2010, 12:32:31 PM
-
plz am asking any one to help me on how i can set up my own dns to my small LAN
thanks...
-
You haven't mantioned your purpose to configure your own DNS server. I assume that you want forwarder type for DNS server and firewall is not configured in this server
1. You have to install "dnsmasq" server using yum.
#yum install dnsmasq*
2. start service on reboot
#chkconfig dnsmasq on
3. Start service
#service dnsmasq start
Now change your Clients DNS IP address to this machine and check.
If you are using Firewall (IPTables) then you need to configure following rules
iptables -I INPUT -p tcp --dport 53 -j ACCEPT
iptables -I INPUT -p udp --dport 53 -j ACCEPT
service iptables save
-
There are many kinds of DNS servers to talk alone. Before that, I suggest to be clear if you want to configure your Linux hosts to be able to resolve DNS queries from a DNS server, or to setup a DNS server that serves as a name resolution for your LAN.