def METHOD_NAME(self, segments = False):
    ''' 
    @summary Returns the list of hostnames
    @param segments : True or False (True -returns only segment hosts)
    '''
    list = []
    for r in self.record:
        if segments:
            if r.content != -1:
                list.append(r.hostname)
        else:
            list.append(r.hostname)
    return set(list)