I am not a Linux Guru, so I just learned how to configure dhcpd5 to using static address instead of uninstalling. To avoid any potential problems. It looks the opposite :-). In "/var/lib/samba/private/named.conf" is a line "// If you are just adding zones, please do that in /etc/bind/named.conf.local". I do not use it, I estimate the zone will add samba provisioning. I have to see what a zone is. Thanks Jiri Knotek On 13. 12. 2017 17:32, Rowland Penny via samba wrote:> On Wed, 13 Dec 2017 15:49:41 +0100 > Jiří Knotek via samba <samba at lists.samba.org> wrote: > >> Hello Rowland, >> >> A small change has been made and replication works in both >> directions: dhcpcd.conf requires both dns servers in reverse order. > Ah, dhcpd5, the thing I would remove straight after installing the > debian OS, that thing is a pain in the **** and isn't needed at all on > a fixed IP machine. > > You also haven't got: > > include "/var/lib/samba/private/named.conf"; > > in /etc/bind/named.conf.local > > Rowland >-- *Ing. Jiří Knotek* programátor *GEMA s.r.o. Automatizace technologických procesů* Doubravice 13, Pardubice 19, 53353 Tel: +420604570127 E-mail: jiri.knotek at gemapce.cz <mailto:jiri.knotek at gemapce.cz> Web:www.gemapce.cz <http://www.gemapce.cz/>
On Wed, 13 Dec 2017 20:21:44 +0100 Jiří Knotek via samba <samba at lists.samba.org> wrote:> I am not a Linux Guru, so I just learned how to configure dhcpd5 to > using static address instead of uninstalling. To avoid any potential > problems. It looks the opposite :-).Raspbian now uses dhcpd5, they seem to think it makes things easier, it might do if you are just using the rpi as a client, but it just makes things harder for me (I am not alone, the rpi forum is littered with 'how do I set a fixed ipaddress' questions) If you remove the dhcpd5 package, you will find that the dhcp-client package is also installed, so you can use this for getting the computers info via DHCP, or you can set a fixed IP etc in /etc/network/interfaces> > In "/var/lib/samba/private/named.conf" is a line "// If you are just > adding zones, please do that in /etc/bind/named.conf.local". I do not > use it, I estimate the zone will add samba provisioning. I have to > see what a zone is.A dns zone is dns info is stored and is named after the dns domain, it can be a forward or reverse zone. For instance, if your dns domain is called 'example.com' the AD forward zone will be called 'example.com', you will also have a forest forward zone called '_msdcs.example.com' The reverse zone is based on your IP and netmask, if your DCs ipaddress is 192.168.0.2, then the reversezone would be '0.168.192.in-addr.arpa'. You can find out your zones with: samba-tool dns zonelist 127.0.0.1 -U Administrator Rowland
Hallo Rowland, Thank you for the brief and clear interpretation, more I find on Google. I have one more problem, but I'll set up a new Subject. Thank you for the helpJ.Knotek On 13. 12. 2017 20:56, Rowland Penny via samba wrote:> On Wed, 13 Dec 2017 20:21:44 +0100 > Jiří Knotek via samba <samba at lists.samba.org> wrote: > >> I am not a Linux Guru, so I just learned how to configure dhcpd5 to >> using static address instead of uninstalling. To avoid any potential >> problems. It looks the opposite :-). > Raspbian now uses dhcpd5, they seem to think it makes things easier, it > might do if you are just using the rpi as a client, but it just makes > things harder for me (I am not alone, the rpi forum is littered with > 'how do I set a fixed ipaddress' questions) > If you remove the dhcpd5 package, you will find that the dhcp-client > package is also installed, so you can use this for getting the > computers info via DHCP, or you can set a fixed IP etc > in /etc/network/interfaces > >> In "/var/lib/samba/private/named.conf" is a line "// If you are just >> adding zones, please do that in /etc/bind/named.conf.local". I do not >> use it, I estimate the zone will add samba provisioning. I have to >> see what a zone is. > A dns zone is dns info is stored and is named after the dns domain, it > can be a forward or reverse zone. For instance, if your dns domain is > called 'example.com' the AD forward zone will be called 'example.com', > you will also have a forest forward zone called '_msdcs.example.com' > > The reverse zone is based on your IP and netmask, if your DCs > ipaddress is 192.168.0.2, then the reversezone would be > '0.168.192.in-addr.arpa'. > > You can find out your zones with: > > samba-tool dns zonelist 127.0.0.1 -U Administrator > > Rowland >-- *Ing. Jiří Knotek* programátor *GEMA s.r.o. Automatizace technologických procesů* Doubravice 13, Pardubice 19, 53353 Tel: +420604570127 E-mail: jiri.knotek at gemapce.cz <mailto:jiri.knotek at gemapce.cz> Web:www.gemapce.cz <http://www.gemapce.cz/>