LinuxQuestions.org
Visit Jeremy's Blog.
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 06-06-2003, 04:35 PM   #1
upr8830
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, 04:48 PM   #2
born4linux
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:

range 192.168.25.10 192.168.25.254;
option domain-name-servers 192.168.25.2;

192.168.25.2 is my dns server ip.

post ur dhcpd.conf file is u still have problems with it.
 
Old 06-06-2003, 04:49 PM   #3
manthram
Member
 
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-18-2003, 11:39 PM   #4
upr8830
LQ Newbie
 
Registered: Jun 2003
Posts: 11

Original Poster
Rep: Reputation: 0
DNS with DHCP

Got it working.

Thank you.

- upr8830
 
  


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


All times are GMT -5. The time now is 05:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration