[Samba] samba-tool dns serverinfo

Günter Kukkukk linux at kukkukk.com
Wed Nov 12 13:41:40 MST 2014


Am 12.11.2014 um 21:25 schrieb Rowland Penny:
> On 12/11/14 20:19, Günter Kukkukk wrote:
>> Am 12.11.2014 um 20:53 schrieb Donaldson Jeff:
>>> Good Afternoon,
>>>
>>>
>>> I successfully joined an Ubuntu 14.04 server with Samba 4.1.9 to my existing domain. I want this server to become my Master, but before I attempt
>>> to seize roles, I have been double and triple checking all of the configuration files and DNS entries. I noticed that this server's dns serverinfo
>>> differs from the other three servers. For it's aipServerAddrs and aipListenAddrs, it shows the broadcast address of 255.255.255.255. If I view the
>>> properties in DNS Manager, it shows that it is listening on that address. How do I go about getting it to listen on the localhost again? Here is a
>>> copy of my serverinfo.... Any help is appreciated.
>>>
>>>
>>>    dwVersion                     : 0xece0205
>>>    fBootMethod                 : DNS_BOOT_METHOD_DIRECTORY
>>>    fAdminConfigured          : FALSE
>>>    fAllowUpdate                 : TRUE
>>>    fDsAvailable                  : TRUE
>>>    pszServerName             : PDC01.domain.local
>>>    pszDsContainer             : CN=MicrosoftDNS,DC=DomainDnsZones,DC=domain,DC=local
>>>    aipServerAddrs              : ['255.255.255.255 (53)', '255.255.255.255 (53)', '255.255.255.255 (53)']
>>>    aipListenAddrs               : ['255.255.255.255 (53)', '255.255.255.255 (53)', '255.255.255.255 (53)']
>>>    aipForwarders                : []
>>>    dwLogLevel                   : 0
>>>    dwDebugLevel               : 0
>>>    dwForwardTimeout         : 3
>>>    dwRpcPrototol                : 0x5
>>>    dwNameCheckFlag         : DNS_ALLOW_MULTIBYTE_NAMES
>>>    cAddressAnswerLimit      : 0
>>>    dwRecursionRetry           : 3
>>>    dwRecursionTimeout       : 8
>>>    dwMaxCacheTtl              : 86400
>>>    dwDsPollingInterval         : 180
>>>    dwScavengingInterval        : 0
>>>    dwDefaultRefreshInterval    : 168
>>>    dwDefaultNoRefreshInterval  : 168
>>>    fAutoReverseZones           : FALSE
>>>    fAutoCacheUpdate            : FALSE
>>>    fRecurseAfterForwarding     : FALSE
>>>    fForwardDelegations         : TRUE
>>>    fNoRecursion                : FALSE
>>>    fSecureResponses            : FALSE
>>>    fRoundRobin                 : TRUE
>>>    fLocalNetPriority           : FALSE
>>>    fBindSecondaries            : FALSE
>>>    fWriteAuthorityNs           : FALSE
>>>    fStrictFileParsing          : FALSE
>>>    fLooseWildcarding           : FALSE
>>>    fDefaultAgingState          : FALSE
>>>    dwRpcStructureVersion       : 0x2
>>>    aipLogFilter                : []
>>>    pwszLogFilePath             : None
>>>    pszDomainName               : domain.local
>>>    pszForestName               : domain.local
>>>    pszDomainDirectoryPartition : DC=DomainDnsZones,DC=domain,DC=local
>>>    pszForestDirectoryPartition : DC=ForestDnsZones,DC=domain,DC=local
>>>    dwLocalNetPriorityNetMask   : 0xff
>>>    dwLastScavengeTime          : 0
>>>    dwEventLogLevel             : 4
>>>    dwLogFileMaxSize            : 0
>>>    dwDsForestVersion           : 2
>>>    dwDsDomainVersion           : 2
>>>    dwDsDsaVersion              : 4
>>>    fReadOnlyDC                 : FALSE
>>>
>>>
>>> Jeff Donaldson
>>> Technology Director
>>> Newark Charter School
>>> jeff.donaldson at ncs.k12.de.us
>>> (302) 369-2001 ext: 425
>>>
>> Follow this recent thread https://lists.samba.org/archive/samba-technical/2014-November/103475.html
>> When using
>>       samba-tool dns serverinfo server
>> against a windows server, with that patch all should be displayed ok.
>> Note, that the dns server infos from samba servers are always wrong atm! ('255.255.255.255 (53)')
> 
> Is this with the internal DNS server ?, only reason I ask is that it works for me (but I use bind9)
> 
> aipServerAddrs              : ['192.168.0.3 (53)']
> aipListenAddrs              : ['192.168.0.3 (53)']
> 
> Rowland
> 
>> (some pieces are not implemented yet)
>>
>> So use "netstat ......" to see what IPs/interfaces samba is using.
>>
>> Also have a look at your smb.conf regarding
>>
>> interfaces = ......
>> bind interfaces only = ....
>>
>> Cheers, Günter
>>
> 

oh right, i forgot to mention that it will _not_ work with
samba servers, when IPv6 addresses are used, or when samba binds
to both IPv4 and IPv6.

It should play no role whether the internal dns server or the DLZ module is used.

Cheers, Günter
-- 



More information about the samba mailing list