LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2015, 01:58 AM   #1
alobi
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Linux set dns server for wireless


Hi.
I have a linux Fedora core which serves as my webmail server as well as my DHCP server.

I have configured the dns in the cat /etc/resolv.conf file as below:
search domain.co.tz
name server x.x.x.x
name server x.x.x.x

My problem is that, I have both wired LAN and wireless networks which use this DHCP server. However, when I set machines on the LAN to 'Obtain IP Automatically' the machine picks IP fine, but for IPV4 DNS Server it picks the ip of the LINUX BOX as the DNS.

As such my machines as well as wireless devices cannot access internet. I have to manually configure DNS for all machines on the network.

How do I enable the linux box to automatically assign DNS to the machines and wireless devices?

Regards
alobi
 
Old 08-03-2015, 07:24 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Look at your DHCP configuration files. They have options to force what goes into resolv.conf - otherwise it puts whatever the DHCP server specifies into resolv.conf.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Server Set up for Wireless Network and central login and authentication ooreade Linux - Networking 1 07-21-2012 08:38 AM
How to set up a DNS server danndp Red Hat 1 07-11-2011 05:23 AM
How to set up dns server? alwaysalearner Linux - General 6 12-22-2010 04:56 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration