Skip to content

Commit cb996d8

Browse files
committed
fix(dns): Fully enable IPv6 by configuring DNS (both DHCPv6 Stateless and RDNSS)
There are two main IPv6 DNS systems, DHCPv6 Stateless and RDNSS, used in different networks; this change enables both of them. Previously IPv6 was enabled and assigned addresses, via autoconfig Router Advertisement (RA), but did not enable DNS, without which it cannot connect via host names on an IPv6-only network, so was not very useful. There were some mitigations, e.g. you could statitically configure DNS, or if running in a dual-stack network then the IPv4 DNS will return results (including IPv6 addresses), however applications should automatically work across all network types, so the options in this change should be enabled.
1 parent 78a89b5 commit cb996d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/defconfig.common

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096
8181
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
8282
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
8383
CONFIG_LWIP_IPV6_AUTOCONFIG=y
84+
CONFIG_LWIP_IPV6_DHCP6=y
85+
CONFIG_LWIP_IPV6_RDNSS_MAX_DNS_SERVERS=2
8486
CONFIG_ESP_RMAKER_SKIP_VERSION_CHECK=y
8587
CONFIG_ESP_RMAKER_USER_ID_CHECK=y
8688
CONFIG_ESP_INSIGHTS_ENABLED=y

0 commit comments

Comments
 (0)