locked
dns debug log is empty RRS feed

  • Question

  • turn on debugging

    1. right click the dns server in the dns console, properties
    2. debug logging tab, check every box besides packet filtering, put c:\dns.log in the file path
    3. click ok
    4. verify c:\dns.log was created. it's 0kb and empty

    5. go to a client and do a successfu nslookup pointing at this dns server
    6. c:\dns.log is still 0kb and empty. 
    7. restart the dns service for grins
    8. repeat 5-6

    what am i doing wrong? 


    Tuesday, July 21, 2020 3:46 PM

Answers

  • seems like it did not care for the size limit i put on the log file. i changed it back to the default, and the log started populating. 
    • Marked as answer by John_Curtiss Wednesday, July 29, 2020 3:06 PM
    Wednesday, July 22, 2020 3:48 PM

All replies

  • Hi ,

    The steps should be right. On a client, if we do a successfully nslookup, c:\dns.log might be O KB but it should not be empty. If we click refresh then c:\dns.log will show the correct size.


    >>5. go to a client and do a successfu nslookup pointing at this dns server
    6. c:\dns.log is still 0kb and empty. 

    Based on your situation, I would suggest you change other clients which are pointing at this DNS server and then nslookup again. 

    Refresh DNS log and see if it is still 0kb and empty.

    This "IPAM, DHCP, DNS" Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Best Regards,

    Candy


    "IPAM, DHCP, DNS" forum will be migrating to a new home on Microsoft Q&A!

    We invite you to post new questions in the "IPAM, DHCP, DNS"  forum's new home on Microsoft Q&A!

    For more information, please refer to the sticky post.



    Wednesday, July 22, 2020 2:49 AM
  • seems like it did not care for the size limit i put on the log file. i changed it back to the default, and the log started populating. 
    • Marked as answer by John_Curtiss Wednesday, July 29, 2020 3:06 PM
    Wednesday, July 22, 2020 3:48 PM
  • Hi ,

    I am not sure if I reproduced your issue. Did you mean Maximum size?

    If I set a size limit on the log file. At the beginning, it still showed 0 KB and empty, but one or two minutes later it was recorded.

    Best Regards,

    Candy


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com   


    Thursday, July 23, 2020 6:11 AM
  • Hi ,

    Just want to confirm the current situations.

    Please feel free to let us know if you need further assistance.                   

    Best Regards,

    Candy


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com   

    Monday, July 27, 2020 2:07 AM