LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-23-2007, 03:15 AM   #1
fire.is.real
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
windows-style dns/dhcp server setup with dynamic updates


this is my first post on this forum, hopefully you guys can help me out...

i'm trying to setup DNS and DHCP in such a way that the DHCP server updates the client's A record on the DNS server automatically - or creates one if it doesn't already have a DNS record.

i've found many tutorials that taught me a lot about this stuff, but none have actually gotten me up and running the way i'd like.

i have this line in both my named.conf and dhcpd.conf:
Code:
include "/etc/rndc.key";
i can start BIND just fine, but when i start DHCPD i get
Code:
Can't open /etc/rndc.key: No such file or directory
what's the deal? the file exists - i'm looking at it. also, why can named find it but not dhcpd?

btw i'm running bind9 & dhcpd3 on openSuse 10.2

if anyone could help i would be most greatful
 
Old 08-24-2007, 12:00 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Follow the instructions on this link - http://www.linuxquestions.org/linux/...ll_with_NetBSD

Your problem is that generally /etc/rndc.key is set so that only the user BIND runs as and root can read the key. In the DHCP.conf file, you need the copy the key out, not reference the location where it can be found.

Peace,
JimBass
 
  


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
Dynamic update of linux clients via DHCP/DNS (Windows currently works) tnine9 Linux - Networking 11 05-10-2007 05:18 AM
Dynamic Updates in Suse 9 - DNS ebolton73 General 1 05-20-2006 01:35 AM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 03:16 PM
Dynamic DNS updates? darkfame Linux - Networking 2 12-01-2003 08:26 AM
Dynamic DNS server setup ? L33t_H4x0R Linux - Networking 2 04-25-2002 04:09 AM


All times are GMT -5. The time now is 06:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration