'>>> driver = DummyDNSDriver(\'key\', \'secret\')
>>> driver.get_record(zone_id=\'doesnotexist\', record_id=\'exists\')
... #doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
ZoneDoesNotExistError:
@inherits: :class:`DNSDriver.get_record`'

def get_record(self, zone_id, record_id):

    self.get_zone(zone_id=zone_id)
    zone_records = self._zones[zone_id]['records']
    if (record_id not in zone_records):
        raise RecordDoesNotExistError(record_id=record_id, value=None, driver=self)
    return zone_records[record_id]
