The information is stored in records of different types. A and AAAA give IP addresses, MX names the servers that accept the domain's mail, TXT stores arbitrary text, CNAME makes one name an alias of another, PTR links an IP address to a name.
Almost all email setup for campaigns happens in DNS: SPF and DMARC are published in TXT records, and so is the DKIM public key. Changes do not spread instantly but after the record's time to live (TTL) expires, usually from a few minutes to a day. You can check that a record is visible from outside with the command nslookup -type=txt example.com or any online DNS checker.