aboutsummaryrefslogtreecommitdiff
path: root/networking/dnsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r--networking/dnsd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 8ed31cea2..65eae9670 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -17,6 +17,22 @@
17 * the first porting of oao' scdns to busybox also. 17 * the first porting of oao' scdns to busybox also.
18 */ 18 */
19 19
20//usage:#define dnsd_trivial_usage
21//usage: "[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]"
22//usage:#define dnsd_full_usage "\n\n"
23//usage: "Small static DNS server daemon\n"
24//usage: "\nOptions:"
25//usage: "\n -c FILE Config file"
26//usage: "\n -t SEC TTL"
27//usage: "\n -p PORT Listen on PORT"
28//usage: "\n -i ADDR Listen on ADDR"
29//usage: "\n -d Daemonize"
30//usage: "\n -v Verbose"
31//usage: "\n -s Send successful replies only. Use this if you want"
32//usage: "\n to use /etc/resolv.conf with two nameserver lines:"
33//usage: "\n nameserver DNSD_SERVER"
34//usage: "\n nameserver NORNAL_DNS_SERVER"
35
20#include "libbb.h" 36#include "libbb.h"
21#include <syslog.h> 37#include <syslog.h>
22 38