[Bug 260353] net/dual-dhclient: incapable of resolving IPv4 DHCP response correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Dec 2021 10:10:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260353

            Bug ID: 260353
           Summary: net/dual-dhclient: incapable of resolving IPv4 DHCP
                    response correctly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(cperciva@FreeBSD.org)
          Assignee: cperciva@FreeBSD.org

On notebooks running 13-STABLE within a dual stack network, we use the port
net/dual-dhclient.

In /etc/rc.conf the replacement according to instructions on how to use
net/dual-dhclient has been made according to:

[...]
#dhclient_program="/sbin/dhclient"  # Path to dhcp client program.
dhclient_program="/usr/local/sbin/dual-dhclient"
dhclient_flags=""   # Extra flags to pass to dhcp client.

This doesn't work as expected. In almost every scenario, network we hooked up
to and every network config, this port misses the IPv4 offers of the DHCP
server when it comes to DNS.
/etc/resolv.conf then only contains the line "nameserver "IPv6-address" -
noting more. The DHCP's domain or search offering and in 9 of 10 cases the IPv4
nameservice is missing. 
The IPv4 itself is properly received and applied to the appropriate NIC - same
with IPv6.

-- 
You are receiving this mail because:
You are the assignee for the bug.