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 08-23-2003, 10:00 PM   #1
luischardon
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
dhclient and ddns?


Hi.

I'm running a DNS server and a DHCP server on a linux mandrake 9.1 box. I have configured the dynamic DNS and windows and MAC clients register their hostnames with the DDNS, but how can I configure a linux client that is using dhclient to register with DDNS?

THanks,

Luis
 
Old 08-23-2003, 10:07 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
I'll assume you are using the latest version of dhcp and dns, since thats what i use. In /etc make a file called dhclient-<interface>.conf, where <interface> is the interface you want to dhcp on, (eth0, eth1, wlan0, etc)

In mine, it appears as this:
Code:
send fqdn.fqdn "butterfly";
send fqdn.encoded on;
send fqdn.server-update on;

key "DHCP_UPDATER" {
        algorithm hmac-md5;
        secret "yidYTwQ7zxt6lON2fmMfuA==";
}

zone mydomainname. {
        key DHCP_UPDATER;
}
I don't know if you have a key supplied in your dhcp.conf and named.conf or not, if not, then ignore the last two statements, and only keep the first 3 "send" things.

Then update with "dhclient -cf /etc/dhclient-<interface>.conf"
 
Old 09-11-2003, 07:30 PM   #3
luischardon
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the answer. I will give it a try.

Luis
 
Old 09-12-2003, 12:19 AM   #4
RHnewb
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
I'm really interested in the functionality of ddns on redhat 9.0. If anyone could point me in the right direction to do some research I'd appreciate it.
 
Old 09-27-2003, 01:15 AM   #5
ongxanga
Member
 
Registered: Sep 2003
Posts: 31

Rep: Reputation: 15
Luis,

Could you guide me on how to setup DDNS server on RedHat 9.

Thanks,

Ben,
 
Old 09-28-2003, 04:30 AM   #6
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Rep: Reputation: 15
I've believe the following works as well:

send host-name "hostname"

key "DHCP_UPDATER" {
algorithm hmac-md5;
secret "yidYTwQ7zxt6lON2fmMfuA==";
}

zone mydomainname. {
key DHCP_UPDATER;
}
 
  


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
ddns - problems mule Linux - Networking 8 12-21-2008 06:54 AM
DDNS Bind 9.0 / DHCP - mule Linux - Networking 2 01-06-2006 11:55 PM
DDNS and rndc paul_mat Linux - Networking 1 11-16-2005 01:53 PM
DHCP and DDNS garullon245136 Linux - Networking 1 06-20-2005 08:29 PM
DNS and DDNS mr_spooky Linux - Networking 3 03-11-2004 11:45 PM

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

All times are GMT -5. The time now is 11:47 AM.

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