def records(self, name):
if self.get(name):<EOL><INDENT>return DomainRecords(self.api, name)<EOL><DEDENT>
Get a list of all domain records for the given domain name

Parameters
----------
name: str
    domain name