fixed DNS resolution
fixed reverse DNS lookup
updated hostname in conf files

Signed-off-by: Izhar ul Hassan <ezhaar@gmail.com>