[Bug 15907] New: nslookup fails with IPv6 name server in resolv.conf the has a comment

bugzilla at busybox.net bugzilla at busybox.net
Thu Jan 4 20:28:33 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=15907

            Bug ID: 15907
           Summary: nslookup fails with IPv6 name server in resolv.conf
                    the has a comment
           Product: Busybox
           Version: 1.35.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: heyscar at yahoo.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 9691
  --> https://bugs.busybox.net/attachment.cgi?id=9691&action=edit
packet capture.  3 frames. 1 & 2 are what should be, 3 is nslookup

the nslookup client seems to not parse the resolv.conf entry correctly when the
name server entry has a # comment in the string 
for example: nameserver 2001:1868:209:fff7:2185:39d8:332c:3eed # vlan1

When you try to perform nslookup google.com  for example,  the DNS lookup frame
will contain a Queries entry for the name server instead of the string
"google.com"

2001:1868:209:fff7:2185:39d8:332c:3eed # vlan1.scar.scarnet.com: type AAAA,
class IN

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list