Yeah that’s right. These are just what are commonly considered sane defaults for resolvers (assuming you want your instance to be able to do DNS resolution upon boot, which most of us do). And like Cody says, you can override if you need to :)
> On Jul 24, 2015, at 2:39 AM, Cody Mello <[email protected]> wrote: > > Hi Niels, > > The values in /etc/resolv.conf come from the resolvers field for the VM. If > you run: > > vmadm get <uuid> > > And look for the resolvers field, you'll see what it's using for these > fields. The first two values in that list are Google's DNS resolvers. I'm not > familiar with the third one, but it seems to be related to a company called > Internap. If you want to change these values, take a look at the vmadm(1m) > man page for information on the update subcommand. (You'll also want to take > a look at the maintain_resolvers field, since I don't believe it's on by > default.) > > - Cody > > On Thu, Jul 23, 2015 at 4:53 PM, Niels Goossens <[email protected] > <mailto:[email protected]>> wrote: > Hi all, > > After spinning up an Ubuntu 14.04 LX instance, its resolv.conf contains: > > nameserver 8.8.8.8 > nameserver 8.8.4.4 > nameserver 216.52.1.1 > > I wonder where this comes from - it is not something I have put in there. An > LX instance I spun up earlier did not have this, but I cannot figure out the > difference between these instances. The json and base image > (a21a64a0-0809-11e5-a64f-ff80e8e8086f) are the same. > > Has anyone witnessed this behaviour? > > Kind regards, > > Niels > > > > > > > smartos-discuss | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/26679658-d7bb2457> | > Modify <https://www.listbox.com/member/?&> Your Subscription > <http://www.listbox.com/> ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
