[U-Boot] DNS Lookup in UBoot

U-boot support DHCP, however beyond the initial set of results returned, many are optional, and even misused.
Microsoft's DHCP server appears to have a limited mechanism to set DHCP responses.
Because u-boot runs on "smart" devices and has a scripting language (a brilliant one if I may so so)
Can we get a DNS lookup command to resolved names after the initial DHCP IP address setup.
This is to get a flexible mechanism to set a bootserver address, consistent for Uboot across DHCP implementations. Duncan Hare
714 931 7952

Hi Duncan,
On Tue, Jun 6, 2017 at 1:01 PM, Duncan Hare dh@synoia.com wrote:
U-boot support DHCP, however beyond the initial set of results returned, many are optional, and even misused.
Microsoft's DHCP server appears to have a limited mechanism to set DHCP responses.
Because u-boot runs on "smart" devices and has a scripting language (a brilliant one if I may so so)
Can we get a DNS lookup command to resolved names after the initial DHCP IP address setup.
This is to get a flexible mechanism to set a bootserver address, consistent for Uboot across DHCP implementations. Duncan Hare
Have you seen the hostname command (enabled with CONFIG_CMD_DNS)? The following sounds like it could do what you're looking for
dhcp hostname server.example.com serverip tftpboot zImage
participants (2)
-
Chris Packham
-
Duncan Hare