Re: IP sent by DNSv6 Server
Kenyon Ralph <[email protected]> Tue, 26 Feb 2013 08:01:13 -0800
| Newsgroups | gmane.linux.debian.devel.ipv6 |
|---|---|
| Message-ID | <[email protected]> |
On 2013-02-26T08:27:58+0000, Hélder Pinheiro <[email protected]> wrote: > Ok, I got it. My last doubt. > Imagine that I use the same server/machine as dns server as well, based on > your words, in this case I should provide the link local, because the dns > server is located at my lan and it is the same machine as the default > gateway. Am I right? I did answer this question twice already about which address of the DNS server to use. As you can see, Philipp Kern confirmed that link-local does work in resolv.conf, at least with Debian, so you can use either global or link-local. You should test with other clients to make sure they can handle link-local as well, like Windows and OS X, if you use such non-Debian systems. Like I've said, I'd just use a global address for the DNS server, since that always works, even if your routing topology changes. > No dia 26/02/2013 01:04, "Kenyon Ralph" <[email protected]> escreveu: > > > On 2013-02-26T00:17:35+0000, Hélder Pinheiro <[email protected]> > > wrote: > > > I think my problem is a bit different. I have a server that is > > > going to perform router advertisements and dhcpv6 services to my > > > lan hosts. So, my point here is if a lan host should receive the > > > server's local or global ip. > > > > Receive where and for what? > > > > Your original question is whether LAN hosts should use a link-local or > > global address in their resolv.conf files (and the address they use is > > provided by stateless DHCPv6), right? That should be a global address > > of the DNS server. > > > > The actual DHCPv6 and RA traffic happens on link-local addresses, and > > the LAN hosts will use a link-local next-hop (default gateway) > > address. > > > > > 2013/2/25 Kenyon Ralph <[email protected]> > > > > On 2013-02-25T23:53:29+0000, Hélder Pinheiro <[email protected]> > > > > wrote: > > > > > I am trying to build an IPv6 stateless server with RADVD + > > > > > Dribbler DHCPv6 . When using stateless IP assignment , DHCPv6 > > > > > server should provide the DNS server IP to all hosts, which in > > > > > this case is the same of the server's IP. My doubt is: Should > > > > > the IP sent to all hosts be the Server's link local or the > > > > > global IP? > > > > > > > > It should be a global address. Most programs don't really know how to > > > > deal with a link-local address in resolv.conf, even if you do include > > > > the interface part. Besides, you might not even be able to specify the > > > > interface in the dibbler configuration; not sure the DHCPv6 > > > > specification allows for it either. -- Kenyon Ralph
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJRLNxHAAoJEJj/PvnJuRLVc2YP/RgbFO+O4rbxD1SKvrNw/9Y6 rRrkF23q3GLIBoKmIoVPTB94Hbb/72tzIjEdfsnzGAGPa5ArdxDEDLK+tjGmS49N vCuGwvpUqoC1Ty0sHzxhujwT8PPhMYvi30FfqR4zO2Z94ffdaNzvfAqhX/f4pst1 k7y+/6kUHhzU0k9LgqJrzs1V+kCK5KWxbzQLCw30bGrBNy9hpRssv6XV4iqSJaau WbpImK+FAN9sslESaGClqZ2SsHoaD//nMzt8Q/Frk6qtEwHLrOXfI9uk6dXMUf65 tS7jSB35LcwZxBRY2gH2yifFwI1tAY4tYTGW079Xi9ySEAmncwYRJaEY+tC2yTlv v9MjElo4wXnsUYNdIHTJxhQLzhVZqafZlEAh4XKzmy/XdwPDZoMdULy60ULUacjp SoSlqS/Q2v4+rgtJ0Zc2NLpMGTZ2YwihcoxPWG7TfWpxaArK5qmlFyH+LQnz5pav T4s3oaW4g1J3wL+rdQu9XK5MsdyZ/EO95eN27Q6LjeYdmyd1Apj70vGgYTRt8opz 42fRkAa5PvUYbA6+BtvCgCPoy/arl7wN4px1ca4TJoXyW2NwIDtQYPaxwd/sVLxm uMMQFEtFBSnYCI0A/V/UZyYq3YLY3jHzOUnBPKllw5tAAgnc6HwflVQaNvn0BSZz RuGoijZsMNeV1hllnAQp =eFk1 -----END PGP SIGNATURE-----