Xntpdc Error - Help!!!!!

When I try to open XNTPDC (NTP Debug tool) I get an error. Can not find localhost. If I set the local host using the localhost <hostname> command and exit the program it doesn't stick. As soon as I come back into the program I get the same error. Does anyone know how to fix this?

According to the man page:

If one or more request options is included on the command line when
xntpdc is executed, each of the requests will be sent to the NTP
servers running on each of the hosts given as command line arguments,
or on localhost by default. If no request options are given, xntpdc
will attempt to read commands from the standard input and execute
these on the NTP server running on the first host given on the command
line, again defaulting to localhost when no other host is specified.
Xntpdc will prompt for commands if the standard input is a terminal
device.

So, if localhost is not defined in /etc/hosts (or one of the name services), then xntpdc is expecting you to have the NTP server on the command line. It looks at localhost last so you need to give the NTP server name as an option and/or define localhost in your host file (127.0.0.1 localhost)