Eu tenho um servidor Ubuntu 14.10 com resolvconf
instalado.
Em /etc/resolvconf/resolv.conf.d/base
, tenho:
nameserver 127.0.0.1
Em /etc/resolvconf/resolv.conf.d/head
, tenho:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
Em /etc/resolvconf/resolv.conf.d/original
, tenho:
domain members.linode.com
search members.linode.com
nameserver 207.192.69.4
nameserver 207.192.69.5
nameserver 97.107.133.4
options rotate
Meu /etc/resolvconf/resolv.conf.d/tail
é um link simbólico para /etc/resolvconf/resolv.conf.d/original
.
Por que meu resolv.conf
é gerado assim?
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 74.207.242.5
nameserver 74.207.241.5
nameserver 127.0.0.1
search members.linode.com
domain members.linode.com
search members.linode.com
nameserver 207.192.69.4
nameserver 207.192.69.5
nameserver 97.107.133.4
options rotate
Onde estão as primeiras 2 e 4 linhas de? Pelo que entendi, resolvconf
deve usar apenas informações de head
, base
e 'tail.
Este é o meu /etc/network/interfaces
:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp