LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-10-2007, 05:55 PM   #1
mobiusNZ
LQ Newbie
 
Registered: Feb 2007
Location: Christchurch, NZ
Distribution: Kubuntu 6.10
Posts: 4

Rep: Reputation: 0
DHCPD-3 not adding DNS entries for Linux clients


Hi there,

After a *lot* of following tutorials, reading man pages and all the other carry-on, I managed to get DHCP and DNS to play together on my Debian(sarge) server. That is, when a client pc on the network requests an IP address, DHCP3 adds it to DNS using RNDC.

Trouble is, this only appears to work for WinXP clients, and not my Kubuntu(edgy) client. In fact, when I booted that client into windows my server added the entry correctly, but when I rebooted into Kubuntu, it deleted the DNS entry, assigned a different IP address, and left it at that (didn't add a new DNS entry).

I'm not even 100% sure if this is a server issue or a client issue. Does anyone have any ideas?
 
Old 03-11-2007, 08:14 PM   #2
vargadanis
Member
 
Registered: Sep 2006
Posts: 248

Rep: Reputation: 30
Did you add the
Quote:
option domain-name-servers 40.175.42.254, 40.175.42.253;
line to the config file?

http://yolinux.com/TUTORIALS/DHCP-Server.html
this is quite a good thing

Last edited by vargadanis; 03-11-2007 at 08:15 PM.
 
Old 03-11-2007, 08:47 PM   #3
mobiusNZ
LQ Newbie
 
Registered: Feb 2007
Location: Christchurch, NZ
Distribution: Kubuntu 6.10
Posts: 4

Original Poster
Rep: Reputation: 0
Yes I do have that. This is my whole dhcpd.conf

Code:
server-name	sarge;
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style 	interim;
ddns-domainname		"hol.net.local.";

# option definitions common to all supported networks...
option domain-name "hol.net.local";
option domain-name-servers ns.hol.net.local, 203.96.152.4, 203.96.152.12;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

key "rndc-key" {
	algorithm hmac-md5;
	secret "[--REMOVED--]";
};


zone hol.net.local. {
	primary 127.0.0.1;
	key "rndc-key";
}

subnet 192.168.1.0 netmask 255.255.255.0 {
	range	 			192.168.1.100 192.168.1.150;
	option subnet-mask 		255.255.255.0;
	option broadcast-address 	192.168.1.255;
	option domain-name 		"hol.net.local";
	one-lease-per-client 		on;
	default-lease-time 		14400;
	max-lease-time			14400;
	option ip-forwarding 		off;
	option routers 			192.168.1.1;
	deny 				duplicates;
}
zone 1.168.192.in-addr.arpa. {
	primary 127.0.0.1;
	key	"rndc-key";
}
As I said before, this works perfectly with XP clients using this dhcp server, but not my Kubuntu client.
 
  


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
Adding Linux Clients to Samba PDC, 2 things RaVilj Linux - Networking 1 09-27-2005 04:42 PM
RH9 and DHCPD issues with some clients paradigm Linux - Networking 5 11-03-2003 03:08 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM
Serving DNS IP to Macintosh clients via DHCPD Darieus Linux - Networking 1 08-08-2003 10:06 AM
Adding persistent(permanent) route entries on Red hat Linux 7.1 sram Linux - Networking 1 02-08-2002 10:07 AM

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

All times are GMT -5. The time now is 12:38 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