# DNS Hostname

## Introduction

DNS Hostnames are a feature of products, which allow to create a dynamic subdomain automatically in the desired format when the hosting instance is ordered.

## Configuration

The DNS Hostname can be configured for each product individually. You have to configure the format and the domain, which must already exist in the hostware domain portfolio and must be connected to any module or DNS Host.

You can also define a delay, which will be used in between the hostname creation and the hosting installation. If you enter "5 minutes", the dns hostname will be created and 5 minutes after that the hosting will be installed.

You have to select the module field, if the generated dns hostname should be passed to the module.&#x20;

hostware will use the IP address of the hosting (if IPAM is enabled) or the IP of the host.

<figure><img src="/files/szJ6c2HvpYuwIn4mKJPt" alt=""><figcaption></figcaption></figure>

## Use case

You sell VPS and want to auto generate an initial hostname for the customer. hostware will create the Subdomain and automatically point it to the primary IP address of the hosting.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hostware.io/hosting/products/dns-hostname.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
