mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-26 16:15:54 +03:00
[GH-ISSUE #164] Templates with emtpy records name unusable due to "API Error 422: DNS Name '' is not canonical" #106
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NuxRo on GitHub (Jan 30, 2018).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/164
Hi,
The template does not work, Nsedit 1.1, Pdns 4.0.3.
In the browser I get "API Error 422: DNS Name '' is not canonical".
If instead of name => ';, I put an actual value such as "www.whatever.com." then it works.
Any way we can refer to the domain somehow, like @ (BIND style) etc?
I have tried the solution mentioned in https://github.com/tuxis-ie/nsedit/issues/142 by @bajizs and that fixes it. Worth checking out.
The canonical thing is a big PITA btw.
$templates[] = array(
'name' => 'Tuxis',
'owner' => 'public', # Set to 'public' to make it available to all users
'records' => array(
array(
'name' => '',
'type' => 'MX',
'content' => '200 mx2.tuxis.nl.')
)
);
@tuxis-ie commented on GitHub (Aug 22, 2018):
The issue is with content, not name, I think. I fixed the example in config.inc.php-dist.