LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2008, 10:08 AM   #1
parthiban3md
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
ddns -error in updating


Aug 5 18:15:18 inside dhcpd: DHCPDISCOVER from 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:19 inside dhcpd: DHCPOFFER on 192.168.0.53 to 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:20 inside dhcpd: Unable to add forward map from sns.techteam.com to 192.168.0.53: timed out
Aug 5 18:15:20 inside dhcpd: DHCPREQUEST for 192.168.0.53 (192.168.0.26) from 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:15:20 inside dhcpd: DHCPACK on 192.168.0.53 to 00:80:48:4b:f3:40 (sns) via eth0
Aug 5 18:17:27 inside NET[10156]: /sbin/dhclient-script : updated /etc/resolv.conf


i have got this error msg when in dhcp updating ddns server
my dns and dhcp r in same box


here is my named.conf



PHP Code:
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
        
directory       "/var/named";
        
//internet dns
        
forwarders {4.2.2.3;};
};
controls {
inet {127.0.0.1;} port 953 allow {localhost;}
key {key rndckey}
}

acl techteam {
                
192.168.0.0/24;
                
127.0.0.1;


}

acl techteam {
                
192.168.0.0/24;
                
127.0.0.1;
}

key "rndckey" {
        
algorithm       hmac-md5;
        
secret          "zuhYPtbFGC3LYbZDWPRk2PXx05Zf3f0Z165JZ05Im5VZguVsVmvCAG0CDGmZ";
};

zone "inside.techteam.com" IN {
  
type master;
  
file "forward.zone";//this file resides in /var/named/chroot/var/named
    
allow-update key "rndckey"; };  //allow this machine to update the DNS table
};

# reverse zone
zone "0.168.192.in-addr.arpa" IN {
  
type master;
  
file "reverse.zone";//this file resides in /var/named/chroot/var/named
    
allow-update key "rndckey"; };  //allow this machine to update the DNS table
}; 
and my dhcpd.conf is
PHP Code:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
ddns-updates on;
ddns-update-style interim;
allow client-updates;
#ignore client-updates;

log-facility local7;

subnet 192.168.0.0 netmask 255.255.255.0 {

# --- default gateway
        
option routers                  192.168.0.1;
        
option subnet-mask              255.255.255.0;

        
option nis-domain               "techteam.com";
        
option domain-name              "techteam.com";
        
option domain-name-servers      4.2.2.2;

        
option time-offset              -18000# Eastern Standard Time
#       option ntp-servers              192.168.1.1;
#       option netbios-name-servers     192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;


        
range dynamic-bootp 192.168.0.51 192.168.0.59;
        default-
lease-time 21600;
        
max-lease-time 43200;

        
# we want the nameserver to appear at a fixed address
        
host ns {
                
hardware ethernet 00:08:A1:78:46:98;
                
fixed-address 192.168.0.2;
               }

        
host ram {
                
hardware ethernet 00:0F:EA:99:37:34;
                
fixed-address 192.168.0.25;
               }
        
host inside {
                
hardware ethernet 00:0C:29:2F:C4:49;
                
fixed-address 192.168.0.26;
               }
}
key "rndckey" {
        
algorithm       hmac-md5;
        
secret          "zuhYPtbFGC3LYbZDWPRk2PXx05Zf3f0Z165JZ05Im5VZguVsVmvCAG0CDGmZ";
};
zone inside.techteam.com{

 
primary 127.0.0.1;
     
key rndckey;
   }
zone 0.168.192.in.addr.arpa{
   
primary 127.0.0.1;
   
key rndckey;
  } 
 
Old 08-05-2008, 10:16 AM   #2
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 302

Rep: Reputation: 32
I'm not 100% sure if this is related to that problem or not - or even if this is an issue but:
Code:
subnet 192.168.0.0 netmask 255.255.255.0 {

        option routers                  192.168.0.1;
        option subnet-mask              255.255.255.0;

        option nis-domain               "techteam.com";
        option domain-name              "techteam.com";
        option domain-name-servers      4.2.2.2;

        option time-offset              -18000; # Eastern Standard Time

        range dynamic-bootp 192.168.0.51 192.168.0.59;
        default-lease-time 21600;
        max-lease-time 43200;

*        host ns {
*                hardware ethernet 00:08:A1:78:46:98;
*                fixed-address 192.168.0.2;
*               }

*        host ram {
*                hardware ethernet 00:0F:EA:99:37:34;
*                fixed-address 192.168.0.25;
*               }
*        host inside {
*                hardware ethernet 00:0C:29:2F:C4:49;
*                fixed-address 192.168.0.26;
*               }
}
Isn't the parts I put stars next to basically asking for an IP address outside of the range that you are defining right above it?

I remember having an issue before and that seemed to be a problem with my setup.

Someone correct me if I'm wrong.
 
  


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
Error when updating Kernel ekowalc Red Hat 1 11-13-2005 04:19 AM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-16-2005 12:22 AM
Error after updating Software! sitmex Linux - Newbie 0 07-04-2005 09:38 PM
Updating system error FlashAsh99 Linux - Software 7 06-28-2005 02:26 PM
Error while updating Tribes 2 pilot1 Linux - Games 1 04-10-2004 11:00 PM


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