LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2005, 03:48 AM   #1
garullon245136
LQ Newbie
 
Registered: May 2005
Posts: 16

Rep: Reputation: 0
DHCP and DDNS


I'm running RH9 and DHCPD 3.0

I'm trying to add DNS records for all clients who receive an IP addy.

The machine that is getting it's records from the dhcp server, registers a PTR record, but not an A record. Can anyone help me figure out why my dhcp doesn't register the A record?

Here is my DHCPD.conf file

use-host-decl-names on;
option time-servers clock.redhat.com;
allow unknown-clients;
default-lease-time 120;
ddns-domainname "spew.com.";
ddns-rev-domainname "in-addr.arpa.";
ddns-update-style interim;
ddns-updates on;
allow client-updates;

max-lease-time 120;

option domain-name "spew.com.";

subnet 192.168.1.128 netmask 255.255.255.128 {
authoritative;
allow client-updates;
allow unknown-clients;
ddns-updates on;
ddns-rev-domainname "in-addr.arpa.";
ddns-domainname "spew.com.";
range 192.168.1.133 192.168.1.145;
option routers 192.168.1.129;
option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.130, 192.168.1.132, 192.168.1.131;
option netbios-name-servers 192.168.1.132, 192.168.1.131;
option netbios-node-type 8;
option netbios-scope "";
}
zone spew.com. {
primary 192.168.1.130;
}
zone 1.168.192.in-addr.arpa. {
primary 192.168.1.130;
}


Thank you in advance
 
Old 06-20-2005, 09:29 PM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
What dns server do you use?

Also the named.conf file would be helpful.

This refers to bind, so if you use something else it won't work:
If you haven't already add an allow-update { ddnsclients; }; stanza to your zone definitions (where ddnsclients is an acl which you also have to define in the config file).

Then turn on some logging.

For debugging this particular problem add something along the lines of this to your named config file:

Code:
logging {
  channel ddns {
    file "/var/log/bind/updates.log versions 5 size 1m;
    print-time yes;
    print-category yes;
  };
  category update { ddns; };
};
Have some clients do the update and check the logs for any error messages.

Last edited by demian; 06-20-2005 at 09:50 PM.
 
  


Reply


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
DDNS Bind 9.0 / DHCP - mule Linux - Networking 2 01-07-2006 12:55 AM
DHCP and DDNS - not working ccigmaian Linux - Networking 3 12-06-2005 12:19 AM
configure bind ddns dhcp on Slackware djchris Linux - Networking 1 12-24-2004 03:42 AM
DHCP/DDNS Doesn't Work with Netgear Devices MQMan Linux - Networking 1 03-07-2004 12:25 PM
DHCP/DDNS Troubleshooting dguy Linux - Networking 5 06-09-2002 04:27 AM


All times are GMT -5. The time now is 08:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration