dig(1) +nocmd +noall +answer +nottlid @ns1.old-nameserver.com example.com ANY
DNS lookup utility
    Toggles the printing of the initial comment in the output identifying the version of dig and the
    query options that have been applied. This comment is printed by default.
    Set or clear all display flags.
    Display [do not display] the answer section of a reply. The default is to display it.
    Display [do not display] the TTL when printing the record.
    is the name or IP address of the name server to query. This can be an IPv4 address in dotted-decimal
    notation or an IPv6 address in colon-delimited notation. When the supplied server argument is a
    hostname, dig resolves that name before querying that name server. If no server argument is provided,
    dig consults /etc/resolv.conf and queries the name servers listed there. The reply from the name
    server that responds is displayed.

    is the name of the resource record that is to be looked up.

    indicates what type of query is required — ANY, A, MX, SIG, etc.  type can be any valid query type.
    If no type argument is supplied, dig will perform a lookup for an A record.
source manpages: dig