LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Trying to setup Dynamic DNS and DHCP on SLES 11.2 (http://www.linuxquestions.org/questions/linux-server-73/trying-to-setup-dynamic-dns-and-dhcp-on-sles-11-2-a-4175459315/)

Orionizer 04-23-2013 01:39 PM

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!

Orionizer 04-23-2013 01:43 PM

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

Orionizer 04-24-2013 04:59 PM

Anybody??

Orionizer 04-24-2013 05:38 PM

Did I post this in the wrong forum? Should it have been in Linux - Server?

If so, can someone move it?


All times are GMT -5. The time now is 05:48 PM.