The Computer's host name is invalid
This Computer's host name is invalid - When trying to setup Open Directory
I have recently erased my Macintosh HD from 10.8 and upgraded to 10.11 and installed Server from the App store.
I have a static IP, I created a A record at my domain host and contacted ISP to setup reverse DNS. I used network utility lookup to check my forward and reverse DNS where working correctly and they both are.
Server is also giving me back the correct host name - computer name and internet is also reachable by the host name.
I then checked Terminal for sudo changeip -checkhostname and I get back success. I have also ran
scutil --get ComputerName
scutil --get HostName
scutil --get LocalHostName
and get the same response as setup in server.
So for some reason when I try to switch on Open Directory I get "This computer's host name is invalid - The host name does not resolve to any configured address of this computer. Please ensure the host name is correct.
DNS is switched off on server as the router is giving out the primary DNS. I have made sure the primary DNS is setup in system preferences - network.
Any help or advice to resolve this issue would be appreciated.