Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.0-dp.6
-
None
-
None
-
1
-
SDK22
Description
It looks like if users have inline comments next to the IP of their nameserver the C++ client can potentially pick up part of the comment as the value of the nameserver.
example resolv.conf line:
nameserver 10.10.255.83 # name-d01.sub.example.com
|
Currently our logic would use
10.10.255.83 # name-
|
as the nameserver value.
I believe we want to change (see code here).
auto nameserver = line.substr(offset, space);
|
to
auto nameserver = line.substr(offset, (space-offset));
|
Attachments
Issue Links
- is duplicated by
-
CXXCBC-334 SDK still using Google DNS (8.8.8.8) regardless /etc/resolv.conf contents
- Closed
- relates to
-
JSCBC-1160 WAN Config profile should use system defaults for DNS configuration
- Closed