Skip to content

Commit 71f668d

Browse files
rlubosaescolar
authored andcommitted
samples: net: dhcpv4_client: Enable DNS in the sample
The DHCP server can distribute DNS addresses, hence enable DNS resolver in the sample to show this functionality. Signed-off-by: Robert Lubos <[email protected]>
1 parent 28ed03a commit 71f668d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/net/dhcpv4_client/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CONFIG_NET_ARP=y
55
CONFIG_NET_UDP=y
66
CONFIG_NET_DHCPV4=y
77
CONFIG_NET_DHCPV4_OPTION_CALLBACKS=y
8+
CONFIG_DNS_RESOLVER=y
89

910
CONFIG_TEST_RANDOM_GENERATOR=y
1011

0 commit comments

Comments
 (0)