You are not logged in.

#1 2015-06-14 17:57:43

ashbreeze
Member
Registered: 2014-03-02
Posts: 9

dhcp 4.3.2, bind 9.10.2, unable to get ddns to work

Okay, I've been working on this for hours. I had it working on the old ubuntu machine (that I hate otherwise). I know about the key...
I have carefully set everything up according to the man. I have tweaked and worked with rndc (it is workingfine).
No matter what I do, dhcpd is not allowed to update the zone file with forward map.
I don't have typos... everything else is working. I have the file permissions wide open. I have dhcpd in named group.
I'm pulling my hair out and ready to live without local name resolution. You are my last hope OB1.
Is there any connection with the polkit error below for the dhcpd process? I worked on polkit for a bit with no luck.
For what ever reason it seems broken. I can post the conf files... What ever, I'm exhausted.

Jun 14 12:29:55 gate systemd[1]: Stopping IPv4 DHCP server...
Jun 14 12:29:55 gate systemd[1]: Starting IPv4 DHCP server...
Jun 14 12:29:55 gate dhcpd[16785]: WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
Jun 14 12:29:55 gate dhcpd[16785]: Internet Systems Consortium DHCP Server 4.3.2
Jun 14 12:29:55 gate dhcpd[16785]: Copyright 2004-2015 Internet Systems Consortium.
Jun 14 12:29:55 gate dhcpd[16785]: All rights reserved.
Jun 14 12:29:55 gate dhcpd[16785]: For info, please visit https://www.isc.org/software/dhcp/
Jun 14 12:29:55 gate dhcpd[16785]: Wrote 0 class decls to leases file.
Jun 14 12:29:55 gate dhcpd[16785]: Wrote 0 deleted host decls to leases file.
Jun 14 12:29:55 gate dhcpd[16785]: Wrote 0 new dynamic host decls to leases file.
Jun 14 12:29:55 gate dhcpd[16785]: Wrote 23 leases to leases file.
Jun 14 12:29:55 gate dhcpd[16786]: Server starting service.
Jun 14 12:29:55 gate systemd[1]: Started IPv4 DHCP server.
Jun 14 12:29:55 gate polkitd[16691]: [b]Unregistered Authentication Agent for unix-process:16779:4168489 (system bus name :1.248, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C) (disconnected from bus)[/b]
Jun 14 12:30:00 gate dhcpd[16786]: DHCPREQUEST for 192.168.10.170 from c8:60:00:6e:03:2d (host) via net10
Jun 14 12:30:00 gate dhcpd[16786]: DHCPACK on 192.168.10.170 to c8:60:00:6e:03:2d (host) via net10
Jun 14 12:30:12 gate dhcpd[16786]: [b]Unable to add forward map from host.domain.com[/b] to 192.168.10.170: timed out
Jun 14 12:44:37 gate named[16891]: starting BIND 9.10.2 -f -u named
Jun 14 12:44:37 gate named[16891]: built with '--prefix=/usr' '--sysconfdir=/etc' '--sbindir=/usr/bin' '--localstatedir=/var' '--disable-static' '--with-openssl' '--with-libxml2' '--with-libtool' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
Jun 14 12:44:37 gate named[16891]: ----------------------------------------------------
Jun 14 12:44:37 gate named[16891]: BIND 9 is maintained by Internet Systems Consortium,
Jun 14 12:44:37 gate named[16891]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Jun 14 12:44:37 gate named[16891]: corporation.  Support and training for BIND 9 are
Jun 14 12:44:37 gate named[16891]: available at https://www.isc.org/support
Jun 14 12:44:37 gate named[16891]: ----------------------------------------------------
Jun 14 12:44:37 gate named[16891]: adjusted limit on open files from 4096 to 1048576
Jun 14 12:44:37 gate named[16891]: found 2 CPUs, using 2 worker threads
Jun 14 12:44:37 gate named[16891]: using 2 UDP listeners per interface
Jun 14 12:44:37 gate named[16891]: using up to 4096 sockets
Jun 14 12:44:37 gate named[16891]: loading configuration from '/etc/named.conf'
Jun 14 12:44:37 gate named[16891]: reading built-in trusted keys from file '/etc/bind.keys'
Jun 14 12:44:37 gate named[16891]: using default UDP/IPv4 port range: [1024, 65535]
Jun 14 12:44:37 gate named[16891]: using default UDP/IPv6 port range: [1024, 65535]
Jun 14 12:44:37 gate named[16891]: listening on IPv6 interfaces, port 53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net9, 192.168.9.2#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net9:0, 192.168.9.249#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net9:1, 192.168.9.3#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1, 192.168.1.2#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:7, 192.168.11.2#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:0, 192.168.1.1#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:1, 192.168.1.3#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:2, 192.168.1.4#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:3, 192.168.1.5#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:4, 192.168.1.6#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:5, 192.168.1.7#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:6, 192.168.1.8#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net1:8, 192.168.11.3#53
Jun 14 12:44:37 gate named[16891]: listening on IPv4 interface net10, 192.168.10.2#53
Jun 14 12:44:37 gate named[16891]: generating session key for dynamic DNS

Last edited by ashbreeze (2015-06-14 17:59:15)

Offline

#2 2015-06-16 11:40:47

ashbreeze
Member
Registered: 2014-03-02
Posts: 9

Re: dhcp 4.3.2, bind 9.10.2, unable to get ddns to work

The problem was that named wasn't listening to 127.0.0.1.
i.e.:

options {
    ... 
    listen-on {
      127.0.0.1;
      ...
    };  
    ...
};

Offline

Board footer

Powered by FluxBB