LinuxQuestions.org
Register a domain and help support LQ
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 04-23-2013, 12:39 PM   #1
Orionizer
LQ Newbie
 
Registered: Apr 2005
Distribution: Suse Enterprise 11.2
Posts: 6

Rep: Reputation: 0
Trying to setup Dynamic DNS and DHCP on SLES 11.2


Hi, I'm fairly competent in the Samba config department, but not so much in the DHCP and DNS departments.

Our current network configuration is:

DHCP - Windows 2003 Small Business Server
DNS - IBM iSeries

We are looking to retire the 2003 server and the iSeries sucks for DNS. Both of these servers were setup by someone else that is no longer here.

We have an SLES 11.2 system running as a Samba server. I'm trying to setup the system for DHCP and a Dynamic DNS server.

While everything seems to be working somewhat well (DHCP assigns and it appears the Dynamic DNS is working, to a point), I have some strange messages in /var/log/messages.

I guess the best way to start is by showing my configuration files. My dhcpd.conf file is here:

Code:
option domain-name "mydomain.com";
option domain-name-servers 172.21.30.223, 172.21.30.246;
option routers 172.21.30.254;
option broadcast-address 172.21.30.223;
default-lease-time 14400;
max-lease-time 14400;
authoritative ;
#allow client-updates;
ddns-rev-domainname "in-addr.arpa";
ddns-update-style interim;
include "/etc/named.d/tsigkey";
zone harrissandcov.com. {       primary 172.21.30.223;  key MyKey;}
zone 21.172.in-addr.arpa. {     primary 172.21.30.223;  key MyKey;}
subnet 172.21.0.0 netmask 255.255.0.0 {
  option routers 172.21.30.254;
  default-lease-time 14400;
  max-lease-time 14400;
  ddns-domainname "mydomain.com";
  pool {
    range 172.21.1.1 172.21.2.255;
    ddns-updates on;
  }
}
And here is the named.conf:

Code:
options {
        directory "/var/lib/named";
        dump-file "/var/log/named_dump.db";
        statistics-file "/var/log/named.stats";
        listen-on-v6 { any; };
        notify no;
        include "/etc/named.d/forwarders.conf";
};

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

include "/etc/named.conf.include";
zone "harrissandcov.com" in {
        allow-transfer { any; localhost; localnets; };
        file "dyn/mydomain.com";
        type master;
        allow-update { key MyKey; };
};
logging {
        category default { log_syslog; };
        channel log_syslog { syslog; };
};
zone "21.172.in-addr.arpa" in {
        file "dyn/21.172.in-addr.arpa";
        type master;
        allow-update { key MyKey; };
        allow-transfer { any; localhost; localnets; };
};
Here are some examples of the /var/log/messages I'm seeing:

Code:
Apr 23 13:28:06 enterprise named[21180]: client 172.21.30.242#37688: updating zone 'mydomain.com/IN': update unsuccessful: helpdesk.mydomain.com/CNAME: 'rrset does not exist' prerequisite not satisfied (YXRRSET)
Apr 23 13:28:15 enterprise named[21180]: client 172.21.1.54#63300: update 'mydomain.com/IN' denied
Apr 23 13:23:55 enterprise named[21180]: client 172.21.1.28#52533: updating zone 'mydomain.com/IN': update unsuccessful: matec-double.mydomain.com/A: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
Also, on my particular machine, I have 2 network adapters (1 wired, 1 wireless). When I attempt to look at my machine via nslookup, I get the following:

Server: 172.21.30.223
Address: 172.21.30.223#53

Non-authoritative answer:
Name: orionizer
Address: 66.152.109.110
Name: orionizer
Address: 69.16.143.110

Yet, my assigned IP addresses are actually:

172.21.1.6 and 172.21.1.7

Can anyone take a look and see what might be causing these errors and what configuration issues I might have?

Thanks in advance!

Last edited by Orionizer; 04-23-2013 at 04:40 PM.
 
Old 04-23-2013, 12:43 PM   #2
Orionizer
LQ Newbie
 
Registered: Apr 2005
Distribution: Suse Enterprise 11.2
Posts: 6

Original Poster
Rep: Reputation: 0
I guess I should also let you know:

172.21.30.223 is the SLES 11.2 server
172.21.30.246 is a Windows 2008 Standard server I'm setting up as a backup DNS
172.21.30.254 is our gateway
 
Old 04-24-2013, 03:59 PM   #3
Orionizer
LQ Newbie
 
Registered: Apr 2005
Distribution: Suse Enterprise 11.2
Posts: 6

Original Poster
Rep: Reputation: 0
Anybody??
 
Old 04-24-2013, 04:38 PM   #4
Orionizer
LQ Newbie
 
Registered: Apr 2005
Distribution: Suse Enterprise 11.2
Posts: 6

Original Poster
Rep: Reputation: 0
Did I post this in the wrong forum? Should it have been in Linux - Server?

If so, can someone move it?
 
  


Reply

Tags
ddns, dhcp, dns, dynamic


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
LXer: Howto setup DHCP Server and Dynamic DNS with BIND in Debian LXer Syndicated Linux News 0 07-27-2008 05:11 PM
windows-style dns/dhcp server setup with dynamic updates fire.is.real Linux - Server 1 08-23-2007 11:00 PM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 02:16 PM
DHCP with Dynamic DNS mmontanaro Linux - Networking 2 12-23-2003 07:44 AM
Dynamic DNS for DHCP neovox Linux - Networking 0 03-23-2001 03:56 PM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration