This command adds a host address (A) record to your DNS zone.
Add-DnsServerResourceRecordA -Name "hostname" -ZoneName "powershellengineering.com" -IPv4Address "127.0.0.1"
Useful parameters:
-CreatePtr
Creates a corresponding PTR record.
-AllowUpdateAny
Gives any authenticated user rights to update the record.
Reference: