Skip to content

fix(p/GCORE): parse API names without a trailing dot - #4923

Merged
TomOnTime merged 1 commit into
DNSControl:mainfrom
rootful:fix/gcore-label-no-dot
Sep 20, 2026
Merged

TomOnTime merged 1 commit into
DNSControl:mainfrom
rootful:fix/gcore-label-no-dot

Conversation

@rootful

@rootful rootful commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

This PR fixes #4922 which explains the purpose of the PR further. The fix is fairly simple, and it fixes up the tests too.

G-Core returns FQDNs like www.example.com, so LabelFromFQDNWithDot left the zone in the label and preview treated live records as example.com.example.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
@TomOnTime
TomOnTime merged commit 93f20a2 into DNSControl:main Sep 20, 2026
1 check passed
@rootful
rootful deleted the fix/gcore-label-no-dot branch September 20, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

GCORE: preview treats live records as doubled FQDNs

2 participants