none
Add Internet DNS IP into all DHCP scopes Automatically RRS feed

  • Question

  • Hi Team,

    I would like to add a DNS IP to all DHCP scopes like 8.8.8.8, so that even my domain controllers are down all users in MLPS must get internet. 

    Could any one help to to achieve this through scripting/Powershell so that I can add that DNS IP into all DHCP scopes automatically,

    Also what would be the IMPACT on this implementation a part from internal applications accessibility, network resources.

    Please help.

    Sriman

    Tuesday, May 28, 2019 4:58 AM

All replies

  • Hi,

    Do you mean that you want to assign DNS server IP to all DHCP clients?

    You can configure server option 006 DNS servers, so that the DHCP server will assign the DNS IP to all clients via leases. 

    Best regards,

    Travis


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

    Tuesday, May 28, 2019 6:17 AM
    Moderator
  • Hello Travis,

    Yes you are correct, Can you advise on my query.

    Sriman.

    Tuesday, May 28, 2019 11:31 AM
  • Hi,

    Configure DHCP options via powershell

    Please refer to the link below:

    https://docs.microsoft.com/en-us/powershell/module/dhcpserver/set-dhcpserverv4optionvalue?view=win10-ps 

    Best regards,

    Travis


    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, May 29, 2019 6:09 AM
    Moderator
  • Thank You Travis, 

    Also what would be the IMPACT on this implementation a part from internal applications accessibility, network resources.

    Please help.

    Monday, June 3, 2019 7:29 AM
  • Hi,

    There is no impact on internal applications and network resources.

    The option only adds an alternate DNS server address on clients.

    However, the clients can't access internal resources without local DNS server if DC failed.

    Best regards,

    Travis


    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, June 3, 2019 9:10 AM
    Moderator
  • Hi,

    Just checking in to see if the information provided was helpful.

    Please let us know if you would like further assistance.

    Best Regards,

    Travis


    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, June 6, 2019 8:43 AM
    Moderator