summaryrefslogtreecommitdiff
path: root/networking/nslookup.c
AgeCommit message (Collapse)Author
2010-08-16*: make GNU licensing statement forms more regularDenys Vlasenko
This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2008-11-17nslookup: glibc + IPv6 address of DNS server don't mix (yet)Denis Vlasenko
2008-11-16nslookup: allow usage of IPv6 addresses or hostnamesDenis Vlasenko
for DNS server name; allow for port specification. Tested to work: "nslookup google.com [::1]:5353"
2008-11-04nslookup: tiny shrink (-5 bytes); add comment about res_initDenis Vlasenko
inet_common: cosmetics, no code changes
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01printf("%s\n") -> puts()Denis Vlasenko
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-08-18introduce and use xdup2(int, int)Denis Vlasenko
stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-12style fixes. No code changesDenis Vlasenko
2007-02-04add x to IPv6 functions which can dieDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-22clean up commented out old codeDenis Vlasenko
2007-01-22nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko
and thus save a few bytes.
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2006-11-10wget: fix error message.Denis Vlasenko
Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :)
2006-11-07small ipv6 doc changes; nslookup a tiny bit smallerDenis Vlasenko
2006-10-26nslookup: make it more IPv6 friendlyDenis Vlasenko
2006-10-26silly size savings and capitalization fixesDenis Vlasenko
2006-07-11Add one-line GPL boilerplate to these source files."Robert P. J. Day"
2004-10-13return failure when nslookup failsEric Andersen
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30Use proper C99 typesEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-07-24Commited patch from bug #1182Robert Griebl
Although ssrat@mailbag.com says this is not GNU behaviour, it really *is* (man nslookup)
2002-04-27uClibc supports struct _res these days...Eric Andersen
2001-11-10Latest patch from vodz:Eric Andersen
-- reverse resolve network name and cache in route and ifconfig applets, fix print nslookup server name if compile without uClibc, fix route crashe 'route add', fix warnings compile networking and pwd_grp applets
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-01Use xgethostbyname instead of gethostbyname (found by Erik Andersen).Matt Kraai
2001-07-06Add woukaround for missing struct _res in uClibcEric Andersen
2001-06-12A patch from Benjamin Zeckel <bzeckel@cisco.com> to allowEric Andersen
nslookup.c to display the correct default nameservers.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-24Remove the warning messages. By consensus, netkit-tiny doesn'tEric Andersen
need to happen.
2001-01-24Fix spelling. s/maintainence/maintenance/Eric Andersen
2001-01-22Warn about apps that will be going away in release 0.50Eric Andersen
-Erik
2001-01-20Fix naming to reflect realityEric Andersen
2001-01-20Apply a patch from Vladimir N. Oleynik <dzo@simtreas.ru>,Eric Andersen
and thereby save 64 bytes. -Erik
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-05-02More stuffErik Andersen
-Erik
2000-04-15More documentation updates, and minor fixes to make things syncErik Andersen
up with the docs. -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-02-18Some updates for the day,Erik Andersen
-Erik