Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2009, 18:14
ACiD GRiM ACiD GRiM is offline
Junior Member
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default About to commit sudo rm -rf / over DDNS. Please help!

I've been trying to get DDNS to work between named and dhcpd for hours and NOTHING!!!

here is my dhcpd.conf

Code:
ddns-update-style interim;
ddns-updates on;
ddns-domainname "bencloud.net.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;
one-lease-per-client true;
allow bootp;
authoritative;
include "/etc/rndc.key";
option T150 code 150 = string;

zone bencloud.net. {
    primary 127.0.0.1;
    key rndckey;
}

zone 0.0.10.in-addr.arpa. {
	primary 127.0.0.1;
	key rndckey;
}

#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#


host xbox.bencloud.net {
    hardware ethernet 00:12:5a:80:cb:c4;
    fixed-address 10.0.0.3;
}
host benap.bencloud.net {
    hardware ethernet 00:16:c7:a0:c2:b8;
    fixed-address 10.0.0.2;
}
subnet 10.0.0.0 netmask 255.255.255.0 {
    interface br0;
    range 10.0.0.50 10.0.0.128;
    default-lease-time 6000;
    max-lease-time 7200;
    option domain-name "bencloud.net";
    option subnet-mask 255.255.255.0;
    option broadcast-address 10.0.0.255;
    option routers 10.0.0.1;
    option domain-name-servers 10.0.0.1;
    option time-offset -3600;


}
and here is my named.conf

Code:
// Red Hat BIND Configuration Tool
// 
// Default initial "Caching Only" name server configuration
//
include "/etc/rndc.key";

controls {inet 127.0.0.1 allow { localhost; } keys { rndckey; };};

options {

forwarders {	192.168.2.1 port 53;
};






directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
	/*
	 * 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;
};

zone "51.92.69.IN-ADDR.ARPA." IN {
	type master;
	file "69.92.51.db";
};
zone "0.0.10.IN-ADDR.ARPA." IN {
	type master;
	file "10.0.0.db";
        allow-update { key rndckey; };
        notify yes;
};
zone "bencloud.net." IN {
	type master;
	file "bencloud.net.db";
        allow-update { key rndckey; };
        notify yes;
};
zone "." IN {
	type hint;
	file "named.root";
};

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

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; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." IN {
        type master;
	file "named.ip6.local";
	allow-update { none; };
};

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

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

 // add the following section. A log file "dns-security.log" will be created
 // in the named directory
 logging {
    category dnssec   { security_log; };
    category update   { security_log; };
    category security { security_log; };

    channel security_log {
        file "dns-security.log" versions 5 size 20m;
            // every time the log grows over 20 Mbyte, it will
            // backup and rollover. Maximum 5 backups will be kept.
        print-time yes;
        print-category yes;
        print-severity yes;
        severity info;
    };
 };
I'm connected over ethernet and the hostname of my laptop is bencomp.bencloud.net (should I just set it to bencomp?). No matter howmany times i replug the cat5 i never get a ddns update
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2009, 07:45
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
 
Default

what are u seeing in the logs when the laptop requests for a lease ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN + Trac module for ISPConfig3 quentusrex Developers' Forum 13 16th November 2008 00:39
Web folders excluded from permissions being changed by ISPConfig bswinnerton Installation/Configuration 1 15th March 2008 23:07
sudo to enable root on Ubuntu 7.10 server klf Installation/Configuration 4 2nd January 2008 23:21
Two named processes running atjensen11 Server Operation 11 21st December 2007 06:35
sudo su -- vs. sudo su - pushembekar Technical 2 25th March 2006 17:00


All times are GMT +2. The time now is 03:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.