DNS

The following DNS servers are available for the hpelab.local domain.

Note

Forwarders are configured to the HPE corporate DNS servers to resolve external HPE resources.

  • dns01.hpelab.local - 192.168.20.5
  • dns02.hpelab.local - 192.168.20.6

Hosts that acquire an IP via DHCP, the hostnames are automatically registered into the DNS.

Self-Service DNS entries

For self-service DNS entries, use the following PowerShell command:

Important

Static IPs must be reserved before creating static DNS entries.

Add-DnsServerResourceRecordA -computername "dns01.hpelab.local" -Name "<short_hostname>" -ZoneName "hpelab.local" -AllowUpdateAny -CreatePtr -IPv4Address "<static_ip>"

Note

The above command assumes Microsoft Active Directory modules have been installed on your local workstation. This can be done using the commands from an elevated command prompt.
Import-Module ServerManager
Add-WindowsFeature -Name "RSAT-AD-PowerShell" –IncludeAllSubFeature