LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-13-2015, 02:21 AM   #1
Beorn1357
LQ Newbie
 
Registered: May 2014
Distribution: CentOS 6.x
Posts: 7

Rep: Reputation: Disabled
Problems with Dynamic DNS in CentOS


I'm working with CentOS 6.6 using Bind and DHCPd for DDNS on the LAN. I've configured this before, but somehow I'm missing something that is keeping me from getting reverse resolution updated. Below are my relevant config files.

dhcpd.conf:

Code:
authoritative;
include "/etc/rndc.key";
server-identifier wormhole;
ddns-updates on;
ddns-update-style interim;
update-static-leases on;
ignore client-updates;
option domain-name "starfleet";
ddns-rev-domainname "in-addr.arpa";
use-host-decl-names on;
default-lease-time 86400;
max-lease-time 86400;
log-facility local7;

subnet 10.5.3.0 netmask 255.255.255.0 {
  range                         10.5.3.50 10.5.3.99;
  option routers                10.5.3.1;
  option subnet-mask            255.255.255.0;
  option domain-name-servers    10.5.3.1;
}

zone starfleet. {
  primary localhost;
  key rndc-key;
}

zone 1.3.5.10.in-addr.arpa. {
  primary localhost;
  key rndc-key;
}

...and my named.conf:


Code:
include "/etc/rndc.key";

controls {
        inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};

options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { any; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { any; };
        recursion yes;
        dnssec-enable no;
        dnssec-validation no;
        dnssec-lookaside auto;
        empty-zones-enable yes;
        bindkeys-file "/etc/named.iscdlv.key";
        managed-keys-directory "/var/named/dynamic";
        forwarders { 37.235.1.174; 37.235.1.177; };
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
        type hint;
        file "named.ca";
};

zone "starfleet" {
        type master;
        file "dynamic/starfleet";
        allow-update { key "rndc-key"; };
};

zone "3.5.10.in-addr.arpa" {
        type master;
        file "dynamic/starfleet.rev";
        allow-update { key "rndc-key"; };
};
In /var/named/dynamic a .jnl file is created for the forward zone
but not for the reverse zone. I'm certain that the permissions
are correct for the directory. I'm trying to get the server to
perform the relevant DNS updates and not the clients. Can anyone
spot my problem? Its driving me nuts trying to track this down.

Thanks.
 
Old 01-19-2015, 09:05 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Beorn1357, I notice you have marked this as solved. Would you mind posting the solution so others who are running into the same issue can benefit? Thanks.

--jeremy
 
  


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
[SOLVED] how to Dynamic DNS and DHCP on CentOS 5 mail4vijay Linux - General 2 12-15-2009 08:06 AM
Dynamic DHCP and DNS Server Bind Chroot on CentOS 5.3 or Ubuntu nyu2009 Linux - Server 2 10-19-2009 01:03 AM
Dynamic DNS and DHCP on Fedora ore 9 / Centos 5.2 gnoovy Red Hat 0 02-15-2009 05:08 AM
Dynamic update DNS through DHCP? Problems configuring in Ubuntu 6.10 entropy Linux - Networking 2 12-11-2006 04:56 PM
Problems With Apache & Virtual Hosting Using Dynamic DNS moetjojo Linux - Networking 7 12-02-2002 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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