<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def current(cls):
 """ Helper method for getting the current peer of whichever host we're running on. """

        name = socket.getfqdn()
        ip = socket.gethostbyname(name)

        return cls(name, ip)