original_docstring: 
          Given a list or an input representing dns server,
          we split the server from the port.
  
          :param inputed_dns: The inputed DNS server(s).
          :type input: str, list, tuple
  
          :return:
              A tuple with:
  
              (The DNS, the port)
          :rtype: tuple
          
docstring: Given a list or an input representing dns server,
  we split the server from the port.
docstring_tokens: Given a list or an input representing dns server we split the server from the port .
code: def _get_server_and_port_from(self, inputed_dns):
          """
          Given a list or an input representing dns server,
          we split the server from the port.
  
          :param inputed_dns: The inputed DNS server(s).
          :type input: str, list, tuple
  
          :return:
              A tuple with:
  
              (The DNS, the port)
          :rtype: tuple
          """
  
          if isinstance(inputed_dns, (list, tuple)):
              result = []
  
              for dns_server in inputed_dns:
                  result.append(self._get_server_and_port_from(dns_server))
  
              return result
  
          if ":" in inputed_dns:
              splited = inputed_dns.split(":")
  
              if len(splited) > 1 and splited[-1] and splited[-1].isdigit():
                  return ":".join(splited[:-1]), int(splited[-1])
  
              if not splited[-1]:
                  return ":".join(splited[:-1]), 53
  
          return inputed_dns, 53
code_tokens: def _get_server_and_port_from ( self , inputed_dns ) : if isinstance ( inputed_dns , ( list , tuple ) ) : result = [ ] for dns_server in inputed_dns : result . append ( self . _get_server_and_port_from ( dns_server ) ) return result if ":" in inputed_dns : splited = inputed_dns . split ( ":" ) if len ( splited ) > 1 and splited [ - 1 ] and splited [ - 1 ] . isdigit ( ) : return ":" . join ( splited [ : - 1 ] ) , int ( splited [ - 1 ] ) if not splited [ - 1 ] : return ":" . join ( splited [ : - 1 ] ) , 53 return inputed_dns , 53
short_docstring: Given a list or an input representing dns server,
  we split the server from the port.
short_docstring_tokens: Given a list or an input representing dns server we split the server from the port .
comment: """
          Given a list or an input representing dns server,
          we split the server from the port.
  
          :param inputed_dns: The inputed DNS server(s).
          :type input: str, list, tuple
  
          :return:
              A tuple with:
  
              (The DNS, the port)
          :rtype: tuple
          """