List of hostnames
May 16, 2017 · Pass the -l option to list all hostnames and server in a domain. This only works if you are making query from a slave (secondary) and/or from master dns server IP address only. As a dns server admin you can get the list of all hosts in a domain without opening a zone file: # Note must be on slave/master server where AXFR is alowed ## host -l