[Samba] samba-tool dns serverinfo

L.P.H. van Belle belle at bazuin.nl
Thu Nov 13 07:01:49 MST 2014


ow.. not entrirly... yes, there is something not correct in what we see.. 

and i dont use the bind interfaces options. 

I did run this on my print server ( a member server of my AD domain )
so for me also  : 
aipServerAddrs              : ['127.0.0.1 (53)', '127.0.0.1 (53)']
aipListenAddrs              : ['127.0.0.1 (53)', '127.0.0.1 (53)']

and  netstat -anlp | grep LISTEN| grep 53
tcp        0      0 192.168.0.:53      0.0.0.0:*               LISTEN      2085/named
tcp        0      0 127.0.0.1:53       0.0.0.0:*               LISTEN      2085/named

My output of : samba-tool dns serverinfo dc2 -U Administrator

Password for [INTERNAL\Administrator]:
  dwVersion                   : 0xece0205
  fBootMethod                 : DNS_BOOT_METHOD_DIRECTORY
  fAdminConfigured            : FALSE
  fAllowUpdate                : TRUE
  fDsAvailable                : TRUE
  pszServerName               : DC2.internal.domain.tld
  pszDsContainer              : CN=MicrosoftDNS,DC=DomainDnsZones,DC=internal,DC=domain,DC=tld
  aipServerAddrs              : ['127.0.0.1 (53)', '127.0.0.1 (53)']
  aipListenAddrs              : ['127.0.0.1 (53)', '127.0.0.1 (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               : internal.domain.tld
  pszForestName               : internal.domain.tld
  pszDomainDirectoryPartition : DC=DomainDnsZones,DC=internal,DC=domain,DC=tld
  pszForestDirectoryPartition : DC=ForestDnsZones,DC=internal,DC=domain,DC=tld
  dwLocalNetPriorityNetMask   : 0xff
  dwLastScavengeTime          : 0
  dwEventLogLevel             : 4
  dwLogFileMaxSize            : 0
  dwDsForestVersion           : 4
  dwDsDomainVersion           : 4
  dwDsDsaVersion              : 4
  fReadOnlyDC                 : FALSE

 

>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] 
>Namens L.P.H. van Belle
>Verzonden: donderdag 13 november 2014 14:56
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] samba-tool dns serverinfo
>
>this looks like a incorrect resolving.  
>
>Please take notice of the following. 
>1) check your /etc/hosts file  
>should be like : 
>127.0.0.1       localhost
>192.168.0.1     dc1.your.domain.tld	dc1 
>
>2) check  /etc/resolv.conf 
>#
>search rotterdam.bazuin.nl
>nameserver 192.168.0.1
>and/or 
>nameserver 127.0.0.1
>
>3) check /etc/nssswitch.conf  like .. 
>passwd:         compat winbind
>group:          compat winbind
>hosts:          files dns mdns4_minimal [NOTFOUND=return]
>
>4) to domain.local... should be avoided, since .local is an 
>reserved TLD. for mDNS
>but since you have it already, dont change it. 
>
>5) in smb.conf   dont use the interface names, use the IP adresses. 
>so dont use : 
>interfaces = eth0 lo
>bind interfaces only = yes
>but use 
>interfaces = 192.168.0.1 127.0.0.1
>bind interfaces only = yes
>
>There is a report of ubuntu incorrectly useing the interface 
>names in samba.
>I dont know if its fixed but please try the ip.
>
>please check all above, if you change something, restart the 
>services ( or the server ) 
>and report back.
>
>Best regards, 
>
>Louis
>
>
>>-----Oorspronkelijk bericht-----
>>Van: Jeff.Donaldson at ncs.k12.de.us 
>>[mailto:samba-bounces at lists.samba.org] Namens Donaldson Jeff
>>Verzonden: donderdag 13 november 2014 14:16
>>Aan: Günter Kukkukk; samba at lists.samba.org
>>Onderwerp: Re: [Samba] samba-tool dns serverinfo
>>
>>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/1
>03475.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
>>
>>--
>>
>>-- 
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list