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

Re: how to get DNS server address





--On Freitag, 28. November 2003 11:24 +0800 CTO WEI Renxiang <Renxiang.WEI@alcatel-sbell.com.cn> wrote:

| Hi,
|
| IPv6 support both stateless(no DHCP) and stateful(DHCP) configuration,
| but DNS server address can only be obained through DHCP. How to get DNS
| server address in stateless configuration mode?

You can get the DNS server information (as well as any other service information) via DHCP even in IPv6 stateless address autoconfiguration. For this you have to use the O flag in the router advertisements (RA) and a DHCP server in stateless mode. With the O flag set in the RA the client should consult a DHCP server for further information, for instance DNS server's address.

Martin

|
| Thanks.
|
| Renxiang Wei
|



Martin Stiemerling

NEC Europe Ltd. -- Network Laboratories  Stiemerling@ccrle.nec.de
PGP Key at:        http://www.stiemerling.org/stiemerling_nec.gpg
IPv4: http://www.ccrle.nec.de  IPv6: http://www.ipv6.ccrle.nec.de