LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-25-2012, 05:21 AM   #1
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
dhcpd and ddns reverse dns problem


Hi,

This is my dhcpd.conf
Code:
ddns-updates on;
ddns-update-style interim;
ddns-domainname "xxx.lan.";
ddns-rev-domainname "2.168.192.in-addr.arpa.";

...

zone xxx.lan. {
  primary 127.0.0.1;
  key dhcpkey;
}

zone 2.168.192.in-addr.arpa. {
  primary 127.0.0.1;
  key dhcpkey;
}
This is my named.conf:
Code:
zone "xxx.lan" {
        type master;
        file "xxx-lan/xxx.zone";
        allow-update { key dhcpkey; 127.0.0.1; };
};

zone "2.168.192.in-addr.arpa" {
        type master;
        file "xxx-lan/2.168.192.zone";
        allow-update { key dhcpkey; 127.0.0.1; };
};
named-checkconf and named-checkzone like it.
now in xxx.zone i'm having no problem:
Code:
...
$TTL 3600       ; 1 hour
Laptop                  A       192.168.2.103
...
in 2.168.192.zone the result is this one:
Code:
$ORIGIN .
$TTL 86400      ; 1 day
2.168.192.in-addr.arpa  IN SOA  minnie.xxx.lan. hidden.hide.com. (
                                201112194  ; serial
                                7200       ; refresh (2 hours)
                                300        ; retry (5 minutes)
                                604800     ; expire (1 week)
                                60         ; minimum (1 minute)
                                )
                        NS      minnie.xxx.lan.
$ORIGIN 2.168.192.in-addr.arpa.
$TTL 3600       ; 1 hour
103.2.168.192           PTR     Laptop.xxx.lan.
$TTL 86400      ; 1 day
5                       PTR     minnie.xxx.lan.
Wich for 103.2.168.192 is obviusly wrong.
The funny thing is that it used to work, any idea ?
Thank you.

Last edited by Celyr; 03-25-2012 at 05:23 AM.
 
Old 03-25-2012, 05:55 AM   #2
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Original Poster
Rep: Reputation: 81
Hi,

it was just a stupid mistake

Code:
ddns-rev-domainname "2.168.192.in-addr.arpa.";
has to be changed in
Code:
ddns-rev-domainname "in-addr.arpa.";
Ty anyway

EDIT: with this change, nothing is working anymore no update at all.

Ok i rewrote all configs by the beginning and now it's working, only god knows why.

Last edited by Celyr; 03-25-2012 at 11:12 AM.
 
  


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
dhcpd+ddns Update error: haariseshu Linux - Server 1 07-27-2009 10:52 PM
DHCPD not adding reverse records to Windows DNS alto_piano Linux - Server 1 05-02-2008 05:18 PM
ddns and dhcpd sportf Linux - Networking 1 03-20-2007 09:26 PM
DDNS with BIND and ISC-DHCPD joel112 Linux - Software 1 05-25-2006 11:06 AM
BIND 9/DHCPD DDNS Not Functioning Corxscrew Linux - Networking 2 02-07-2005 05:43 AM

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

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