Redhat 8.0 - DDNS problem
Hello,
I am looking for the help after 1 week of uselles work. I have troubless with setting of ddns on redhat 8.0. I have set named.conf and dhcpd.conf including interim mode and although I may to lease the ip address, it is not registered in dns. I have the "dhcpd: if IN A hostname domain dosn't exist add hostname "key": connection refused. I really don't know what next to do with that message. Please help !!!!!!!!!!!!!!!!! Thank you in advance. Jst |
Details:
########### # DHCPD.CONF # ########### server-identifier prohnila.cela.cz; option domain-name "prohnila.cela.cz"; option domain-name-servers 192.168.1.1, 62.24.70.43, 62.24.64.2, 62.24.64.3; #ddns-update-style none; ddns-update-style interim; deny bootp; ddns-domainname "prohnila.cela.cz"; ddns-rev-domainname "1.168.192.in-addr.arpa"; ddns-updates on; update-static-leases on; default-lease-time 28000; max-lease-time 172800; include "/etc/rndc.key"; include "/etc/ddns.key"; zone prohnila.cela.cz { primary 127.0.0.1; key rndc_key; } zone 1.168.192.in-addr.arpa { primary 127.0.0.1; key rndc_key; } subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.3 192.168.1.5; option routers 192.168.1.1; } subnet 192.168.2.0 netmask 255.255.255.0 { option routers 192.168.2.1; } ########## # named.conf # ########## include "/etc/rndc.key"; logging { category lame-servers {null; }; }; options { directory "/var/named"; listen-on {192.168.1.1; 192.168.2.1; 62.245.84.237; }; forward first; forwarders { 62.24.64.2; 62.24.70.43; 62.24.64.3; }; }; controls { inet 127.0.0.1 allow {localhost;} keys {rndc_key; }; }; zone "." in { type hint; file "root.hints"; }; zone "0.0.127.in-addr.arpa" { type master; file "pz/127.0.0"; }; zone "1.168.192.in-addr.arpa" { type master; notify yes; file "pz/192.168.1"; allow-update {key rndc_key; }; }; zone "cela.cz" { type slave; file "sz/cela.cz"; masters { 62.24.70.43; }; }; zone "prohnila.cela.cz" { type master; notify yes; file "pz/prohnila.cela.cz"; allow-transfer {62.24.70.43;localhost; }; allow-update {key rndc_key; }; }; ######### # DDNS.KEY # ######### key DHCP_UPDATER { algorithm hmac-md5; secret "Private1"; }; ######### # RNDC.KEY # ######### key rndc_key { algorithm hmac-md5; secret "Private2"; }; ########## # RNDC.CONF # ########## options { default-server localhost; default-key rndc_key; }; server localhost { key rndc_key; }; key rndc_key { algorithm hmac-md5; secret "Private2"; }; ########################## # Error message in /var/log/messages # ########################## Dec 14 19:26:46 r2u237 dhcpd: if IN A JST.prohnila.cela.cz domain doesn't exist add 14000 IN A JST.prohnila.cela.cz 192.168.1.19 add 14000 IN TXT JST.prohnila.cela.cz "Private": connection refused. |
All times are GMT -5. The time now is 05:59 PM. |