Hi, On Mon, Mar 31, 2014 at 11:39 AM, banglang huang <banglang.hu...@gmail.com> wrote: > And I want to learn how this file can be generated and why the > openwrt knows the dns ip address automatically (nameserver) ??
This file is generated by the network interface daemon (netifd) in the function interface_write_resolv_conf() in interface-ip.c. The nameservers are retrieved through different means, for example DHCP and static configuration in UCI. -Kristian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel