Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-06-2003, 05:35 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 11

Rep: Reputation: 0
Unhappy DNS with DHCP

I have set up a DHCP server and as clients connect to the netwokr the DHCP server assigns the IP address and passes any necessary information to the DHCP clients. However, it doesn't pass the DNS information the the clients.

If I hard code the DNS information in the clients then I can resolve the names otherwise I can't resolve the domain names.

What must I do to have the DHCP server pass the DNS information to the DHCP clients.

- upr8830
Old 06-06-2003, 05:48 PM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
do u have something like this in ur dhcpd.conf file:

option domain-name-servers; is my dns server ip.

post ur dhcpd.conf file is u still have problems with it.
Old 06-06-2003, 05:49 PM   #3
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you mean your clients are not getting the domain namserver addresses? is that it? you can set this in the /etc/dhcpd.conf file

option domain-name-servers your-server-ips-with a-space sperating-them

put this line the file and restart the server
Old 06-19-2003, 12:39 AM   #4
LQ Newbie
Registered: Jun 2003
Posts: 11

Original Poster
Rep: Reputation: 0

Got it working.

Thank you.

- upr8830


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
forward dns from dhcp to dhcp Fark Linux - Networking 3 03-31-2004 11:40 AM
DHCP / DNS Help!! muzicman82 Linux - Wireless Networking 4 02-25-2004 05:59 PM
Dns / Dhcp TheRealDeal Linux - Networking 9 09-19-2003 05:57 AM
Dns +dhcp james.farrow Linux - Networking 1 07-04-2003 10:17 AM
dhcp and dns tangle Linux - Networking 7 09-26-2002 07:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:55 PM.

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