Getting List of all A Records of a Domain

host command can be used to list all A Records of a domain name.

host -l domainname.extn name-server.extn

Here domainname.extn is the domain name for which you want to list all A Records. name-server.extn is name server that host the domain name.

To get all A Records of bizhat.com

server14# host -l bizhat.com dns10.hosthat.com
Using domain server:
Name: bizhat.com
Address: 65.98.61.140#53
Aliases:

bizhat.com name server dns10.hosthat.com.
bizhat.com name server dns11.hosthat.com.
bizhat.com has address 65.98.61.140
*.bizhat.com has address 69.46.2.18
aaj.bizhat.com has address 69.93.202.211
adserver.bizhat.com has address 72.36.166.222
advt.bizhat.com has address 65.98.61.140
agnel.bizhat.com has address 65.98.61.140
www.agnel.bizhat.com has address 65.98.61.140
amit.bizhat.com has address 69.93.202.211
amitsbs.bizhat.com has address 69.93.202.211
arthunkal.bizhat.com has address 69.93.202.211
astrology.bizhat.com has address 69.93.202.211
banner.bizhat.com has address 69.93.202.211
beauty.bizhat.com has address 65.98.61.140
blogs.bizhat.com has address 72.21.57.67
bsc.bizhat.com has address 69.93.202.211
chat.bizhat.com has address 69.93.202.211
classifieds.bizhat.com has address 69.93.202.211
computer.bizhat.com has address 69.93.202.211
counter.bizhat.com has address 72.21.57.70
dating.bizhat.com has address 69.93.202.211
dir.bizhat.com has address 72.36.166.222
directory.bizhat.com has address 69.93.202.211
divyaunni.bizhat.com has address 65.98.61.140
domains.bizhat.com has address 69.93.202.211
downloads.bizhat.com has address 65.98.61.140
ecards.bizhat.com has address 69.93.202.211
education.bizhat.com has address 69.93.202.211
emedia.bizhat.com has address 69.93.202.211
finance.bizhat.com has address 69.93.202.211
findhost.bizhat.com has address 69.93.202.211
forums.bizhat.com has address 72.36.166.221
free.bizhat.com has address 69.46.2.17
freeforums.bizhat.com has address 72.36.166.222
freeinfo.bizhat.com has address 69.93.202.211
freelance.bizhat.com has address 69.93.202.211
friends.bizhat.com has address 65.98.61.140
gallery.bizhat.com has address 72.36.166.222
games.bizhat.com has address 69.93.202.211
guestbook.bizhat.com has address 69.93.202.211
hamradio.bizhat.com has address 69.93.202.211
health.bizhat.com has address 69.93.202.211
home.bizhat.com has address 69.93.202.211
homebiz.bizhat.com has address 69.93.202.211
hosted.bizhat.com has address 69.93.202.211
hosting.bizhat.com has address 69.93.202.211
imagehost.bizhat.com has address 69.46.15.174
india.bizhat.com has address 69.93.202.211
interactivecd.bizhat.com has address 69.93.202.211
ishtam.bizhat.com has address 69.93.202.211
jagathi.bizhat.com has address 65.98.61.140
jobs.bizhat.com has address 72.36.166.222
jokes.bizhat.com has address 69.93.202.211
kerala.bizhat.com has address 69.93.202.211
koilparampil.bizhat.com has address 69.93.202.211
kunchackoboban.bizhat.com has address 65.98.61.140
labs.bizhat.com has address 69.93.202.216
localhost.bizhat.com has address 127.0.0.1
mail.bizhat.com has address 65.98.61.140
www.mail.bizhat.com has address 65.98.61.140
mano.bizhat.com has address 65.98.61.140
www.mano.bizhat.com has address 65.98.61.140
mohanlal.bizhat.com has address 65.98.61.140
movieclips.bizhat.com has address 69.46.15.175
movies.bizhat.com has address 65.98.61.140
music.bizhat.com has address 69.93.202.211
news.bizhat.com has address 65.98.61.140
newsletter.bizhat.com has address 65.98.61.140
newstar.bizhat.com has address 69.93.202.211
novel.bizhat.com has address 69.93.202.211
realestate.bizhat.com has address 69.93.202.211
recipes.bizhat.com has address 69.93.202.211
screensaver.bizhat.com has address 69.93.202.211
scripts.bizhat.com has address 69.93.202.211
search.bizhat.com has address 69.93.202.211
sites.bizhat.com has address 69.93.202.211
sms.bizhat.com has address 72.36.166.222
stefin.bizhat.com has address 69.93.202.211
submit.bizhat.com has address 69.93.202.211
test.bizhat.com has address 69.93.202.211
top100.bizhat.com has address 72.36.166.222
tourism.bizhat.com has address 69.93.202.211
webmaster.bizhat.com has address 69.93.202.211
world.bizhat.com has address 69.93.202.211
yearofdevil.bizhat.com has address 69.93.202.211
yellowpages.bizhat.com has address 65.98.61.140
server14#

Posted in Windows. Bookmark the permalink.