'>>> driver = DummyDNSDriver(\'key\', \'secret\')
>>> zone = driver.create_zone(domain=\'apache.org\', type=\'master\',
...                           ttl=100)
>>> list(zone.list_records())
>>> record = driver.create_record(name=\'libcloud\', zone=zone,
...                               type=RecordType.A, data=\'127.0.0.1\')
>>> list(zone.list_records()) #doctest: +ELLIPSIS
[<Record: zone=apache.org, name=libcloud, type=A...>]'

def list_records(self, zone):

    return self._zones[zone.id]['records'].values()
