locked
What does "ipconfig /registerdns" actually do? RRS feed

  • Question

  • Hi everyone,

    This is probably a really dumb question, but I can't seem to figure it out. Does running "ipconfig /registerdns" on a computer actually affect a record stored in the DNS server? Or does it only affect the local client computer itself? Also, does it make a difference if you run this command on a domain joined PC as opposed to a non-domain joined PC? And finally, does this command affect ANY local DNS server? By that I mean, I could understand if this command would affect a Server 2012 AD DNS on a domain joined computer, but could this command actually affect records stored in any random router's own DNS server?

    Thanks

    Monday, December 25, 2017 10:18 PM

All replies

  • It either creates or updates a host A/AAAA record within your active directory integrated DNS. If your pc is in a workgroup then it would not do anything useful. Public DNS server would not store or make use of private network info. Routers do not care about this either, routers are typically more interested in mac addresses.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Wendy Jiang Friday, December 29, 2017 7:52 AM
    Monday, December 25, 2017 10:45 PM
  • Ok thank you for your reply... so what would happen if I ran this command on a workgroup computer but it was set to use my AD DNS server through DHCP? Would it create an A record anyway?

    Thanks

    Wednesday, December 27, 2017 2:20 PM
  • May depend on the current setup.

    https://technet.microsoft.com/en-us/library/cc754493%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Wendy Jiang Friday, December 29, 2017 7:52 AM
    Wednesday, December 27, 2017 2:54 PM
  • Thanks for your reply again. My current setup is that I have one DHCP server authorised in AD, and the one on my router is turned off. It's just DNS that I actually use as a secondary DNS server in case my DC goes down (which also hosts my DNS).

    I have noticed that if I turn off my network adapter on my client PC (either domain joined or not) and run ipconfig /registerdns, it still returns a success message. Is this supposed to happen? Because this leads me to think that windows just broadcasts a register message but not actually able to receive a reply from the server..... surely if i turned off network connections completely from my computer the registerdns command should fail?

    Thanks

    Wednesday, December 27, 2017 10:21 PM
  • It doesn't work that way for me. When I do /registerdns it returns with;

    Registration of the DNS resource records for all adapters of this computer has been initiated. Any errors will be reported in the Event Viewer in 15 minutes.

    Might look for dnsapi events.

    https://technet.microsoft.com/en-us/library/cc735718%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Wendy Jiang Friday, December 29, 2017 7:52 AM
    Wednesday, December 27, 2017 11:49 PM
  • 

    Hi,

    Was your issue resolved? If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions. If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Wendy


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

    Friday, December 29, 2017 7:52 AM