# Why does a DNS editor reject an underscore in a hostname?

Canonical: https://www.namesilo.com/questions/dns-and-email/why-does-a-dns-editor-reject-an-underscore-in-a-hostname

Published: 2026-11-18

Last updated: 2026-11-19

Topic: DNS & email

A DNS name and a hostname field do not always have the same allowed syntax. RFC 8552 describes underscore-prefixed DNS node names for scoped attributes; RFC 2782 uses _service._proto for SRV owners. Those labels are different from the preferred letter, digit and hyphen syntax used for ordinary hostnames.

Match the owner name to its record’s specification

Use the requesting service’s exact type and owner. NameSilo documents rrhost as the host portion without the domain suffix and supports SRV and TXT. That documentation does not establish every editor’s validation behavior, so seek a supported input path if it rejects a protocol-required name.

Your next steps

Confirm the service’s requested type and full owner

Distinguish a service label from a hostname target

Use the provider’s documented relative-name format

Query the exact requested owner after publication

Match the owner name to its record’s specification

Use the requesting service’s exact type and owner. NameSilo documents rrhost as the host portion without the domain suffix and supports SRV and TXT. That documentation does not establish every editor’s validation behavior, so seek a supported input path if it rejects a protocol-required name.

Verified detail: Underscore-scoped names and SRV owner format.

Your next step: Query the exact requested owner after publication.

## Sources

- [IETF RFC 8552 §1](https://www.rfc-editor.org/rfc/rfc8552.txt#section-1)

- [IETF RFC 2782](https://www.rfc-editor.org/rfc/rfc2782.txt)

- [IETF RFC 1034 §3.5](https://www.rfc-editor.org/rfc/rfc1034.txt#section-3.5)

- [IETF RFC 1123 §2.1](https://www.rfc-editor.org/rfc/rfc1123.txt#section-2.1)

- [NameSilo Add DNS Records](https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record)
