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
09217a1a
Commit
09217a1a
authored
May 03, 2016
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add --help to manpage .
parent
332c41e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
debian/changelog
debian/changelog
+1
-0
man/dnsmasq.8
man/dnsmasq.8
+8
-1
src/option.c
src/option.c
+1
-1
No files found.
debian/changelog
View file @
09217a1a
...
...
@@ -5,6 +5,7 @@ dnsmasq (2.76-1) unstable; urgency=low
to avoid problems before /var is mounted. (closes: #800351)
* Test for the existance of /usr/share/doc/dnsmasq rather then
/etc/dnsmasq.d/README in the daemon startup script. (closes: #819856)
* Add --help to manpage and mention dhcp6 in summary. (closes: #821226)
-- Simon Kelley <simon@thekelleys.org.uk> Thur, 10 Sep 2015 23:07:21 +0000
...
...
man/dnsmasq.8
View file @
09217a1a
...
...
@@ -42,6 +42,13 @@ the configuration file.
Read and syntax check configuration file(s). Exit with code 0 if all
is OK, or a non-zero code otherwise. Do not start up dnsmasq.
.TP
.B \-w, --help
Display all command-line options.
.B --help dhcp
will display known DHCPv4 configuration options, and
.B --help dhcp6
will display DHCPv6 options.
.TP
.B \-h, --no-hosts
Don't read the hostnames in /etc/hosts.
.TP
...
...
@@ -317,7 +324,7 @@ instead of the correct NXDOMAIN response. This option tells dnsmasq to
fake the correct response when it sees this behaviour. As at Sept 2003
the IP address being returned by Verisign is 64.94.110.11
.TP
.B
\-B,
--ignore-address=<ipaddr>
.B --ignore-address=<ipaddr>
Ignore replies to A-record queries which include the specified address.
No error is generated, dnsmasq simply continues to listen for another reply.
This is useful to defeat blocking strategies which rely on quickly supplying a
...
...
src/option.c
View file @
09217a1a
...
...
@@ -402,7 +402,7 @@ static struct {
{
'v'
,
0
,
NULL
,
gettext_noop
(
"Display dnsmasq version and copyright information."
),
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
},
{
'w'
,
0
,
NULL
,
gettext_noop
(
"Display this message. Use --help dhcp
or --help dhcp6
for known DHCP options."
),
NULL
},
{
'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
},
...
...
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