LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-30-2005, 02:02 PM   #1
m3gz
LQ Newbie
 
Registered: Sep 2004
Location: Woodbridge
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
DHCP and DNS


Hello folks!
I'm have trouble with my DHCP server on my linux box. I would like for it to assign the DNS dynamically because I won't know if the DNS that I'm using might change one day.

eth0 = internet connection cable, IP changes once every 3 months (if that matters)
eth1 = 192.168.66.1 to the LAN

i'm just lost in what I should have in my dhcpd.conf file. What can I add for it to assign to clients the DNS dynamically?
 
Old 05-30-2005, 02:26 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I would do it slightly differently. You can easily install a DNS server on the system that runs DHCP, point the clients at that, and set your DNS server to use your ISP's DNS server as a "forwarder". That way you can have a fully functional private network and a change to the ISP's DNS server means altering just one text file.

Check out dnsmasq, which is a great piece of software specifically designed for small networks that will handle both DHCP and DNS (dynamic). I'd only recommend using BIND and dhcpd over dnsmasq on a home network if you are doing this to teach yourself, or have more complex requirements.
 
  


Reply



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

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

All times are GMT -5. The time now is 12:25 PM.

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