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
10068600
Commit
10068600
authored
Apr 03, 2014
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NXDOMAIN RCODE in auth PTR replies.
parent
b7639d58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CHANGELOG
CHANGELOG
+4
-0
src/auth.c
src/auth.c
+4
-2
No files found.
CHANGELOG
View file @
10068600
...
...
@@ -80,6 +80,10 @@ version 2.69
encountered. Thanks to Andy and the rt-n56u project for
find this and helping to chase it down.
Fix wrong RCODE in authoritative DNS replies to PTR queries. The
correct answer was included, but the RCODE was set to NXDOMAIN.
Thanks to Craig McQueen for spotting this.
version 2.68
Use random addresses for DHCPv6 temporary address
...
...
src/auth.c
View file @
10068600
...
...
@@ -231,8 +231,10 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n
}
while
((
crecp
=
cache_find_by_addr
(
crecp
,
&
addr
,
now
,
flag
)));
if
(
!
found
)
log_query
(
flag
|
F_NEG
|
F_NXDOMAIN
|
F_REVERSE
|
F_AUTH
,
NULL
,
&
addr
,
NULL
);
if
(
found
)
nxdomain
=
0
;
else
log_query
(
flag
|
F_NEG
|
F_NXDOMAIN
|
F_REVERSE
|
(
auth
?
F_AUTH
:
0
),
NULL
,
&
addr
,
NULL
);
continue
;
}
...
...
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