DNS configuration using PowerShell is straightforward. You first add the DNS service. Then you create the zones you need and finally you create the resource records for those zones.
When you install an AD, as you did in the Installing domain controllers recipe, the AD installation process also installs the DNS service on the DC and configures both the necessary forward lookup zone and the AD-related resource records.
This recipe looks at the actions you may need to take once your DC is up and running. You can create new zones (for example, a reverse look zone), add an additional A and Mx records for mail, and set Extended DNS (EDNS). You also should test the DNS Server to ensure it is all up and working.