def to_string(address, dns_format=False):
		""" Convert address to string

		:param address: WIPV4Address to convert
		:param dns_format: whether to use arpa-format or not
		:return:
		"""
		if isinstance(address, WIPV4Address) is False:
			raise TypeError('Invalid address type')

		address = [str(int(x)) for x in address.__address]
		if dns_format is False:
			return '.'.join(address)
		address.reverse()
		return ('.'.join(address) + '.in-addr.arpa')