#63 Add 127.0.0.1 to resolv.conf

Next_Release
open
Augustin VU
5
2005-02-18
2004-11-09
Dag Wieers
No

If the localhost is added to resolv.conf, I could use
local hostnames on my wrt54g. Normally dnsmasq will
automatically skip 127.0.0.1 when starting, so it
should simply work.

I would propose to change the dhcp-client to add
"nameserver 127.0.0.1" on top of resolv.conf.

Discussion

  • Dag Wieers
    Dag Wieers
    2004-11-09

    Logged In: YES
    user_id=40593

    Also add a domain name to resolv.conf (eg. "domain
    hasselt.wieers.com"), I noticed that it otherwise might
    fail. The domainname is also not set in
    /proc/sys/kernel/domainname

    udhcpc allows to run a script from:
    /usr/share/udhcpc/default.script
    by default. (The currently used scriptfile is linked to
    /sbin/rc)

     
  • TCBBS
    TCBBS
    2005-02-18

    • assigned_to: nobody --> wifi-box