Date: Thu, 07 Sep 2017 11:22:44 -0400 From: Ernie Luzar <luzar722@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: looking for batch dns inquiry tool Message-ID: <59B16444.9010608@gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59B16444.9010608>