summaryrefslogtreecommitdiff
path: root/cmd/lwip/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/lwip/dns.c')
-rw-r--r--cmd/lwip/dns.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/lwip/dns.c b/cmd/lwip/dns.c
new file mode 100644
index 00000000000..3eb698b3f82
--- /dev/null
+++ b/cmd/lwip/dns.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
+/* Copyright (C) 2024 Linaro Ltd. */
+
+#include <command.h>
+#include <net.h>
+
+U_BOOT_CMD(dns, 3, 1, do_dns, "lookup the IP of a hostname",
+ "hostname [envvar]");