none
DHCP and DDNS A Host registration issue RRS feed

  • Question

  • Hi all,

    We recently configured our dedicated DHCP server to register A Records on behalf of our Windows 10 devices.  We managed to get it working following the recommended Microsoft best practices but find that it stops working after a few hours and only starts working again if we restart the DHCP service.  If then stops working again and the service needs to be restarted, etc etc

    Does anyone know what could possibly be causing this inconsistency?  I should be getting the DHCP logs later on today but would like to know what exactly is triggered when the DHCP service is started which would cause this to make it work again, albeit for a short period of time.

    Thanks in advance and regards,
    Martin

    Tuesday, March 14, 2017 9:07 AM

All replies

  • Hi,

    >>We managed to get it working following the recommended Microsoft best practices but find that it stops working after a few hours and only starts working again if we restart the DHCP service.

    What do you mean stop working?Did the DHCP server failed to register records or it has not to register the records?

    Please check the event viewer ,DHCP and DNS log,is there any related messages.We need more information to analyze.


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

    Wednesday, March 15, 2017 6:19 AM
  • Hi Cartman,

    Yes, it stops registering DNS A records after a while, and only a DHCP Service restart gets it working again, albeit for a short time.

    Since then (This is an inherited environment), I've added Reverse Lookup Zones in DNS for every subnet that is being served via DHCP and and testing is somewhat more postive, but we still saw a few NACK entries during a time when the DHCP console stopped displaying any assigned leases.  It took a closing and opening of the console a few times to see everything again.

    Thanks,

    Martin

    Wednesday, March 15, 2017 12:31 PM
  • Hi,

    So DHCP just stop working in a short time.It may caused by DHCP database corrupted,please try to backup the DHCP database, reintall DHCP service role and rebuild DHCP database.

    • Note down all settings for DHCP server
    • Unauthorize and delete scope
    • Stop DHCP server service
    • Rename C:\WINDOWS\system32\dhcp\dhcp.mbd to dhcp.mdb.old
    • Uninstall and reinstall DHCP service role.
    • Recreate scope, activate and authorize
    • Run netsh dhcp server set dnscredentials username domain password


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

    Friday, March 17, 2017 7:28 AM
  • Hi,

    I am checking to see if the problem has been resolved. If there's anything you'd like to know, please feel free to ask.


    Best Regards
    Cartman
    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, April 10, 2017 9:57 AM