Since DNS is configured, it will resolve the hostname successfully. When you install the DNS Role, a default entry is created, with the hostname being the same as your computer’s name.