Minimal_DNS - 0xBrendan/Tech-Journal GitHub Wiki

When we spun up the minimal windows server install, instead of managing DNS entries directly through the commandline, we instead opted to do so through the GUI via proxy (mgmt-server). This is likely the faster and more familiar solution for our use case, but given no server GUI in any instance, how would manage DNS entries?

Once the DNS server role has been enabled, it seems that the command "dnscmd" can be used in the following format for creating DNS entries:

dnscmd ServerName /RecordAdd ZoneName ComputerName TTL A IPAddress /f

  • ServerName - DNS server that will be managed
  • ZoneName - Zone in which the record will be stored
  • ComputerName - Name of the system to be associated with the given IP address
  • TTL - Specifies the Time to Live for the resource record. Default value is 10 seconds
  • A - Record type being created (A, AAAA, PTR, etc.)
  • IPAddress - The IP Address of the host
  • /f Executes the command without asking for confirmation.