Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
8ecfaa4a
Commit
8ecfaa4a
authored
Jan 07, 2012
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidied up usage strings.
parent
03bfcf64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
44 deletions
+44
-44
src/option.c
src/option.c
+44
-44
No files found.
src/option.c
View file @
8ecfaa4a
...
...
@@ -249,27 +249,27 @@ static struct {
char
*
const
desc
;
char
*
const
arg
;
}
usage
[]
=
{
{
'a'
,
ARG_DUP
,
"
ipaddr
"
,
gettext_noop
(
"Specify local address(es) to listen on."
),
NULL
},
{
'A'
,
ARG_DUP
,
"/
domain/ipaddr
"
,
gettext_noop
(
"Return ipaddr for all hosts in specified domains."
),
NULL
},
{
'a'
,
ARG_DUP
,
"
<ipaddr>
"
,
gettext_noop
(
"Specify local address(es) to listen on."
),
NULL
},
{
'A'
,
ARG_DUP
,
"/
<domain>/<ipaddr>
"
,
gettext_noop
(
"Return ipaddr for all hosts in specified domains."
),
NULL
},
{
'b'
,
OPT_BOGUSPRIV
,
NULL
,
gettext_noop
(
"Fake reverse lookups for RFC1918 private address ranges."
),
NULL
},
{
'B'
,
ARG_DUP
,
"
ipaddr
"
,
gettext_noop
(
"Treat ipaddr as NXDOMAIN (defeats Verisign wildcard)."
),
NULL
},
{
'c'
,
ARG_ONE
,
"
cachesize
"
,
gettext_noop
(
"Specify the size of the cache in entries (defaults to %s)."
),
"$"
},
{
'C'
,
ARG_DUP
,
"
path
"
,
gettext_noop
(
"Specify configuration file (defaults to %s)."
),
CONFFILE
},
{
'B'
,
ARG_DUP
,
"
<ipaddr>
"
,
gettext_noop
(
"Treat ipaddr as NXDOMAIN (defeats Verisign wildcard)."
),
NULL
},
{
'c'
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify the size of the cache in entries (defaults to %s)."
),
"$"
},
{
'C'
,
ARG_DUP
,
"
<path>
"
,
gettext_noop
(
"Specify configuration file (defaults to %s)."
),
CONFFILE
},
{
'd'
,
OPT_DEBUG
,
NULL
,
gettext_noop
(
"Do NOT fork into the background: run in debug mode."
),
NULL
},
{
'D'
,
OPT_NODOTS_LOCAL
,
NULL
,
gettext_noop
(
"Do NOT forward queries with no domain part."
),
NULL
},
{
'e'
,
OPT_SELFMX
,
NULL
,
gettext_noop
(
"Return self-pointing MX records for local hosts."
),
NULL
},
{
'E'
,
OPT_EXPAND
,
NULL
,
gettext_noop
(
"Expand simple names in /etc/hosts with domain-suffix."
),
NULL
},
{
'f'
,
OPT_FILTER
,
NULL
,
gettext_noop
(
"Don't forward spurious DNS requests from Windows hosts."
),
NULL
},
{
'F'
,
ARG_DUP
,
"
ipaddr,ipaddr,time
"
,
gettext_noop
(
"Enable DHCP in the range given with lease duration."
),
NULL
},
{
'g'
,
ARG_ONE
,
"
groupname
"
,
gettext_noop
(
"Change to this group after startup (defaults to %s)."
),
CHGRP
},
{
'F'
,
ARG_DUP
,
"
<ipaddr>,...
"
,
gettext_noop
(
"Enable DHCP in the range given with lease duration."
),
NULL
},
{
'g'
,
ARG_ONE
,
"
<groupname>
"
,
gettext_noop
(
"Change to this group after startup (defaults to %s)."
),
CHGRP
},
{
'G'
,
ARG_DUP
,
"<hostspec>"
,
gettext_noop
(
"Set address or hostname for a specified machine."
),
NULL
},
{
LOPT_DHCP_HOST
,
ARG_DUP
,
"<
filename
>"
,
gettext_noop
(
"Read DHCP host specs from file."
),
NULL
},
{
LOPT_DHCP_OPTS
,
ARG_DUP
,
"<
filename
>"
,
gettext_noop
(
"Read DHCP option specs from file."
),
NULL
},
{
LOPT_DHCP_HOST
,
ARG_DUP
,
"<
path
>"
,
gettext_noop
(
"Read DHCP host specs from file."
),
NULL
},
{
LOPT_DHCP_OPTS
,
ARG_DUP
,
"<
path
>"
,
gettext_noop
(
"Read DHCP option specs from file."
),
NULL
},
{
LOPT_TAG_IF
,
ARG_DUP
,
"tag-expression"
,
gettext_noop
(
"Evaluate conditional tag expression."
),
NULL
},
{
'h'
,
OPT_NO_HOSTS
,
NULL
,
gettext_noop
(
"Do NOT load %s file."
),
HOSTSFILE
},
{
'H'
,
ARG_DUP
,
"
path
"
,
gettext_noop
(
"Specify a hosts file to be read in addition to %s."
),
HOSTSFILE
},
{
'i'
,
ARG_DUP
,
"
interface
"
,
gettext_noop
(
"Specify interface(s) to listen on."
),
NULL
},
{
'I'
,
ARG_DUP
,
"
int
"
,
gettext_noop
(
"Specify interface(s) NOT to listen on."
)
,
NULL
},
{
'H'
,
ARG_DUP
,
"
<path>
"
,
gettext_noop
(
"Specify a hosts file to be read in addition to %s."
),
HOSTSFILE
},
{
'i'
,
ARG_DUP
,
"
<interface>
"
,
gettext_noop
(
"Specify interface(s) to listen on."
),
NULL
},
{
'I'
,
ARG_DUP
,
"
<interface>
"
,
gettext_noop
(
"Specify interface(s) NOT to listen on."
)
,
NULL
},
{
'j'
,
ARG_DUP
,
"set:<tag>,<class>"
,
gettext_noop
(
"Map DHCP user class to tag."
),
NULL
},
{
LOPT_CIRCUIT
,
ARG_DUP
,
"set:<tag>,<circuit>"
,
gettext_noop
(
"Map RFC3046 circuit-id to tag."
),
NULL
},
{
LOPT_REMOTE
,
ARG_DUP
,
"set:<tag>,<remote>"
,
gettext_noop
(
"Map RFC3046 remote-id to tag."
),
NULL
},
...
...
@@ -278,53 +278,55 @@ static struct {
{
LOPT_BROADCAST
,
ARG_DUP
,
"[=tag:<tag>...]"
,
gettext_noop
(
"Force broadcast replies for hosts with tag set."
),
NULL
},
{
'k'
,
OPT_NO_FORK
,
NULL
,
gettext_noop
(
"Do NOT fork into the background, do NOT run in debug mode."
),
NULL
},
{
'K'
,
OPT_AUTHORITATIVE
,
NULL
,
gettext_noop
(
"Assume we are the only DHCP server on the local network."
),
NULL
},
{
'l'
,
ARG_ONE
,
"
path
"
,
gettext_noop
(
"Specify where to store DHCP leases (defaults to %s)."
),
LEASEFILE
},
{
'l'
,
ARG_ONE
,
"
<path>
"
,
gettext_noop
(
"Specify where to store DHCP leases (defaults to %s)."
),
LEASEFILE
},
{
'L'
,
OPT_LOCALMX
,
NULL
,
gettext_noop
(
"Return MX records for local hosts."
),
NULL
},
{
'm'
,
ARG_DUP
,
"
host_name,target,pref
"
,
gettext_noop
(
"Specify an MX record."
),
NULL
},
{
'm'
,
ARG_DUP
,
"
<host_name>,<target>,<pref>
"
,
gettext_noop
(
"Specify an MX record."
),
NULL
},
{
'M'
,
ARG_DUP
,
"<bootp opts>"
,
gettext_noop
(
"Specify BOOTP options to DHCP server."
),
NULL
},
{
'n'
,
OPT_NO_POLL
,
NULL
,
gettext_noop
(
"Do NOT poll %s file, reload only on SIGHUP."
),
RESOLVFILE
},
{
'N'
,
OPT_NO_NEG
,
NULL
,
gettext_noop
(
"Do NOT cache failed search results."
),
NULL
},
{
'o'
,
OPT_ORDER
,
NULL
,
gettext_noop
(
"Use nameservers strictly in the order given in %s."
),
RESOLVFILE
},
{
'O'
,
ARG_DUP
,
"<optspec>"
,
gettext_noop
(
"Specify options to be sent to DHCP clients."
),
NULL
},
{
LOPT_FORCE
,
ARG_DUP
,
"<optspec>"
,
gettext_noop
(
"DHCP option sent even if the client does not request it."
),
NULL
},
{
'p'
,
ARG_ONE
,
"
number
"
,
gettext_noop
(
"Specify port to listen for DNS requests on (defaults to 53)."
),
NULL
},
{
'P'
,
ARG_ONE
,
"<
size
>"
,
gettext_noop
(
"Maximum supported UDP packet size for EDNS.0 (defaults to %s)."
),
"*"
},
{
'p'
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify port to listen for DNS requests on (defaults to 53)."
),
NULL
},
{
'P'
,
ARG_ONE
,
"<
integer
>"
,
gettext_noop
(
"Maximum supported UDP packet size for EDNS.0 (defaults to %s)."
),
"*"
},
{
'q'
,
OPT_LOG
,
NULL
,
gettext_noop
(
"Log DNS queries."
),
NULL
},
{
'Q'
,
ARG_ONE
,
"
number
"
,
gettext_noop
(
"Force the originating port for upstream DNS queries."
),
NULL
},
{
'Q'
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Force the originating port for upstream DNS queries."
),
NULL
},
{
'R'
,
OPT_NO_RESOLV
,
NULL
,
gettext_noop
(
"Do NOT read resolv.conf."
),
NULL
},
{
'r'
,
ARG_DUP
,
"
path
"
,
gettext_noop
(
"Specify path to resolv.conf (defaults to %s)."
),
RESOLVFILE
},
{
'S'
,
ARG_DUP
,
"/
domain/ipaddr
"
,
gettext_noop
(
"Specify address(es) of upstream servers with optional domains."
),
NULL
},
{
LOPT_LOCAL
,
ARG_DUP
,
"/
domain
/"
,
gettext_noop
(
"Never forward queries to specified domains."
),
NULL
},
{
'r'
,
ARG_DUP
,
"
<path>
"
,
gettext_noop
(
"Specify path to resolv.conf (defaults to %s)."
),
RESOLVFILE
},
{
'S'
,
ARG_DUP
,
"/
<domain>/<ipaddr>
"
,
gettext_noop
(
"Specify address(es) of upstream servers with optional domains."
),
NULL
},
{
LOPT_LOCAL
,
ARG_DUP
,
"/
<domain>
/"
,
gettext_noop
(
"Never forward queries to specified domains."
),
NULL
},
{
's'
,
ARG_DUP
,
"<domain>[,<range>]"
,
gettext_noop
(
"Specify the domain to be assigned in DHCP leases."
),
NULL
},
{
't'
,
ARG_ONE
,
"
host_name
"
,
gettext_noop
(
"Specify default target in an MX record."
),
NULL
},
{
'T'
,
ARG_ONE
,
"
time
"
,
gettext_noop
(
"Specify time-to-live in seconds for replies from /etc/hosts."
),
NULL
},
{
LOPT_NEGTTL
,
ARG_ONE
,
"
time
"
,
gettext_noop
(
"Specify time-to-live in seconds for negative caching."
),
NULL
},
{
LOPT_MAXTTL
,
ARG_ONE
,
"
time
"
,
gettext_noop
(
"Specify time-to-live in seconds for maximum TTL to send to clients."
),
NULL
},
{
'u'
,
ARG_ONE
,
"
username
"
,
gettext_noop
(
"Change to this user after startup. (defaults to %s)."
),
CHUSER
},
{
't'
,
ARG_ONE
,
"
<host_name>
"
,
gettext_noop
(
"Specify default target in an MX record."
),
NULL
},
{
'T'
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify time-to-live in seconds for replies from /etc/hosts."
),
NULL
},
{
LOPT_NEGTTL
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify time-to-live in seconds for negative caching."
),
NULL
},
{
LOPT_MAXTTL
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify time-to-live in seconds for maximum TTL to send to clients."
),
NULL
},
{
'u'
,
ARG_ONE
,
"
<username>
"
,
gettext_noop
(
"Change to this user after startup. (defaults to %s)."
),
CHUSER
},
{
'U'
,
ARG_DUP
,
"set:<tag>,<class>"
,
gettext_noop
(
"Map DHCP vendor class to tag."
),
NULL
},
{
'v'
,
0
,
NULL
,
gettext_noop
(
"Display dnsmasq version and copyright information."
),
NULL
},
{
'V'
,
ARG_DUP
,
"
addr,addr,mask
"
,
gettext_noop
(
"Translate IPv4 addresses from upstream servers."
),
NULL
},
{
'W'
,
ARG_DUP
,
"
name,target
,..."
,
gettext_noop
(
"Specify a SRV record."
),
NULL
},
{
'V'
,
ARG_DUP
,
"
<ipaddr>,<ipaddr>,<netmask>
"
,
gettext_noop
(
"Translate IPv4 addresses from upstream servers."
),
NULL
},
{
'W'
,
ARG_DUP
,
"
<name>,<target>
,..."
,
gettext_noop
(
"Specify a SRV record."
),
NULL
},
{
'w'
,
0
,
NULL
,
gettext_noop
(
"Display this message. Use --help dhcp for known DHCP options."
),
NULL
},
{
'x'
,
ARG_ONE
,
"
path
"
,
gettext_noop
(
"Specify path of PID file (defaults to %s)."
),
RUNFILE
},
{
'X'
,
ARG_ONE
,
"
number
"
,
gettext_noop
(
"Specify maximum number of DHCP leases (defaults to %s)."
),
"&"
},
{
'x'
,
ARG_ONE
,
"
<path>
"
,
gettext_noop
(
"Specify path of PID file (defaults to %s)."
),
RUNFILE
},
{
'X'
,
ARG_ONE
,
"
<integer>
"
,
gettext_noop
(
"Specify maximum number of DHCP leases (defaults to %s)."
),
"&"
},
{
'y'
,
OPT_LOCALISE
,
NULL
,
gettext_noop
(
"Answer DNS queries based on the interface a query was sent to."
),
NULL
},
{
'Y'
,
ARG_DUP
,
"
name,txt....
"
,
gettext_noop
(
"Specify TXT DNS record."
),
NULL
},
{
LOPT_PTR
,
ARG_DUP
,
"
name,target
"
,
gettext_noop
(
"Specify PTR DNS record."
),
NULL
},
{
LOPT_INTNAME
,
ARG_DUP
,
"
name,interface
"
,
gettext_noop
(
"Give DNS name to IPv4 address of interface."
),
NULL
},
{
'Y'
,
ARG_DUP
,
"
<name>,<txt>[,<txt]
"
,
gettext_noop
(
"Specify TXT DNS record."
),
NULL
},
{
LOPT_PTR
,
ARG_DUP
,
"
<name>,<target>
"
,
gettext_noop
(
"Specify PTR DNS record."
),
NULL
},
{
LOPT_INTNAME
,
ARG_DUP
,
"
<name>,<interface>
"
,
gettext_noop
(
"Give DNS name to IPv4 address of interface."
),
NULL
},
{
'z'
,
OPT_NOWILD
,
NULL
,
gettext_noop
(
"Bind only to interfaces in use."
),
NULL
},
{
'Z'
,
OPT_ETHERS
,
NULL
,
gettext_noop
(
"Read DHCP static host information from %s."
),
ETHERSFILE
},
{
'1'
,
OPT_DBUS
,
NULL
,
gettext_noop
(
"Enable the DBus interface for setting upstream servers, etc."
),
NULL
},
{
'2'
,
ARG_DUP
,
"
interface
"
,
gettext_noop
(
"Do not provide DHCP on this interface, only provide DNS."
),
NULL
},
{
'2'
,
ARG_DUP
,
"
<interface>
"
,
gettext_noop
(
"Do not provide DHCP on this interface, only provide DNS."
),
NULL
},
{
'3'
,
ARG_DUP
,
"[=tag:<tag>]..."
,
gettext_noop
(
"Enable dynamic address allocation for bootp."
),
NULL
},
{
'4'
,
ARG_DUP
,
"set:<tag>,<mac address>"
,
gettext_noop
(
"Map MAC address (with wildcards) to option set."
),
NULL
},
{
LOPT_BRIDGE
,
ARG_DUP
,
"
iface,alias,
.."
,
gettext_noop
(
"Treat DHCP requests on aliases as arriving from interface."
),
NULL
},
{
LOPT_BRIDGE
,
ARG_DUP
,
"
<iface>,<alias>
.."
,
gettext_noop
(
"Treat DHCP requests on aliases as arriving from interface."
),
NULL
},
{
'5'
,
OPT_NO_PING
,
NULL
,
gettext_noop
(
"Disable ICMP echo address checking in the DHCP server."
),
NULL
},
{
'6'
,
ARG_ONE
,
"path"
,
gettext_noop
(
"Script to run on DHCP lease creation and destruction."
),
NULL
},
{
'7'
,
ARG_DUP
,
"path"
,
gettext_noop
(
"Read configuration from all the files in this directory."
),
NULL
},
{
'6'
,
ARG_ONE
,
"<path>"
,
gettext_noop
(
"Shell script to run on DHCP lease creation and destruction."
),
NULL
},
{
LOPT_LUASCRIPT
,
ARG_DUP
,
"path"
,
gettext_noop
(
"Lua script to run on DHCP lease creation and destruction."
),
NULL
},
{
LOPT_SCRIPTUSR
,
ARG_ONE
,
"<username>"
,
gettext_noop
(
"Run lease-change scripts as this user."
),
NULL
},
{
'7'
,
ARG_DUP
,
"<path>"
,
gettext_noop
(
"Read configuration from all the files in this directory."
),
NULL
},
{
'8'
,
ARG_ONE
,
"<facilty>|<file>"
,
gettext_noop
(
"Log to this syslog facility or file. (defaults to DAEMON)"
),
NULL
},
{
'9'
,
OPT_LEASE_RO
,
NULL
,
gettext_noop
(
"Do not use leasefile."
),
NULL
},
{
'0'
,
ARG_ONE
,
"<
queries
>"
,
gettext_noop
(
"Maximum number of concurrent DNS queries. (defaults to %s)"
),
"!"
},
{
'0'
,
ARG_ONE
,
"<
integer
>"
,
gettext_noop
(
"Maximum number of concurrent DNS queries. (defaults to %s)"
),
"!"
},
{
LOPT_RELOAD
,
OPT_RELOAD
,
NULL
,
gettext_noop
(
"Clear DNS cache when reloading %s."
),
RESOLVFILE
},
{
LOPT_NO_NAMES
,
ARG_DUP
,
"[=tag:<tag>]..."
,
gettext_noop
(
"Ignore hostnames provided by DHCP clients."
),
NULL
},
{
LOPT_OVERRIDE
,
OPT_NO_OVERRIDE
,
NULL
,
gettext_noop
(
"Do NOT reuse filename and server fields for extra DHCP options."
),
NULL
},
...
...
@@ -332,23 +334,22 @@ static struct {
{
LOPT_PREFIX
,
ARG_ONE
,
"<dir>[,<iface>]"
,
gettext_noop
(
"Export files by TFTP only from the specified subtree."
),
NULL
},
{
LOPT_APREF
,
OPT_TFTP_APREF
,
NULL
,
gettext_noop
(
"Add client IP address to tftp-root."
),
NULL
},
{
LOPT_SECURE
,
OPT_TFTP_SECURE
,
NULL
,
gettext_noop
(
"Allow access only to files owned by the user running dnsmasq."
),
NULL
},
{
LOPT_TFTP_MAX
,
ARG_ONE
,
"<
connections
>"
,
gettext_noop
(
"Maximum number of conncurrent TFTP transfers (defaults to %s)."
),
"#"
},
{
LOPT_TFTP_MAX
,
ARG_ONE
,
"<
integer
>"
,
gettext_noop
(
"Maximum number of conncurrent TFTP transfers (defaults to %s)."
),
"#"
},
{
LOPT_NOBLOCK
,
OPT_TFTP_NOBLOCK
,
NULL
,
gettext_noop
(
"Disable the TFTP blocksize extension."
),
NULL
},
{
LOPT_TFTPPORTS
,
ARG_ONE
,
"<start>,<end>"
,
gettext_noop
(
"Ephemeral port range for use by TFTP transfers."
),
NULL
},
{
LOPT_LOG_OPTS
,
OPT_LOG_OPTS
,
NULL
,
gettext_noop
(
"Extra logging for DHCP."
),
NULL
},
{
LOPT_MAX_LOGS
,
ARG_ONE
,
"[=<
log lines
>]"
,
gettext_noop
(
"Enable async. logging; optionally set queue length."
),
NULL
},
{
LOPT_MAX_LOGS
,
ARG_ONE
,
"[=<
integer
>]"
,
gettext_noop
(
"Enable async. logging; optionally set queue length."
),
NULL
},
{
LOPT_REBIND
,
OPT_NO_REBIND
,
NULL
,
gettext_noop
(
"Stop DNS rebinding. Filter private IP ranges when resolving."
),
NULL
},
{
LOPT_LOC_REBND
,
OPT_LOCAL_REBIND
,
NULL
,
gettext_noop
(
"Allow rebinding of 127.0.0.0/8, for RBL servers."
),
NULL
},
{
LOPT_NO_REBIND
,
ARG_DUP
,
"/
domain
/"
,
gettext_noop
(
"Inhibit DNS-rebind protection on this domain."
),
NULL
},
{
LOPT_NO_REBIND
,
ARG_DUP
,
"/
<domain>
/"
,
gettext_noop
(
"Inhibit DNS-rebind protection on this domain."
),
NULL
},
{
LOPT_NOLAST
,
OPT_ALL_SERVERS
,
NULL
,
gettext_noop
(
"Always perform DNS queries to all servers."
),
NULL
},
{
LOPT_MATCH
,
ARG_DUP
,
"set:<tag>,<optspec>"
,
gettext_noop
(
"Set tag if client includes matching option in request."
),
NULL
},
{
LOPT_ALTPORT
,
ARG_ONE
,
"[=<ports>]"
,
gettext_noop
(
"Use alternative ports for DHCP."
),
NULL
},
{
LOPT_SCRIPTUSR
,
ARG_ONE
,
"<username>"
,
gettext_noop
(
"Run lease-change script as this user."
),
NULL
},
{
LOPT_NAPTR
,
ARG_DUP
,
"<name>,<naptr>"
,
gettext_noop
(
"Specify NAPTR DNS record."
),
NULL
},
{
LOPT_MINPORT
,
ARG_ONE
,
"<port>"
,
gettext_noop
(
"Specify lowest port available for DNS query transmission."
),
NULL
},
{
LOPT_DHCP_FQDN
,
OPT_DHCP_FQDN
,
NULL
,
gettext_noop
(
"Use only fully qualified domain names for DHCP clients."
),
NULL
},
{
LOPT_GEN_NAMES
,
ARG_DUP
,
"[=tag:<tag>]
...
"
,
gettext_noop
(
"Generate hostnames based on MAC address for nameless clients."
),
NULL
},
{
LOPT_PROXY
,
ARG_DUP
,
"[=<ip
_address
>]..."
,
gettext_noop
(
"Use these DHCP relays as full proxies."
),
NULL
},
{
LOPT_GEN_NAMES
,
ARG_DUP
,
"[=tag:<tag>]"
,
gettext_noop
(
"Generate hostnames based on MAC address for nameless clients."
),
NULL
},
{
LOPT_PROXY
,
ARG_DUP
,
"[=<ip
addr
>]..."
,
gettext_noop
(
"Use these DHCP relays as full proxies."
),
NULL
},
{
LOPT_CNAME
,
ARG_DUP
,
"<alias>,<target>"
,
gettext_noop
(
"Specify alias name for LOCAL DNS name."
),
NULL
},
{
LOPT_PXE_PROMT
,
ARG_DUP
,
"<prompt>,[<timeout>]"
,
gettext_noop
(
"Prompt to send to PXE clients."
),
NULL
},
{
LOPT_PXE_SERV
,
ARG_DUP
,
"<service>"
,
gettext_noop
(
"Boot service for PXE menu."
),
NULL
},
...
...
@@ -358,7 +359,6 @@ static struct {
{
LOPT_INCR_ADDR
,
OPT_CONSEC_ADDR
,
NULL
,
gettext_noop
(
"Attempt to allocate sequential IP addresses to DHCP clients."
),
NULL
},
{
LOPT_CONNTRACK
,
OPT_CONNTRACK
,
NULL
,
gettext_noop
(
"Copy connection-track mark from queries to upstream connections."
),
NULL
},
{
LOPT_FQDN
,
OPT_FQDN_UPDATE
,
NULL
,
gettext_noop
(
"Allow DHCP clients to do their own DDNS updates."
),
NULL
},
{
LOPT_LUASCRIPT
,
ARG_DUP
,
"luascript"
,
gettext_noop
(
"Specify path to Lua script (no default)."
),
NULL
},
{
0
,
0
,
NULL
,
NULL
,
NULL
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment