Find authoritative name servers for the zone and display SOA records

dig

dig +nssearch {{example.com}}

click the source code to copy install dig on any operating system with command-not-found.com