<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 16/10/2019 15:00, Elias Zerai wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+Dv1FgmTNW_t5JfGaP0KOCuAcxheCcVFapizONFEz_bOdvgzg@mail.gmail.com">Dear
all, I can not register domain in poweradmin client after
installation of pdns and poweradmin the error is :<br clear="all">
<div class="error">Error: You have invalid characters in your
hostname.</div>
<div class="error">Error: ns1.insa.local failed - Invalid
hostname.</div>
</blockquote>
<p>Poweradmin isn't part of powerdns, so you are probably better off
asking <a moz-do-not-send="true"
href="https://www.poweradmin.org/mailinglists.html">there</a>.
I suggest you mention what version of poweradmin you are running,
and what exactly you were doing that triggered the error.<br>
</p>
<p>If you are running a current version of poweradmin, I think the
test you are hitting is here:<br>
</p>
<p><a
href="https://github.com/poweradmin/poweradmin/blob/master/inc/dns.inc.php#L348">https://github.com/poweradmin/poweradmin/blob/master/inc/dns.inc.php#L348</a></p>
<p>You should be able to add some debugging to see exactly what's in
$hostname_label at that point. Maybe there is a spurious space or
something. The code says you can only have a-z, 0-9, hyphen and
slash; and by this point it has already been split on dot.</p>
<p>Anyway, poweradmin people should be able to help.<br>
</p>
</body>
</html>