Qube uses the hostname returned to it by the operating system. The supervisor doesn't query the DNS server or WINS server for the information. The supervisor also doesn't rely on the name server to communicate with it's workers, so DHCP doesn't affect it since the workers user the host's mac address to identify itself to the supervisor.
How are you setting up the hostnames on the machine? are you setting it using a DNS or WINS server for resolution?