DNS.Record.from_record

You're seeing just the function from_record, go back to DNS.Record module for more information.

Converts a :dns_rec record into a DNS.Record.