'DNS records on linux command line

At the moment I am trying to find a way to get all DNS records from domain.com for example so that I can process them further in a script.

I've tried everything with dig, host and nsllookup commands, but I never get the result I want.

The result I would like is similar to https://dnsdumpster.com/

Is it possible to get all DNS records from a domain on the command line in linux ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source