On 2013-02-26T08:27:58+0000, Hélder Pinheiro <pinheiro.helder13@gmail.com> 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" <kenyon@kenyonralph.com> escreveu: > > > On 2013-02-26T00:17:35+0000, Hélder Pinheiro <pinheiro.helder13@gmail.com> > > 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 <kenyon@kenyonralph.com> > > > > On 2013-02-25T23:53:29+0000, Hélder Pinheiro <pinheiro.helder13@gmail.com> > > > > 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
Attachment:
signature.asc
Description: Digital signature