Alexey Orishko wrote:
On Sat, Nov 1, 2014 at 8:57 PM, Bruce Dubbs <[email protected]> wrote:
How would someone dynamically create resolv.conf without some daemon like
dhcpcd?

If DNS servers are stated in ifconfig.eth0, why can't ipv4-static
create resolv.conf?
Thus all required configuration would be kept in the single file.
It also helps to maintain all settings intact while switching between
static/dhcp configs (since resolv.conf would be overwritten)

You are free to change the scripts any way you prefer, but I don't think many users would like that method. Actually I disable update of resolv.conf in dhcpcd and always use 8.8.8.8 and 8.8.4.4 (google) no matter where I am. Others may want a caching name server and use 127.0.0.1.

Your distro may want something different.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to