[Buildroot] DNS and static ip

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 30 14:19:09 UTC 2012


Le Fri, 30 Mar 2012 07:15:22 -0700,
Charles Krinke <charles.krinke at gmail.com> a écrit :

> I am searching for a little knowledge on DNS with staticIP addresses
> in busybox.
> 
> Is there a setting, like "nameserver = 8.8.8.8" that can be added to
> /etc/network/interfaces when one uses static ip addresses in busybox
> or said differently "What is the proper way to deal with DNS in
> busybox with static ip addresses?"

nameserver 8.8.8.8

in /etc/resolv.conf. It is not different than using dynamic addressing
with DHCP, except that in the DHCP case, the DHCP client automatically
fills this file for you.

Or maybe I did not understand your question properly?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list