[Samba] samba-tool dns serverinfo

Donaldson Jeff Jeff.Donaldson at ncs.k12.de.us
Thu Nov 13 06:15:43 MST 2014


I didn't run this against a Windows server though. This is from an Ubuntu Server 14.04 with Samba4 build 4.1.9. I have another Ubuntu Server 12.04 with same Samba build 4.1.9 and it shows correctly as the localhost. On both servers I have smb.conf set with interfaces = lo eth1. If I run netstat -tulpn | grep ":53" it shows samba listening on 0.0.0.0:53 for tcp and udp, which is correct. Not sure why this is showing differently than my other servers.

Regards,
Jeff

Jeff Donaldson
Technology Director
Newark Charter School
jeff.donaldson at ncs.k12.de.us
(302) 369-2001 ext: 425

________________________________________
From: Günter Kukkukk <linux at kukkukk.com>
Sent: Wednesday, November 12, 2014 3:19 PM
To: Donaldson Jeff; samba at lists.samba.org
Subject: Re: [Samba] samba-tool dns serverinfo

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)')
(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

--



More information about the samba mailing list