April 24, 2024, 07:20:02 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to configure dns for a LAN using fc10  (Read 3584 times)

Offline gideon

  • New Member
  • Posts: 1
how to configure dns for a LAN using fc10
« 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...

Offline kaushalpatel1982

  • LST CareTaker
  • Linux Learner
  • *****
  • Posts: 87
Re: how to configure dns for a LAN using fc10
« Reply #1 on: July 17, 2010, 10:28:35 AM »
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


Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: how to configure dns for a LAN using fc10
« Reply #2 on: July 23, 2010, 11:15:30 AM »
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.