async def get(self,request_configuration: Optional[RequestConfiguration[ServiceConfigurationRecordsRequestBuilderGetQueryParameters]] = None) -> Optional[DomainDnsRecordCollectionResponse]:
        """
        Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DomainDnsRecordCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/domain-list-serviceconfigurationrecords?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ....models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ....models.domain_dns_record_collection_response import DomainDnsRecordCollectionResponse

        return await self.request_adapter.send_async(request_info, DomainDnsRecordCollectionResponse, error_mapping)

        Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DomainDnsRecordCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/domain-list-serviceconfigurationrecords?view=graph-rest-1.0
        
msgraph/generated/domains/item/service_configuration_records/service_configuration_records_request_builder.py