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 02-24-2006, 07:59 AM   #1
trainpic
Member
 
Registered: Apr 2004
Location: Ohio
Distribution: Ubuntu 6.06 LTS (Ubuntu, Edubuntu, Ubuntu Server)
Posts: 77
Blog Entries: 2

Rep: Reputation: 15
Question Fedora Core 4 DHCPD and BIND, cannot get Dynamic DNS to work


I'm using fedora core 4 and the BIND nameserver, with dhcpd. This network has no connection to the internet, so the server is master for the root zone. The DNS server works perfectly with the A and PTR records that I have manually entered. The problem is that I cannot get DHCPD to update DNS. I use a 128bit HMAC-MD5 secret key, and set the DHCP server to update the "amsden.com." zone and the "0.168.192.in-addr.arpa." zone. I configured a range of ip adresses, and three fixed addresses for "elap","gamepc", and "ps2" I ran ethereal capturing on both eth0 and lo, and had client "elap" obtain an IP address. I then ran host to find "elap.amsden.com." and received "NXDOMAIN". Ethereal captured no packets from the dhcp to the DNS. I am therefore assuming that DHCP is not properly configured to update DNS. What exactly do I need to do to make it do this?
 
Old 02-25-2006, 11:31 AM   #2
trainpic
Member
 
Registered: Apr 2004
Location: Ohio
Distribution: Ubuntu 6.06 LTS (Ubuntu, Edubuntu, Ubuntu Server)
Posts: 77

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Ok. here are my config files. Maybe I need to post these to get replies.
dhcpd.conf:
Code:
server-name "server";
ddns-updates on;
ddns-update-style interim;
ddns-domainname "amsden.com.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;



subnet 192.168.0.0 netmask 255.255.255.0 {

include "/var/named/chroot/etc/rndc.key";

zone amsden.com. {
	primary 127.0.0.1;
	key rndckey;
}

zone 0.168.192.in-addr.arpa. {
	primary 127.0.0.1;
	key rndckey;
}

	option	subnet-mask		 255.255.255.0;
	option	time-offset 		-18000;
	option	domain-name		"amsden.com.";
	option	domain-name-servers	192.168.0.1;
	option	netbios-name-servers	192.168.0.1;
	option	ntp-servers		192.168.0.1;
	option	netbios-name-servers	192.168.0.1;
	option	netbios-node-type 	2;

	range	192.168.0.50		192.168.0.240;
	default-lease-time		21600;
	max-lease-time			43200;

	host elap {
		hardware ethernet	00:08:02:2C:55:D7;
		fixed-address		192.168.0.11;
	}

	host ps2 {
		hardware ethernet	00:00:39:0B:0E:B1;
		fixed-address		192.168.0.30;
	}

	host ps2_2 {
		hardware ethernet	00:13:15:AA:E0:A3;
		fixed-address		192.168.0.31;
	}

	host gamepc {
		hardware ethernet	00:04:76:B7:02:D0;
		fixed-address		192.168.0.20;
	}
}
named.conf
Code:
options {
	directory "/var/named";
	allow-query { any; };
	recursion no;
};

#include "/etc/rndc.key";

controls {
	inet 192.168.0.0	allow { any; } keys { rndckey; };
	inet 127.0.0.0		allow { any; } keys { rndckey; };
};

zone "." {
	type master;
	file "root.zone";
};

zone "com." {
	type master;
	file "com.zone";
};

zone "amsden.com." {
	type master;
	file "amsden.com.zone";
	allow-update { key "rndckey"; };
};

zone "in-addr.arpa." {
	type master;
	file "in-addr.arpa.zone";
};

zone "0.0.127.in-addr.arpa." {
	type master;
	file "0.0.127.in-addr.arpa.zone";
};

zone "0.168.192.in-addr.arpa." {
	type master;
	file "0.168.192.in-addr.arpa.zone";
	allow-update { key "rndckey"; };
};

zone "localdomain." {
	type master;
	file "localdomain.zone";
};
Note that there are hard-to-see scrollbars on the code boxes that are needed to see the whole thing.

Last edited by trainpic; 02-25-2006 at 11:33 AM.
 
Old 02-25-2006, 04:27 PM   #3
trainpic
Member
 
Registered: Apr 2004
Location: Ohio
Distribution: Ubuntu 6.06 LTS (Ubuntu, Edubuntu, Ubuntu Server)
Posts: 77

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Anyone? Anywhere? Anything???
 
  


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
Any Fedora C3 Walkthorugh: Dynamic DNS ? ~=gr3p=~ Linux - Networking 1 11-07-2005 03:52 AM
Bind on Fedora Core 3 m61 Linux - Newbie 0 12-06-2004 01:31 AM
Fedora Core 2 and 2003 w/Dynamic disks into Raid mylothshipper Linux - Software 0 06-18-2004 08:33 AM
Fedora core 1 dhcpd problem ybxdradford Fedora 1 06-18-2004 06:14 AM
Fedora Core 1 dynamic link error yamaduc Linux - Software 2 05-26-2004 07:49 PM

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

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