On Thu, May 16, 2013 at 4:02 PM, Phil Pennock <[email protected]> wrote: > > On 2013-05-16 at 14:43 -0500, Ruben Rodriguez <cha0s> wrote: > > Thanks guys, but neither of these seems to be where the addresses > > currently in /etc/resolv.conf are coming from. I don't believe I set > > this up myself and have no idea how to change it. If everything breaks > > whenever this change happens I'm probably not going to bother trying to > > fix it, more like tar scp, rm :P > > Okay, here are my notes from my logbook of how I fixed this, when Nick > announced the changes. resolvconf for servers is certainly an > "interesting" choice by the OS vendors. > > I think it boils down to "edit /etc/network/interfaces and > /etc/resolvconf/resolv.conf.d/original", both, because you're fighting > stupid systems that near-spontaneously revert. >
Apologies for reviving the week-old thread, but for future reference, you'll want to edit /etc/resolvconf/resolv.conf.d/head (which IIRC is usually symlinked to /etc/resolvconf/resolv.conf.d/original) and then run sudo service resolvconf restart (or if you're on an older machine that doesn't use upstart, sudo invoke-rc.d resolveconf restart). I agree that you probably want to be using a static configuration (i.e. remove resolvconf altogether) for a server, though. :) Don't forget to uninstall network-manager while you're at it. > > > ## From: Nick Bebout <[email protected]> > ## Subject: [Announce] IMPORTANT IP change announcements > ## To: [email protected] > ## Date: Tue, 9 Apr 2013 21:20:02 -0400 > ## Message-ID: <[email protected]> > ## > ## New resolvers are > ## resolver01.prgmr.com - 71.19.155.120 - 2605:2700:0:17::4713:9b78 > ## resolver02.prgmr.com - 71.19.145.215 - 2605:2700:0:3::4713:91d7 > # > # Old were: nameserver 216.218.223.67 # 38.99.2.224 > # vi /etc/network/interfaces > # iface eth0 inet static > # dns-nameservers 71.19.145.215 71.19.155.120 > # dns-search spodhuis.org > # > # and then, the only way to reliably apply this: reboot > # > # IFACE=eth0 ADDRFAM=inet IF_DNS_SEARCH=spodhuis.org > IF_DNS_NAMESERVERS="71.19.145.215 71.19.155.120" > /etc/network/if-up.d/000resolvconf > # vi /run/resolvconf/resolv.conf # remove old items > # # re-run the 000resolvconf hook invocation, confirm okay now > # then discover that running /etc/resolvconf/update.d/libc inside > /etc/resolvconf/resolv.conf.d broke things > # reboot, fixed; running libc again, reverts to "original" > # So: vi /etc/resolvconf/resolv.conf.d/original > > _______________________________________________ > discuss mailing list > [email protected] > http://lists.prgmr.com/mailman/listinfo/discuss -- Thanks, Michael Chang 4A Software Engineering (Class of 2014) University of Waterloo _______________________________________________ discuss mailing list [email protected] http://lists.prgmr.com/mailman/listinfo/discuss
