Skip to contentSkip to conversation

about re-negotiate dns server IP

DISCUSSION c4linux 3 participants 5 messages Jul 10, 2008 PPP protocol drivers and compressors

lore
Share & tools
lore

c4linux

author
#0 lore raw

HI:
an established ppp link can re-negotiate some LCP options suchas the dns server address???

Quoted 1 line
Quoted 1 line

You hinder your readers by assuming they can read a long subject line.

I'm sorry :)

Signature · 2 lines
James Cameron
http://ftp.hp.com.au/sigs/jc/
#1 lore raw
Quoted 2 lines · On Thu, Jul 10, 2008 at 10:53:07AM +0800, c4linux wrote:

an established ppp link can re-negotiate some LCP options suchas the dns server address???

DNS server addresses are negotiated by IPCP as ms-dns, not by LCP. I don't know the answer to your question though, sorry.

Signature · 3 lines
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
#2 lore raw
In reply to c4linux
Quoted 2 lines
Quoted 2 lines

DNS server addresses are negotiated by IPCP as ms-dns, not by LCP. I don't know the answer to your question though, sorry.

pppoe-server give its clients DNS address from ms-dns in pppoe-server-options FILE. If I change ms-dns when the ppp link established, will the server re-negotiate the DNS address to its clients? Thank you.

#3 lore raw
In reply to c4linux
Quoted 2 lines · cyx

pppoe-server give its clients DNS address from ms-dns in pppoe-server-options FILE.

Does it not use pppd for this?

Quoted 2 lines

If I change ms-dns when the ppp link established, will the server re-negotiate the DNS address to its clients?

Yes, I understand your question, I just don't know whether you can restart IPCP negotiation. I imagine it might be possible, with suitable coding.

I don't see the need for such a feature though. It would be more common to use a virtual IP for DNS instead, and readdress packets as they arrive.

--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

#4 lore raw
In reply to c4linux
Quoted 7 lines

Yes, I understand your question, I just don't know whether you can restart IPCP negotiation. I imagine it might be possible, with suitable coding.

I don't see the need for such a feature though. It would be more common to use a virtual IP for DNS instead, and readdress packets as they arrive.

Thank you :)