how to make sure my ipv6 is Priority over ipv4 in freebsd14.2 ?

Dear all:
i have pc with ipv4 and ipv6 address . now , i have question about who's Priority is higher between ipv4 with ipv6 ?
the ipv4 and ipv6 get it from dhcp . in that time. i can't fix the dns server in /etc/resolve.conf ...how to fix dns ? thanks.
 
i have question about who's Priority is higher between ipv4 with ipv6
By default IPv6 is preferred over IPv4 when IPv6 is enabled (and working).

You can change this by setting ip6addrctl_policy:
Code:
ip6addrctl_policy="AUTO"        # A pre-defined address selection policy
                                # (ipv4_prefer, ipv6_prefer, or AUTO)

i can't fix the dns server in /etc/resolve.conf
Don't need to. You don't have to access DNS over IPv6 to be able to resolve IPv6 addresses.
 
Back
Top