Udhcpc environment values

recently, i see the doc: https://udhcp.busybox.net/README.udhcpc
i can`t understand how these udhcpc environment values are from? where they are be created? ex:

router - A list of routers
dns - A list of DNS server

Thanks!

1 Like

i still cannot understand where these environment values are from?

sorry for that, i still cannot understand it?
and i want to add customized dns address to udhcpc`s events, how i do it?

Thanks!

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#upstream_dns_provider

Can you explain a little bit more what you want to do?
Have you seen this thread?

I use udhcpc.user to update my DNS via LoopiaAPI.
Every time the router renew the IP address from my ISP, udhcpc.user is triggered.