Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-06-2003, 04:35 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 11
Rep:
|
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
|
|
|
06-06-2003, 04:48 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
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.
|
|
|
06-06-2003, 04:49 PM
|
#3
|
Member
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456
Rep:
|
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
|
|
|
06-18-2003, 11:39 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Posts: 11
Original Poster
Rep:
|
DNS with DHCP
Got it working.
Thank you.
- upr8830
|
|
|
All times are GMT -5. The time now is 10:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|