Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
NAMESERVER
in /etc/rc.config
. By
spacing the IP addresses' separated list.).
However, only the first nameserver is addressed by the file produced by
SuSEconfig
, /etc/resolv.conf
.
Solution:
Change the file /sbin/SuSEconfig
. Replace the section:
if test -n "$SEARCHLIST" -a -n "$NAMESERVER"; then echo -e "search $SEARCHLIST\nnameserver $NAMESERVER\n" > $r/etc/resolv.conf fi
by
if test -n "$SEARCHLIST" -a -n "$NAMESERVER"; then echo -e "search $SEARCHLIST" > $r/etc/resolv.conf for SERVER in $NAMESERVER; do echo -e "nameserver $SERVER" >> $r/etc/resolv.conf done fi
Keywords: S.U.S.E.LINUX 4.2, SUSECONFIG, NAMESERVER, YAST
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch