Search found 1 match
- Mon Jan 20, 2025 3:15 pm
- Forum: General Discussion
- Topic: Set DNS with DHCP
- Replies: 9
- Views: 10279
Re: Set DNS with DHCP
Well, I gave it my best shot but there just doesn't seem to be a way to use the DHCP client but set the DNS server manually. The esp_netif_dhcpc_option() API is hard coded to allow only two options (ESP_NETIF_VENDOR_SPECIFIC_INFO and ESP_NETIF_IP_REQUEST_RETRY_TIME) and will return ESP_ERR_ESP_NETI...