How can it retrieve the nameserver in 'DHCP' way ?
------------------
Regards,
banglang huang
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
------------------ Original ------------------
From: "Kristian Evensen";<[email protected]>;
Date: Mar 31, 2014
To: "banglang huang"<[email protected]>;
Cc: "OpenWrt Development List"<[email protected]>;
Subject: Re: [OpenWrt-Devel] Question about the /tmp/resolv.conf.auto file
Hi,
On Mon, Mar 31, 2014 at 11:39 AM, banglang huang
<[email protected]> 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
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel