aboutsummaryrefslogtreecommitdiff
path: root/networking/nslookup.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nslookup: set default DNS server again. Hopefully helps with 675Denys Vlasenko2013-06-271-2/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move remaining help text from include/usage.src.hPere Orga2011-04-111-0/+14
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't call freeaddinfo(NULL)Vitaly Magerya2011-03-221-2/+2
| | | | | Signed-off-by: Vitaly Magerya <vmagerya@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | 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>
* nslookup: glibc + IPv6 address of DNS server don't mix (yet)Denis Vlasenko2008-11-171-4/+9
|
* nslookup: allow usage of IPv6 addresses or hostnamesDenis Vlasenko2008-11-161-11/+26
| | | | | | for DNS server name; allow for port specification. Tested to work: "nslookup google.com [::1]:5353"
* nslookup: tiny shrink (-5 bytes); add comment about res_initDenis Vlasenko2008-11-041-8/+9
| | | | | inet_common: cosmetics, no code changes
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-1/+1
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-1/+1
|
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-181-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|
* add x to IPv6 functions which can dieDenis Vlasenko2007-02-041-1/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* clean up commented out old codeDenis Vlasenko2007-01-221-54/+1
|
* nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko2007-01-221-29/+88
| | | | and thus save a few bytes.
* - sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer2007-01-221-1/+0
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-3/+3
|
* wget: fix error message.Denis Vlasenko2006-11-101-1/+1
| | | | | | | | | | | | | | | 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 :)
* small ipv6 doc changes; nslookup a tiny bit smallerDenis Vlasenko2006-11-071-2/+3
|
* nslookup: make it more IPv6 friendlyDenis Vlasenko2006-10-261-125/+80
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-2/+2
|
* Add one-line GPL boilerplate to these source files."Robert P. J. Day"2006-07-111-14/+1
|
* return failure when nslookup failsEric Andersen2004-10-131-2/+5
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Use proper C99 typesEric Andersen2004-01-301-16/+17
|
* Major coreutils update.Manuel Novoa III2003-03-191-2/+2
|
* Commited patch from bug #1182Robert Griebl2002-07-241-7/+35
| | | | | Although ssrat@mailbag.com says this is not GNU behaviour, it really *is* (man nslookup)
* uClibc supports struct _res these days...Eric Andersen2002-04-271-10/+1
|
* Latest patch from vodz:Eric Andersen2001-11-101-5/+5
| | | | | | | -- 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
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-3/+3
| | | | -Erik
* Use xgethostbyname instead of gethostbyname (found by Erik Andersen).Matt Kraai2001-10-011-2/+2
|
* Add woukaround for missing struct _res in uClibcEric Andersen2001-07-061-1/+10
|
* A patch from Benjamin Zeckel <bzeckel@cisco.com> to allowEric Andersen2001-06-121-39/+40
| | | | nslookup.c to display the correct default nameservers.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-2/+2
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-2/+2
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-1/+2
| | | | | | | 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
* Remove the warning messages. By consensus, netkit-tiny doesn'tEric Andersen2001-01-241-5/+1
| | | | need to happen.
* Fix spelling. s/maintainence/maintenance/Eric Andersen2001-01-241-2/+2
|
* Warn about apps that will be going away in release 0.50Eric Andersen2001-01-221-1/+5
| | | | -Erik
* Fix naming to reflect realityEric Andersen2001-01-201-3/+3
|
* Apply a patch from Vladimir N. Oleynik <dzo@simtreas.ru>,Eric Andersen2001-01-201-19/+18
| | | | | and thereby save 64 bytes. -Erik
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-2/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-2/+2
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-8/+1
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-2/+2
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-2/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* More stuffErik Andersen2000-05-021-2/+2
| | | | -Erik