LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 11-20-2003, 09:02 PM   #1
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
DNS - DHCP Updates


Hello. (sorry I didn't know which forum to post in with this prob.)

I have been battling with this for ages and can't seem to get it to go. I was hoping someone might be able to see the cause of the problem.

I have a Red Hat 9 server set up as a DHCP and DNS server. The clients connecting to the machine are both Windows (2K & XP) and also Red Hat 9.

When a client connects to the network and grabs an IP lease from the server, I want it to automatically update the DNS records as well. So basically if a workstation called "desktop" grabs an IP, other uses can nslookup and reverse lookup 'desktop'.

Below is my /etc/dhcpd.conf and /etc/named.conf files. I would much appreciate if anyone can help me out here, I've been racking my brains for months.

/etc/dhcpd.conf.......................
====================================
ddns-updates on;
ddns-update-style interim;

subnet 192.168.0.0 netmask 255.255.255.0 {
ddns-updates on;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
range 192.168.0.10 192.168.0.100;
}

====================================

/etc/named.conf
====================================
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/rndc.key";
zone "TSD-Support" {
type master;
file "/var/named/TSD-Support.hosts";
};


zone "0.168.192.in-addr.arpa" {
type master;
file "/var/named/192.168.0.rev";
};

====================================
 
Old 11-21-2003, 12:10 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating DNS Updates Elijah Linux - Networking 2 05-31-2004 04:19 AM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 02:16 PM
Dynamic DNS updates? darkfame Linux - Networking 2 12-01-2003 07:26 AM
DNS - DHCP Updates TheRealDeal Linux - Networking 2 11-21-2003 05:10 AM
CRON and DNS updates thenebula Linux - Newbie 1 10-13-2003 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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