Help scripting dns lookup using awk
Ken Moffat
zarniwhoop at ntlworld.com
Sun Sep 17 02:14:05 UTC 2017
On Sat, Sep 16, 2017 at 10:24:16AM -0400, Ernie Luzar wrote:
>
> The only "other language" installed on my front door host is perl because
> its part of the apache pkg. I don't want to install another language just
> because it has a fast pre-canned dns lookup.
>
Ernie,
I'll start by admitting that I don't have any interest in this
particular problem, and nor am I familiar with the differences
between Free BSD tools and the "equivalents" I use on linux.
But I get the general impression that google can often provide some
help (although sometimes it can be a PITA to work out *what* search
terms you need. OTOH, I suppose you aren't allowed to google for
solutions ;-) If that is true, you really need to get that
restriction removed.
For perl, Net-DNS looks like the module you probably need : go to
search.cpan.org (if you are allowed to do that) and look for it -
maybe I'm wrong and the examples (i.e. example uses) listed on the
summary page are not what you're trying to do with dns lookup.
Regards,
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
More information about the freebsd-questions
mailing list