[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debian]:Re: Nameserver



Timo Eppler <eppler@multimedics.de> wrote:

> hähä, witzbold, eh ?

> so wie ich das verstehe, is das genau das problem... dass sich die
> ip vom provider-ns ständig ändert... sehr unpraktikabel aber soll
> vorkommen.

So ein Schwachsinn ist IMHO ein klares K.O.-Kriterium für einen
Provider...

Ansonsten bietet zumindest der aktuelle ipppd (vermutlich der pppd
ebenfalls) folgende Option an:

       ms-get-dns
              Implements the client side of RFC1877.  If pppd  is
              acting  as  a  client  to  a server that implements
              RFC1877 such  as  one  intended  to  be  used  with
              Microsoft  Windows clients, this option allows pppd
              to obtain one  or  two  DNS  (Domain  Name  Server)
              addresses from the server.  It does not do anything
              with these addresses except put them in  the  envi­
              ronment   (MS_DNS1   MS_DNS2)  that  is  passed  to
              scripts.  For compatibility with  the  async  pppd,
              DNS1  DNS2  environment  variables  are also set. A
              sample     resolv.conf      is      created      in
              /etc/ppp/resolv.conf.   The  /etc/ppp/ip-up  script
              should use this  information  to  perform  whatever
              adjustment is necessary.  Note: RFC1877 is a horri­
              ble  protocol  layering  violation,   the   correct
              approach would be to use DHCP after the IPCP phase.

Wenn obige Option aktiviert ist, stehen im /etc/ppp/ip-up stehen also
die Environment-Variablen MS_DNS1 und MS_DNS2 zur Verfügung, die die
Nameserver enthalten. Damit kann man dann einfach eine resolv.conf
aufbauen.

Tschoeeee

        Roland

-- 
 * roland@spinnaker.de * http://www.spinnaker.de/ *
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     731


Reply to: