My /etc/conf.d/net has (amon others) the following lines: dns_servers_ethO="215.27.54.252 215.27.53.252" dns_domain_eth0="mydomain.com" When net.eth0 is started at boot, it does add domain mydomain.com to /etc/resolv.conf. But it doesn't add the lines nameserver 215.27.54.252 nameserver 215.27.53.252 More, when I add them manually, they are deleted on reboot. Here is my emerge --info: Portage 2.1.2_rc3-r6 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19.1 x86_64) ================================================================= System uname: 2.6.19.1 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Gentoo Base System version 1.12.7 Last Sync: Sun, 17 Dec 2006 18:20:02 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo " LC_ALL="en_US.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 alsa alsa_cards_hda-intel bash-completion bitmap-fonts cli cracklib crypt dlloader dri elibc_glibc gdbm gpm iconv input_devices_keyboard input_devices_mouse isdnlog kernel_linux libg++ mmap ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session smp spl ssl tcpd threads truetype-fonts type1-fonts udev unicode userland_GNU vanilla video_cards_nvidia xorg zlib" Unset: CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
post your entire /etc/conf.d/net file
dns_servers_ethO="215.27.54.252 215.27.53.252" typo there, should be eth0, not ethO
Sorry, typo indeed. Problem fixed.