looking for batch dns inquiry tool

Ernie Luzar luzar722 at gmail.com
Thu Sep 7 15:22:49 UTC 2017


Hello list

I am trying to build a domain name block list to feed unbound.
There are many sites that provide *host* list files.

Example host name www.thaiheart.org

Using the "host" command I followed that domain as shown below.

 >host www.thaiheart.org
www.thaiheart.org is an alias for vc1.readyplanet.com.
vc1.readyplanet.com has address 203.151.233.134

 >host thaiheart.org
thaiheart.org has address 203.151.233.116
thaiheart.org mail is handled by 10 mx.thaiheart.org.cust.a.hostedemail.com.

 >host vc1.readyplanet.com
vc1.readyplanet.com has address 203.151.233.134

 >host readyplanet.com
readyplanet.com has address 203.151.233.152
readyplanet.com mail is handled by 5 alt2.aspmx.l.google.com.
readyplanet.com mail is handled by 1 aspmx.l.google.com.
readyplanet.com mail is handled by 10 aspmx4.googlemail.com.
readyplanet.com mail is handled by 10 aspmx5.googlemail.com.
readyplanet.com mail is handled by 5 alt1.aspmx.l.google.com.



What I am looking for is a command or port that I can feed it a file 
containing domain names and for each one output a file containing the 
extended domain names I should be blocking.

As in for the above example.
www.thaiheart.org
thaiheart.org
vc1.readyplanet.com
readyplanet.com

Thanks for any help.






More information about the freebsd-questions mailing list