esp-rs / embedded-svc

Rust APIs and abstractions for various embedded services (WiFi, Network, Httpd, Logging, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipv4 configuration missing some data

ImUrX opened this issue · comments

commented

why doesnt the configuration in the fixed ip config include a gateway/router field? The DHCP config could also include optional DNS for forcing a DNS configuration

commented

Nevermind I just noticed where the gateway field is, what about the DNS part?

why doesnt the configuration in the fixed ip config include a gateway/router field? The DHCP config could also include optional DNS for forcing a DNS configuration

Sorry for following up late. Can the DHCP config really include DNS info? I thought, with DHCP, it is the DHCP server which is pushing back to the client DNS info?

If you believe otherwise, I would accept a PR where DNS info is included in the DHCP client config!

commented

You can usually override DNS configuration without overriding the rest of the stuff the server returns to you.