adding reverse lookup to register hosts optionally by name and not by ip

Signed-off-by: Malte Janduda <mail@janduda.net>