feat: format user provided TXT records when not quoted by jooola · Pull Request #1208 · hetznercloud/cli

@jooola jooola changed the title feat: format user provided TXT record values feat: format user provided TXT record when not quoted

Oct 29, 2025

@jooola jooola changed the title feat: format user provided TXT record when not quoted feat: format user provided TXT records when not quoted

Oct 29, 2025

@jooola jooola marked this pull request as ready for review

October 29, 2025 15:55

apricote

apricote

@jooola

If the given TXT records are not already quoted, the CLI will split the records into chunks of 255 chars and quote them:

```diff
-hcloud zone rrset add-records example-1948294840.com @ TXT --record "\"v=spf1 include:_spf.example.net ~all\""
+hcloud zone rrset add-records example-1948294840.com @ TXT --record "v=spf1 include:_spf.example.net ~all"
```

@jooola jooola deleted the dns-txt-values branch

October 31, 2025 16:33

jooola pushed a commit that referenced this pull request

Nov 7, 2025
<!-- section-start changelog -->
### Features

- format user provided TXT records when not quoted (#1208)

### Bug Fixes

- more readable default time format (#1197)
- **iso**: broken `--type` flag in list command (#1221)
- Storage Boxes not listed in `hcloud all list` (#1222)
- consistent tab spacing in describe commands (#1216)
- filepaths not correctly resolved on Windows (#1229)

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

~~~~rp-prefix
~~~~

### Suffix / End

This will be added to the end of the release notes.

~~~~rp-suffix
~~~~

</details>

Co-authored-by: Hetzner Cloud Bot <>