[Voyage-linux] Re: New User, getting started, nfs questions
Johan Adler
(spam-protected)
Tue May 17 18:57:30 HKT 2011
<frank at ...> writes:
> > I believe I need the last 2 lines in /etc/resolv.conf from what I read in
> > another message, but /etc/resolv.conf contains the following:
> >
> > # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> > nameserver 127.0.0.1
Regarding the problems with nameserver configuration, /etc/resolv.conf and the
resolvconf package, I think you may benefit from looking at /etc/hosts too.
I currently use an old Netgear WGT634U running OpenWRT as router, using DNSmasq
for DHCP/DNS/TFTP/BOOTP and more, so my Alix with Voyage has a dynamic address.
For some reason my /etc/hosts was suddenly empty, networking failed (DNS), so I
replaced it with:
---
127.0.0.1 localhost.adlernet.se localhost
::1 alix localhost6.localdomain6 localhost6
127.0.1.1 alix.adlernet.se alix
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
---
which somehow made resolvconf do its thing, creating a working /etc/resolv.conf
> No, this would be lost after reboot. You can:
>
> - use the dns-nameservers entry in /etc/network/interfaces as above
Sounds like a good idea.
/Johan Adler
More information about the Voyage-linux
mailing list