def DigHostsIP(reg, file='/etc/hosts'): return dighostip(reg, file='/etc/hosts')[0]
def DigHostsIP_Port(reg, port, file='/etc/hosts'): return '%s:%s' % (dighostip(reg, file='/etc/hosts')[0], port)