> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

> StaticHostConfig is a config document to set /etc/hosts entries.

# StaticHostConfig

```yaml theme={null}
apiVersion: v1alpha1
kind: StaticHostConfig
name: 10.5.0.2 # IP address (IPv4 or IPv6) to map the hostnames to.
# List of hostnames to map to the IP address.
hostnames:
    - my-server
    - my-server.example.org
```

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
      <th>Value(s)</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`name`</td>
      <td>string</td>
      <td>IP address (IPv4 or IPv6) to map the hostnames to.</td>

      <td />
    </tr>

    <tr>
      <td>`hostnames`</td>
      <td>\[]string</td>
      <td>List of hostnames to map to the IP address.</td>

      <td />
    </tr>
  </tbody>
</table>
