Web lists-archives.com

Re: [Samba] can't do dhcp + samba + bind work together




Samba - General mailing list wrote
> On Wed, 17 May 2017 04:26:16 -0700 (PDT)
> artyom via samba <

> samba@.samba

> > wrote:
> 
>> I use official manual from wiki.samba.org for install samba 4.6.3
>> (from source) with bind_dlz on bind 9.9.10 (from source too). My OS
>> is Debian Jessie x64 8.8 netinst. I use
>> https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9
>> article for dynamic dhcp updates on dns zones. DHCP is working but dns
>> updates not: i have this messages on my syslog then dhcpoffer:
> 
>> named[611]: samba_dlz: committed transaction on zone kch.remel.lan
>> May 17 14:32:09 ad1 remel: DHCP-DNS Update failed: 01
>>
> 
> The forward zone is getting updated but the reverse zone isn't, have
> you created the reverse zone, it isn't created automatically.
> 
> Rowland

Thanks! Now, then i use 

/etc/dhcp/bin/dhcp-dyndns.sh add 10.10.1.253 01:02:03:04:06:09 twofivethree

and later

/etc/dhcp/bin/dhcp-dyndns.sh delete 10.10.1.253 01:02:03:04:06:09
twofivethree

it's work well, no errors, but then i add a client (windows seven) i have:

May 18 09:10:35 ad1 dhcpd: DHCPDISCOVER from ea:d6:54:12:48:54 via eth0
May 18 09:10:36 ad1 dhcpd: DHCPOFFER on 10.10.1.0 to ea:d6:54:12:48:54
(test-pc) via eth0
May 18 09:10:36 ad1 dhcpd: Commit: IP: 10.10.1.0 DHCID: 1:ea:d6:54:12:48:54
Name: test-pc
May 18 09:10:36 ad1 dhcpd: execute_statement argv[0] =
/etc/dhcp/bin/dhcp-dyndns.sh
May 18 09:10:36 ad1 dhcpd: execute_statement argv[1] = add
May 18 09:10:36 ad1 dhcpd: execute_statement argv[2] = 10.10.1.0
May 18 09:10:36 ad1 dhcpd: execute_statement argv[3] = 1:ea:d6:54:12:48:54
May 18 09:10:36 ad1 dhcpd: execute_statement argv[4] = test-pc
May 18 09:10:36 ad1 dhcpd: execute: /etc/dhcp/bin/dhcp-dyndns.sh exit status
256
May 18 09:10:36 ad1 dhcpd: DHCPREQUEST for 10.10.1.0 (10.10.0.3) from
ea:d6:54:12:48:54 (test-pc) via eth0
May 18 09:10:36 ad1 dhcpd: DHCPACK on 10.10.1.0 to ea:d6:54:12:48:54
(test-pc) via eth0
May 18 09:10:39 ad1 named[607]: samba_dlz: starting transaction on zone
kch.remel.lan
May 18 09:10:39 ad1 named[607]: client 10.10.1.0#61811: update
'kch.remel.lan/IN' denied
May 18 09:10:39 ad1 named[607]: samba_dlz: cancelling transaction on zone
kch.remel.lan
May 18 09:10:39 ad1 named[607]: samba_dlz: starting transaction on zone
kch.remel.lan
May 18 09:10:39 ad1 named[607]: client 10.10.1.0#56098: update
'kch.remel.lan/IN' denied
May 18 09:10:39 ad1 named[607]: samba_dlz: cancelling transaction on zone
kch.remel.lan

why it can deny transaction?




--
View this message in context: http://samba.2283325.n4.nabble.com/can-t-do-dhcp-samba-bind-work-together-tp4718775p4718801.html
Sent from the Samba - General mailing list archive at Nabble.com.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba