To query le TXT record for DMARC, you can use:
dig TXT _dmarc.example.org
To query for a particular record for DKIM, you would need to know le selector prefix. Vous allez find it in le s value in an email's DKIM-Signature.
Par exemple:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.org;
s=google; t=1615461277;
[…]
You would alors query it as TXT:
dig TXT google._domainkey.example.org