dhcpd won't update dns, RHEL ES
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Configuration > dhcpd won't update dns, RHEL ES




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    dhcpd won't update dns, RHEL ES  
Knute Snortum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 12:34 AM

Please direct me in the right direction if this is not the proper forum.
Thanks for any help you can give

Short synopsis:

dhcpd is giving out IP addresses just fine but not completely updating the
dns, so I can't ping client_name even though dhcpd has given client_name the
IP.

Gory details:

This is RHEL ES Standard, and yes, I've contacted support and they're not
helping.  We have a non-routing "inside" class C network (192.168.197)
connected to the outside through a gateway.  That part's working great.  We
have several servers and clients.  The clients are mostly PC's.  The
client's can get their IP address, gateway, and DNS info from the dhcp
server just fine -- people surf the 'net and everything.

But I have a service on the nice server (RHEL) that requires it to
authenticate the clients.  Part of doing this is it must be able to ping the
client and lookup its IP address.  We've never had a dhcp server that could
update the local dns server so until now we manually set the IP addresses of
the clients that needed this service and kept all the /etc/hosts file up to
date.  A pain, but it worked.

I'd like to stop doing that, especially since we're growing.  I've gotten
the dhcp and dns servers both running on the RHEL server but dhcp can't
updated the dns.

Here's /etc/dhcpd.copnf with some stuff change for security (I don't know it
that's necessary but I'm being careful):

***start dhcpd.conf
ddns-update-style interim;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.197.255;
option routers 192.168.197.1;
option domain-name-servers 192.168.197.203, 206.163.82.4, 208.161.110.79;
option domain-name "somewhere.com";

key rndckey {
algorithm       hmac-md5;
secret          secret_code;
};

subnet 192.168.197.0 netmask 255.255.255.0 {
range 192.168.197.150 192.168.197.199;
}

zone SOMEWHERE.COM. {
primary 127.0.0.1;
key rndckey;
}

zone 127.0.0.in-addr.arpa. {
primary 127.0.0.1;
key rndckey;
}
***end dhcpd.conf

And here's named.conf:

***start named.conf
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndckey; };
};

options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
statistics-file "/var/run/named/named.stats";
dump-file "/var/run/named/named.db";
};

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

zone  "." {
type hint;
file "db.rootcache";
};

# localhost - forward zone
zone "somewhere.com" {
type master;
notify no;
file "db.localhost";
allow-update { key rndckey; };
};

# localhost - inverse zone
zone "0.0.127.in-addr.arpa" {
type  master;
notify no;
file "db.127.0.0";
allow-update { key rndckey; };
};
***end named.conf

And here's a bit of /var/log/messages that shows the failure:

***start messages
Mar  5 10:35:53 aon3 named[6334]: shutting down: flushing changes
Mar  5 10:35:53 aon3 named[6334]: stopping command channel on 127.0.0.1#
953
Mar  5 10:35:53 aon3 named[6334]: no longer listening on 127.0.0.1#53
Mar  5 10:35:53 aon3 named[6334]: no longer listening on 192.168.197.203
#53
Mar  5 10:35:53 aon3 named[6334]: exiting
Mar  5 10:35:53 aon3 named:  succeeded
Mar  5 10:35:55 aon3 named[6371]: starting BIND 9.2.2 -u named -c
/etc/named.conf -d 1
Mar  5 10:35:55 aon3 named[6371]: using 2 CPUs
Mar  5 10:35:56 aon3 named[6371]: loading configuration from
'/etc/named.conf'
Mar  5 10:35:56 aon3 named[6371]: no IPv6 interfaces found
Mar  5 10:35:56 aon3 named[6371]: listening on IPv4 interface lo,
127.0.0.1#53
Mar  5 10:35:56 aon3 named[6371]: listening on IPv4 interface eth0,
192.168.197.203#53
Mar  5 10:35:56 aon3 named[6371]: command channel listening on 127.0.0.1
#953
Mar  5 10:35:56 aon3 named[6371]: zone 0.0.127.in-addr.arpa/IN: loaded
serial 2
Mar  5 10:35:56 aon3 named[6371]: zone somewhere.com/IN: loaded serial 9
9
Mar  5 10:35:56 aon3 named[6371]: running
Mar  5 10:35:56 aon3 named: named startup succeeded
Mar  5 10:36:05 aon3 dhcpd: dhcpd shutdown succeeded
Mar  5 10:36:05 aon3 dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Mar  5 10:36:05 aon3 dhcpd: Copyright 1995-2003 Internet Software
Consortium.
Mar  5 10:36:05 aon3 dhcpd: All rights reserved.
Mar  5 10:36:05 aon3 dhcpd: For info, please visit
http://www.isc.org/products/DHCP
Mar  5 10:36:05 aon3 dhcpd: Wrote 16 leases to leases file.
Mar  5 10:36:05 aon3 dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Mar  5 10:36:05 aon3 dhcpd: Copyright 1995-2003 Internet Software
Consortium.
Mar  5 10:36:05 aon3 dhcpd: All rights reserved.
Mar  5 10:36:05 aon3 dhcpd: For info, please visit
http://www.isc.org/products/DHCP
Mar  5 10:36:05 aon3 dhcpd: Wrote 16 leases to leases file.
Mar  5 10:36:05 aon3 dhcpd: Listening on
LPF/eth0/00:c0:9f:35:42:eb/192.168.197.0/24
Mar  5 10:36:05 aon3 dhcpd: Sending on
LPF/eth0/00:c0:9f:35:42:eb/192.168.197.0/24
Mar  5 10:36:05 aon3 dhcpd: Listening on
LPF/eth0/00:c0:9f:35:42:eb/192.168.197.0/24
Mar  5 10:36:05 aon3 dhcpd: Sending on   Socket/fallback/fallback-net
Mar  5 10:36:05 aon3 dhcpd: Sending on
LPF/eth0/00:c0:9f:35:42:eb/192.168.197.0/24
Mar  5 10:36:06 aon3 dhcpd: Sending on   Socket/fallback/fallback-net
Mar  5 10:36:06 aon3 dhcpd: dhcpd startup succeeded
Mar  5 10:36:54 aon3 dhcpd: DHCPDISCOVER from 00:50:04:5c:5c:bb
(dell-3500xp) via eth0
Mar  5 10:36:55 aon3 dhcpd: DHCPOFFER on 192.168.197.184 to
00:50:04:5c:5c:bb (dell-3500xp) via eth0
Mar  5 10:36:55 aon3 named[6371]: client 127.0.0.1#32780: request has
invalid signature: tsig verify failure
Mar  5 10:36:57 aon3 dhcpd: if IN A dell-3500xp.somewhere.com domain doesn't
exist add 300 IN A dell-3500xp.somewhere.com 192.168.197.184 add 300 IN TXT
dell-3500xp.somewhere.com "3127d023c94da9531f758dc03082e79b3b": timed out.
Mar  5 10:36:57 aon3 dhcpd: DHCPREQUEST for 192.168.197.184
(192.168.197.203) from 00:50:04:5c:5c:bb (dell-3500xp) via eth0
Mar  5 10:36:57 aon3 dhcpd: DHCPACK on 192.168.197.184 to 00:50:04:5c:5c:bb
(dell-3500xp) via eth0
***end messages

Any help will be appreciated.

--
---Knute Snortum <knute at addonsoftware dot com>
"Sure, I drink six 8-ounce glasses of water a day.  I just like my water hot
and filtered through ground coffee beans."


--
---Knute Snortum
"Sure, I drink six 8-ounce glasses of water a day.  I just like my water hot
and filtered through ground coffee beans."






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register