[PATCH] Switch to internal dns server as default for provision
repenny at f2s.com
Sun Sep 9 04:51:38 MDT 2012
On 09/09/12 09:51, steve wrote:
> On 06/09/12 21:19, Ricky Nance wrote:
>> Steve, I would assume the following options would work for you, btw the
>> following commands are really useful:
>> root at ws-server:/usr/local/samba/var# samba-tool testparm -v | grep dns
>> dns proxy = Yes
>> allow dns updates = False
>> dns forwarder =
>> dns recursive queries = No
>> dns update command = /usr/local/samba/sbin/samba_dnsupdate
>> multicast dns register = No
>> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
>> drepl, winbind, ntp_signd, kcc, dnsupdate
>> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
>> netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser,
>> eventlog6, backupkey, dnsserver
>> that being said, if you are using s3fs, you also need to look at
>> `testparm -v | grep mysearch`. Personally with things changing daily I
>> use those commands often.
>> Good luck,
>> On Thu, Sep 6, 2012 at 1:35 PM, steve <steve at steve-ss.com
>> <mailto:steve at steve-ss.com>> wrote:
>> On 09/06/2012 08:22 PM, Ricky Nance wrote:
>> This was straight from Kai on irc: 'Simply power down bind, add
>> "server services = +dns" to your smb.conf'.
>> Thanks Ricky. I'm just about to give it a go. It would also good to
>> have some doco on how to setup forwarders. Or just a bit of anything
>> that end users could have a go at.
> The dns updates fail:
> ../source4/dsdb/dns/dns_update.c:294: Failed DNS update -
> # Global parameters
> workgroup = MARINA
> realm = hh3.site
> netbios name = HH1
> server role = active directory domain controller
> passdb backend = samba4
> idmap_ldb:use rfc2307 = Yes
> dns proxy = Yes
> allow dns updates = False
> dns forwarder = 192.168.1.1
> dns recursive queries = No
> dns update command = /usr/local/samba/sbin/samba_dnsupdate
> multicast dns register = No
> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
> drepl, winb
> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
> netlogon, l
> This is a great idea but could we simply have some plain Eglish
> documatation to tell us what to do please?
> It's back to bind for now.
And can it be made to work with dhcp?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the samba-technical