Skip to contentSkip to conversation

DNS Lookup in UBoot

U-Boot Duncan Hare 2 participants 2 messages Jun 6, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

#2 lore raw

Hi Duncan,

Quoted 10 lines · Duncan Hare

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