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 05-14-2006, 10:54 AM   #1
sasa.g
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Question Dynamic DNS ( DDNS )


My A records do not get registered dynamically but PTR records are regitered fine? I have two computers named LAPTOP(dhcp client) AND DESKTOP(10.10.10.2 and it is dhcp server). I do not know what is the problem here.... Can anyone help me, please?

dhcpd.conf :

Code:
server-identifier desktop.mreza.co.yu;
ddns-update-style interim;
ddns-domainname "mreza.co.yu";
ddns-updates on;
allow client-updates;
allow unknown-clients;
autoritative;

key dhcp-ddns {
        algorithm hmac-md5;
        secret "nmN/axX6WmHHPctuEgqfAg==";
}

zone mreza.co.yu. {
        primary 10.10.10.2;
        key dhcp-ddns;
}

zone 10.10.10.in-addr.arpa. {
        primary 10.10.10.2;
        key dhcp-ddns;
}

subnet 10.10.10.0 netmask 255.255.255.0 {

  range 10.10.10.3 10.10.10.20;
  option domain-name-servers desktop.mreza.co.yu;
  option domain-name "mreza.co.yu";
  option broadcast-address 10.10.10.255;
  default-lease-time 600;
  max-lease-time 7200;
}
named.conf :

Code:
key dhcp-ddns {
        algorithm hmac-md5;
        secret "nmN/axX6WmHHPctuEgqfAg==";
};

acl "mreza" { 10.10.10.0/24; 127.0.0.1;};

options {
        directory "/var/lib/named";
        dump-file "/var/log/named_dump.db";
        statistics-file "/var/log/named.stats";
        allow-query { "mreza"; };
};

controls {
 inet 127.0.0.1 allow { 127.0.0.1; 10.10.10.2;} keys { dhcp-ddns;};
};


zone "." in {
        type hint;
        file "root.hint";
};

zone "localhost" in {
        type master;
        file "localhost.zone";
};

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

zone "mreza.co.yu" IN {
        type master;
        file "dyn/mreza.zone";
        allow-update { key dhcp-ddns; };
};

zone "10.10.10.in-addr.arpa" in {
        type master;
        file "dyn/10.10.10.mreza.zone";
        allow-update { key dhcp-ddns; };
};

include "/etc/named.conf.include";
mreza.zone :

Code:
$TTL 172800
mreza.co.yu.    IN      SOA     desktop.mreza.co.yu.        root.mreza.co.yu. (
                        2006042328      ; Serial
                        86400           ; Refresh
                        7200            ; Retry
                        604800          ; Expire
                        172800)         ; Minimum TTL
               IN NS      desktop.mreza.co.yu.
desktop         A       10.10.10.2
 
  


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
DISCUSSION: Configuring Dynamic Domain Name System (DDNS) Server XavierP LinuxAnswers Discussion 3 07-31-2009 11:07 AM
ddns (dynamic dns) kuru Linux - Software 1 12-29-2004 03:01 AM
DNS and DDNS mr_spooky Linux - Networking 3 03-11-2004 11:45 PM
primary DNS and DDNS linuxJaver Slackware 0 10-06-2003 11:31 PM
DDNS Client toW2K DNS akire1020 Linux - Networking 0 09-01-2003 06:44 AM

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