[Samba] Internal DNS logging

Rafael Domiciano r.domiciano at senff.com.br
Thu Nov 5 16:51:46 UTC 2015


The log file should not be in a different file? Like, smb-dns.log. This 
avoid increase of the log level and a lot of info not necessary to that 
analysis.

Em 05/11/2015 14:42, James escreveu:
> On 11/5/2015 10:30 AM, Rowland Penny wrote:
>> On 05/11/15 15:18, James wrote:
>>> On 11/4/2015 4:13 PM, John Gardeniers wrote:
>>>> Nobody? Surely somebody knows where Samba 4 logs its DNS queries, 
>>>> or was this was a huge oversight and the internal DNS doesn't get 
>>>> logged at all, as appears to be suggested by my utter failure to 
>>>> locate such logs.
>>>>
>>>> On 28/10/15 14:28, John Gardeniers wrote:
>>>>> We're using the Sernet Samba v4.2.4 with internal DNS and I can't 
>>>>> find the DNS logs. Where does the Samba 4 internal DNS log 
>>>>> queries? Thanks.
>>>>>
>>>>> regards,
>>>>> John
>>>>>
>>>>>
>>>>
>>>>
>>> I've found increasing the log level of samba to 9 or 10 will usually 
>>> give me the DNS logs I require. Depending on how you configured your 
>>> server. You may find them in
>>>
>>> '/usr/local/samba/var/log.samba'
>>>
>>> This along with Wireshark has been enough to debug. I found out why 
>>> secure dynamic updates no longer work with this method.
>>>
>>
>> OK, I'll ask, why don't they work now and what method??
>>
>> Rowland
>>
>>
> Method = increasing the log level of samba and using Wireshark to 
> debug. I had to use a log level of 10 to get the information I was 
> looking for. I only mentioned my issue in case OP was debugging the 
> same thing.  I'm going to update the thread I already have open as to 
> keep everything centralized. Don't want to derail this thread.
>




More information about the samba mailing list