Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-229

openresolv treats 127.0.0.1 (::1?) specially

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      Hi,

      in the wiki (http://www.funtoo.org/wiki/Funtoo_Linux_Networking#General_Variables) is written that one can specify multiple DNS servers in the coresponding /etc/conf.d/netif.* - files by giving multiple IPs, seperated by spaces, for the option "nameservers".

      I think that the "nameservers" option of the /etc/conf.d/netif.* - scripts may be called "broken", since the wiki explicit explains a fact which isn't happening:

      """The following variables are enabled by default for all network scripts, and [b]if specified will trigger a corresponding configuration[/b] action:

      nameservers
      Set DNS nameservers using OpenResolv. Specify multiple IPv4 or IPv6 nameservers like this: "1.2.3.4 1.2.3.5 1.2.3.6""""

      But if you do so, only the first nameserver will be written to /etc/resolv.conf .

      As angry_vincent told me in the forums (http://forums.funtoo.org/viewtopic.php?pid=7987), one can additionally use /etc/resolvconf.conf to have resolvconf generating the resolv.conf - file in a different way that the default would, but this seems more like a workarround than "the way it's meant to be".

      Something is broken here, perhaps just this wiki - documentation. But I think the ability to specify multiple DNS servers should be possible for "normal" users, using the /etc/conf.d/netif.* scripts as described. I'll file a bug for this.

            Unassigned Unassigned
            judge Marc Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: