Dipl.-Ing. Péter Varkoly
2019-Oct-03 12:43 UTC
[Samba] Changing the A-Record of the domain.
Hi, after installing a samba-4.8.9 AD-Server there is/are an A-Records created for the domain delivering the ip-address(es) of the AD-server. This ip can be changed vie "samba-tool dns update" but after restarting the AD-server the ip-address of the server will be added again. Can this be prohibited or is this necessary to the functionality of the AD-server. Thanks! -- Dipl.-Ing. P?ter Varkoly Greuleinweg 37. D-90411 N?rnberg
On 03/10/2019 13:43, Dipl.-Ing. P?ter Varkoly via samba wrote:> Hi, > > after installing a samba-4.8.9 AD-Server there is/are an A-Records > created for the domain delivering the ip-address(es) of the AD-server. > This ip can be changed vie "samba-tool dns update" but after restarting > the AD-server the ip-address of the server will be added again. > Can this be prohibited or is this necessary to the functionality of the > AD-server. > > Thanks!Why do you need to change the IP ? If an IP is being added after Samba is restarted, this is obviously being done by samba_dnsupdate, which is adding the ipaddress of the DC and this is required. Rowland
This sounds all correct, but im betting your having multiple interfaces and the default is off. Can you shown. hostname -s hostname -d hostname -f hostname -I hostname -A And dig -x wanted_ip Dig -x current-Ip. cat /etc/resolv.conf cat /etc/hosts And you OS is? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Dipl.-Ing. P?ter Varkoly via samba > Verzonden: donderdag 3 oktober 2019 14:43 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Changing the A-Record of the domain. > > Hi, > > after installing a samba-4.8.9 AD-Server there is/are an A-Records > created for the domain delivering the ip-address(es) of the AD-server. > This ip can be changed vie "samba-tool dns update" but after > restarting > the AD-server the ip-address of the server will be added again. > Can this be prohibited or is this necessary to the > functionality of the > AD-server. > > Thanks! > -- > Dipl.-Ing. P?ter Varkoly > Greuleinweg 37. > D-90411 N?rnberg > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On 03/10/2019 14:14, L.P.H. van Belle via samba wrote:> This sounds all correct, but im betting your having multiple interfaces and the default is off. > > Can you shown. > > hostname -s > hostname -d > hostname -f > hostname -I > hostname -A > > And > dig -x wanted_ip > Dig -x current-Ip. > > cat /etc/resolv.conf > cat /etc/hosts > > And you OS is? >That was my thought, which is why I asked why the IP needed changing, I think the OP also needs to post their smb.conf. Rowland
Dipl.-Ing. Péter Varkoly
2019-Oct-03 13:41 UTC
[Samba] Changing the A-Record of the domain.
Am Donnerstag, den 03.10.2019, 14:13 +0100 schrieb Rowland penny via samba:> On 03/10/2019 13:43, Dipl.-Ing. P?ter Varkoly via samba wrote: > > Hi, > > > > after installing a samba-4.8.9 AD-Server there is/are an A-Records > > created for the domain delivering the ip-address(es) of the AD- > > server. > > This ip can be changed vie "samba-tool dns update" but after > > restarting > > the AD-server the ip-address of the server will be added again. > > Can this be prohibited or is this necessary to the functionality of > > the > > AD-server. > > > > Thanks! > > Why do you need to change the IP ?This system was migrated form samba-3 NT to samba-4 AD. The A-Record of the DNS-Domain pointed to the web-server which is placed on an other server.> If an IP is beadded after Samba is restarted, this is obviously > being done by samba_dnsupdate, which is adding the ipaddress of the > DC > and this is required.Thanks that was what I wanted to know. There are some rules in life that you have to accept. That's one of those :-)> > Rowland > > >-- Dipl.-Ing. P?ter Varkoly Greuleinweg 37. D-90411 N?rnberg