def reverseNameFromIPv4Address(address):
 tokens = (list(reversed(address.split('.'))) + ['in-addr', 'arpa', ''])
 return '.'.join(tokens)

def reverseNameFromIPv4Address ( address ) : tokens = ( list ( reversed ( address . split ( '.' ) ) ) + [ 'in-addr' , 'arpa' , '' ] ) return '.' . join ( tokens )
return a reverse domain name for the given ipv4 address .