Hello, i have samba 4 as AC-DC mode with Bind as DLZ, all work well but, in my server i have 2 NICs, one of them is only to work into a servers network and don't want to be into dns. I remove all the internal ip reference from DNS, but samba always create them again. So how i can tell to samba that ignore that interface and not put it's ip into DNS?? --------------------------------------- Al tanto Ing. Luis Felipe Domínguez Vega Administrador de la Red de Desoft Matanzas GNU/Linux Kernel Developer - rtlwifi kernel module "No es grande aquel que nunca falla, es grande el que nunca se da por vencido… "
On Thu, 5 Jan 2017, Luis Felipe Dominguez Vega via samba wrote:> Hello, i have samba 4 as AC-DC mode with Bind as DLZ, all work well but, > in my server i have 2 NICs, one of them is only to work into a servers > network and don't want to be into dns. I remove all the internal ip > reference from DNS, but samba always create them again. So how i can > tell to samba that ignore that interface and not put it's ip into DNS??Add to smb.conf [global] section... interfaces = eth0 bind interfaces only = Yes eth0 should be whichever interface you want to listen on. I believe it can be either an interface name or IP.
Hi Luis, Am 05.01.2017 um 15:16 schrieb Luis Felipe Dominguez Vega via samba:> Hello, i have samba 4 as AC-DC mode with Bind as DLZ, all work > well but, in my server i have 2 NICs, one of them is only to work > into a servers network and don't want to be into dns. I remove all > the internal ip reference from DNS, but samba always create > them again. So how i can tell to samba that ignore that interface > and not put it's ip into DNS??https://wiki.samba.org/index.php/Configure_Samba_to_Bind_to_Specific_Interfaces Regards, Marc
Thansk for respond, this is a good approach but tell to samba that listen only for that interface and i have some servers that i need connect to domain connected only to internal Network, finding i found (sorry) in the help of samba_dnsupdate with the parameter "--current-ip=<ip>" and then this app delete all the ips and put only that i pass in the parameters, thanks and rewards. --------------------------------------- Al tanto Ing. Luis Felipe Domínguez Vega Administrador de la Red de Desoft Matanzas GNU/Linux Kernel Developer - rtlwifi kernel module "No es grande aquel que nunca falla, es grande el que nunca se da por vencido… " ----- Original Message ----- From: "Marc Muehlfeld" <mmuehlfeld at samba.org> To: "Luis Felipe Dominguez Vega" <luis.dominguez at mtz.desoft.cu>, samba at lists.samba.org Sent: Friday, January 6, 2017 6:34:46 AM Subject: Re: [Samba] About DNS Updates Hi Luis, Am 05.01.2017 um 15:16 schrieb Luis Felipe Dominguez Vega via samba:> Hello, i have samba 4 as AC-DC mode with Bind as DLZ, all work > well but, in my server i have 2 NICs, one of them is only to work > into a servers network and don't want to be into dns. I remove all > the internal ip reference from DNS, but samba always create > them again. So how i can tell to samba that ignore that interface > and not put it's ip into DNS??https://wiki.samba.org/index.php/Configure_Samba_to_Bind_to_Specific_Interfaces Regards, Marc
How about a "advanced" routing setup. http://www.linuxhorizon.ro/iproute2.html together with the suggestion for Marc. But make sure that you "primary" network interface is the ETH what samba (internal Network) needs. You message is a bit puzzeling.. (sorry) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Luis Felipe > Dominguez Vega via samba > Verzonden: vrijdag 6 januari 2017 13:36 > Aan: Marc Muehlfeld > CC: samba at lists.samba.org > Onderwerp: Re: [Samba] About DNS Updates > > Thansk for respond, this is a good approach but tell to samba that listen > only for that interface and i have some servers that i need connect to > domain connected only to internal Network, finding i found (sorry) in the > help of samba_dnsupdate with the parameter "--current-ip=<ip>" and then > this app delete all the ips and put only that i pass in the parameters, > thanks and rewards. > > --------------------------------------- > Al tanto > Ing. Luis Felipe Domínguez Vega > Administrador de la Red de Desoft Matanzas > GNU/Linux Kernel Developer - rtlwifi kernel module > > "No es grande aquel que nunca falla, es grande el que nunca se da por > vencido? " > > ----- Original Message ----- > From: "Marc Muehlfeld" <mmuehlfeld at samba.org> > To: "Luis Felipe Dominguez Vega" <luis.dominguez at mtz.desoft.cu>, > samba at lists.samba.org > Sent: Friday, January 6, 2017 6:34:46 AM > Subject: Re: [Samba] About DNS Updates > > Hi Luis, > > Am 05.01.2017 um 15:16 schrieb Luis Felipe Dominguez Vega via samba: > > Hello, i have samba 4 as AC-DC mode with Bind as DLZ, all work > > well but, in my server i have 2 NICs, one of them is only to work > > into a servers network and don't want to be into dns. I remove all > > the internal ip reference from DNS, but samba always create > > them again. So how i can tell to samba that ignore that interface > > and not put it's ip into DNS?? > > https://wiki.samba.org/index.php/Configure_Samba_to_Bind_to_Specific_Inter > faces > > > > Regards, > Marc > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba