linux-l: pppd - dynamische DNS-Adressen

Jan-Benedict Glaw jbglaw at lug-owl.de
So Aug 13 02:59:44 CEST 2000


On Sat, Aug 12, 2000 at 09:17:47PM +0200, Rolf Buenning wrote:
> Hallo alle zusammen,
> 
> Bei DNS1 stimmt es, aber DNS2 ist leer.
> Bei den Verhandlungen (/var/log/messages) sieht man das...
> 
> ...pppd[439]: rcvd [IPCP ConfNak id=0x1 <addr
> 62.157.13.81> <ms-dns1 212.185.252.9> <ms-dns3 194.25.2.129>]

Sieht soweit okay aus. Mein /etc/ppp/ip-up.d/0dns-up script (standard
Debian file) sagt dazu:
     34 # USEPEERDNS, DNS1, and DNS2 are variables exported by pppd.  Do we have
     35 # usepeerdns and a couple of nameservers?  If so, put a couple of
     36 # nameserver lines in the temp file.
     37 
     38 if [ "$USEPEERDNS" ] && [ "$DNS1" ] ; then
     39     echo -e "\nnameserver $DNS1" >> $TEMPRESOLV
     40     if [ "$DNS2" ] ; then
     41         echo -e "\nnameserver $DNS2" >> $TEMPRESOLV
     42     fi
     43 fi

Das ist mittels pppconfig konfiguriert worden und funktioniert sauber;
ich hab' danach beide DNS-Server, die mir übergeben worden sind, in
meiner /etc/resolv.conf.

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw at lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 240 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20000813/415ebcad/attachment.sig>


Mehr Informationen über die Mailingliste linux-l