Ad Widget

Collapse

Incorrect characters used for DNS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clubbing80s
    Senior Member
    • Sep 2005
    • 109

    #1

    Incorrect characters used for DNS

    Hi
    I get Incorrect characters used for DNS and Incorrect characters used for Host name. This seems to be due the the hyphen we use in the domain name.
    How can I removes this restriction and I can not add any hosts the have a hypen in there name "-"..

    i tracked down the regex that looks like it's responsible for this action,

    define('ZBX_EREG_INTERNAL_NAMES', '([0-9a-zA-Z_.[:space:][.-.]$]+)');

    If I remove "[.-.]" will this fix it of break stuff ..

    Thanks
Working...