![]() nslookup can be used to retrieve A, PTR, CNAME, MX, NS, SOA, TXT, and SRV records. ![]() Net::Nslookup exports a single function, called nslookup. Net::DNS is a wonderful and full featured module, but quite often, all you need is `nslookup $host`. Net::Nslookup provides the capabilities of the standard UNIX command line tool nslookup(1). My = nslookup(type => "MX", domain => "") DESCRIPTION * internet address = 140.211.167.34 * internet address = 204.152.191.4 * internet address = ::Nslookup - Provide nslookup(1)-like capabilities SYNOPSIS use Net::Nslookup * * Authoritative answers can be found from: * nameserver =. ![]() Without it, * you may avoid pulling in _res global from libc. * * This applet is the only user of res_init(). applet:IF_NSLOOKUP(APPLET(nslookup, BB_DIR_USR_BIN, BB_SUID_DROP)) //kbuild:lib-$(CONFIG_NSLOOKUP) += nslookup.o //usage:#define nslookup_trivial_usage //usage: " " //usage:#define nslookup_full_usage "\n\n" //usage: "Query the nameserver for the IP address of the given HOST\n" //usage: "optionally using a specified DNS server" //usage: //usage:#define nslookup_example_usage //usage: "$ nslookup localhost\n" //usage: "Server: default\n" //usage: "Address: default\n" //usage: "\n" //usage: "Name: debian\n" //usage: "Address: 127.0.0.1\n" #include #include " libbb.h" /* * I'm only implementing non-interactive mode * I totally forgot nslookup even had an interactive mode. ![]() */ //config:config NSLOOKUP //config: bool "nslookup" //config: default y //config: help //config: nslookup is a tool to query Internet name servers. and John Beppu * Copyright (C) 1999,2000,2001 by John Beppu * * Correct default name server display and explicit name server option * added by Ben Zeckel June 2001 * * Licensed under GPLv2 or later, see file LICENSE in this source tree. ![]() * vi: set sw=4 ts=4: */ /* * Mini nslookup implementation for busybox * * Copyright (C) 1999,2000 by Lineo, inc. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |