I have recently re-installed my IPFire system due to tinkering and borking things. I restored from an old backup as I was a plonker and had not made a backup for some time.
All seems to be working fine I’ve just had to change some settings that where not in my old backup which has lead me to a problem with the “Edit Hosts” page.
No matter what I try to add it displays “invalid hostname”. This is a host that was added pre re-install. I have also just tried entering random names but no matter what it won’t add allow me to add anything.
Looking at the code the only reason for getting this message is if the hostname contains any characters except digits, upper or lower case letters or a dash. All other characters such as spaces, underscores, ampersands etc are not allowed.
I have just confirmed with my CU194 system and it accepts any hostname I give it if it follows the above requirements.
Can you provide an example for a hostname used when that message gets shown.