Configure DNS forward using CLI.

Doria 1,246 Reputation points
2021-11-29T12:49:58.24+00:00

Hi everyone!

Is there a way to configure DNS forward (W2K19) using CLI? CMD ou PS?

153338-image.png

Thanks.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Limitless Technology 40,076 Reputation points
    2021-12-01T09:43:17.913+00:00

    Hi there,

    The Set-DnsServerForwarder cmdlet changes forwarder settings on a Domain Name System (DNS) server. This cmdlet sets or resets IP addresses to which the DNS server forwards DNS queries when it cannot solve them locally. This cmdlet overwrites existing server-level forwarders.

    This example Set a forwarder on a DNS server

    Set-DnsServerForwarder -IPAddress "10.0.0.1" -PassThru


    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Doria 1,246 Reputation points
    2021-12-15T15:03:50.447+00:00
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.