Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-07-2006, 07:10 PM   #1
LQ Newbie
Registered: Dec 2006
Distribution: Kubuntu
Posts: 4

Rep: Reputation: 0
Dynamic update DNS through DHCP? Problems configuring in Ubuntu 6.10


I know I'm new at this forum but I hope I can get some help, because I've been learning and experimenting with this for a while and I haven't found the culprit. I've researched several sites and manuals, and although many looked promising, none solved my issue, so here I am...

I'm trying to get my Linux and Windows clients to update their DNS records via DHCP. Both bind9 and dhcp3 are working properly, but updates aren't working. Here are my config files and I hope you can help me out (I omit stuff I don't think is relevant):

named.conf.local (merged):

include "/etc/bind/rndc.key";
zone "" {
type master;
file "/etc/bind/";
allow-update { key "rndc-key"; };
zone "" {
type master;
file "/etc/bind/192.168.rev";
allow-update { key "rndc-key"; };

include "/etc/dhcp3/rndc.key"; << this file is a copy of bind's key
subnet netmask {
option domain-name-servers;
option domain-name "";
deny client-updates;
allow unknown-clients;
ddns-updates on;
ddns-update-style interim;
ddns-rev-domainname "";
ddns-domainname "";
ignore client-updates;
zone {
key "rndc-key";
zone {
key rndc-key;

Well, I think that's all.

There are no errors on the logs, and the clients do get an IP address from DHCP, but no records are created on the DNS server.

Thanks in advance!
Old 12-08-2006, 08:41 PM   #2
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
I've never used this, but a quick look at the dhcpd.conf manpage shows that you can enable logging for the dns updates. Have you tried that? (search for 'logging' in the manpage). That might give you the information that you need, because otherwise your setup seems to be right out of the manpage.
Old 12-11-2006, 05:56 PM   #3
LQ Newbie
Registered: Dec 2006
Distribution: Kubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Actually, logging has to be enabled for bind, not for dhcp -- took me a while to figure that out

I've enabled it, but it throws no hints at all...

As an aside, I've tried manually doing an nsupdate, and it sorta works, but I can only resolve the host to the IP, not the other way around. Maybe it's because I don't know how to use nsupdate, but this is what I tried:

# nsupdate -y my-key:somekey
update add hostname 86400 A

And after that I can do an nslookup for the hostname, but not for the IP address...

If anyone else has a hint on what the issue could be, by all means, help a clueless soul out


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 DNS for DHCP neovox Linux - Networking 1 10-13-2015 12:36 PM
Dynamic update of linux clients via DHCP/DNS (Windows currently works) tnine9 Linux - Networking 11 05-10-2007 05:18 AM
LXer: Configuring Dynamic DNS & DHCP on Debian Stable LXer Syndicated Linux News 0 02-13-2006 10:16 AM
LXer: Configuring Dynamic DNS & DHCP on Debian Stable LXer Syndicated Linux News 0 02-02-2006 03:16 PM
How to Update dynamic DNS with DHCP router? longblock454 Linux - Networking 4 05-18-2004 07:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration