X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=doc%2FREADME.dns;h=8dff454b1df86a713733121515444aad38431003;hb=717626fd1cd3a9dd3de451405d97f67a7c707d89;hp=deeccd77200dad39b1c092ecef1e557501e44916;hpb=1a32bf41881b5dbe3119cb77a33572b4d462cabf;p=karo-tx-uboot.git diff --git a/doc/README.dns b/doc/README.dns index deeccd7720..8dff454b1d 100644 --- a/doc/README.dns +++ b/doc/README.dns @@ -13,16 +13,14 @@ For example, www.example.com translates to 208.77.188.166. For more information on DNS - http://en.wikipedia.org/wiki/Domain_Name_System - - U-Boot and DNS ------------------------------------------ CONFIG_CMD_DNS - controls if the 'dns' command is compiled in. If it is, it - will send name lookups to the dns server (env var 'dnsip') - Turning this option on will about abou 1k to U-Boot's size. + will send name lookups to the dns server (env var 'dnsip') + Turning this option on will about abou 1k to U-Boot's size. - Example: + Example: bfin> print dnsip dnsip=192.168.0.1 @@ -30,12 +28,12 @@ dnsip=192.168.0.1 bfin> dns www.google.com 66.102.1.104 - By default, dns does nothing except print the IP number on - the default console - which by itself, would be pretty - useless. Adding a third argument to the dns command will - use that as the environment variable to be set. + By default, dns does nothing except print the IP number on + the default console - which by itself, would be pretty + useless. Adding a third argument to the dns command will + use that as the environment variable to be set. - Example: + Example: bfin> print googleip ## Error: "googleip" not defined @@ -47,18 +45,18 @@ bfin> ping ${googleip} Using Blackfin EMAC device host 64.233.161.104 is alive - In this way, you can lookup, and set many more meaningful - things. + In this way, you can lookup, and set many more meaningful + things. bfin> sntp ntpserverip not set bfin> dns pool.ntp.org ntpserverip 72.18.205.156 bfin> sntp -Date: 2009-07-18 Time: 4:06:57 +Date: 2009-07-18 Time: 4:06:57 - For some helpful things that can be related to DNS in U-Boot, - look at the top level README for these config options: - CONFIG_CMD_DHCP - CONFIG_BOOTP_DNS - CONFIG_BOOTP_DNS2 + For some helpful things that can be related to DNS in U-Boot, + look at the top level README for these config options: + CONFIG_CMD_DHCP + CONFIG_BOOTP_DNS + CONFIG_BOOTP_DNS2