dig

Using dig to Query a Specific DNS Server (Name Server) directly

dig example.com @ns.friedrich.rocks

Testing authoritative name servers

dig @8.8.8.8 +short NS domain.com