Use dig command to retrive name server record

dig -t AXFR domain.com @nameserver.domain.com