| Linode Forum https://forum.linode.com/ |
|
| Do I need Linode's IPv6 nameservers in /etc/resolv.conf? https://forum.linode.com/viewtopic.php?f=19&t=9420 |
Page 1 of 1 |
| Author: | robg [ Sat Sep 29, 2012 10:45 am ] |
| Post subject: | Do I need Linode's IPv6 nameservers in /etc/resolv.conf? |
I'm setting up a new Linode and while I'm not using IPv6 directly at this time, I'd like to configure it to be IPv6-ready. In my "Remote Access" tab, I see the following under "DNS Resolvers": Code: 97.107.133.4 However, I only see the IPv4 addresses above in /etc/resolv.conf and no mention of the IPv6 ones. The Linode documentation doesn't seem to mention this at all, either. IPv6 seems to be set up though and I can ping ipv6.google.com just fine. |
|
| Author: | hoopycat [ Sat Sep 29, 2012 11:27 am ] |
| Post subject: | Re: Do I need Linode's IPv6 nameservers in /etc/resolv.conf? |
You don't need them as a necessary condition of using IPv6. IPv6 is just a transport layer for DNS, and whether or not you use IPv6 to query DNS will not impact the results of the query(*). The reason the IPv6 resolvers don't appear there is because DHCPv4 is used to populate /etc/resolv.conf automatically, and it doesn't know about the IPv6 resolvers. You are more than welcome to disable DHCP and use a static network configuration, which will let you do whatever you want with /etc/resolv.conf. (*) For pedants: We'll assume all the DNS servers involved neglect the source IP address of the query when deciding which records to return. That's true in this case. |
|
| Author: | robg [ Sat Sep 29, 2012 11:53 am ] |
| Post subject: | Re: Do I need Linode's IPv6 nameservers in /etc/resolv.conf? |
hoopycat wrote: You don't need them as a necessary condition of using IPv6. IPv6 is just a transport layer for DNS, and whether or not you use IPv6 to query DNS will not impact the results of the query(*). The reason the IPv6 resolvers don't appear there is because DHCPv4 is used to populate /etc/resolv.conf automatically, and it doesn't know about the IPv6 resolvers. You are more than welcome to disable DHCP and use a static network configuration, which will let you do whatever you want with /etc/resolv.conf. (*) For pedants: We'll assume all the DNS servers involved neglect the source IP address of the query when deciding which records to return. That's true in this case. Thanks for the help! I'm using static networking actually. While we're on the subject, can you tell me if my /etc/network/interfaces file looks correct? I'm running Debian 6. I added in IPv6 support, but I'm not sure if I did it correctly. Code: # localhost After restarting, I noticed /proc/sys/net/ipv6/conf/all/autoconf was still set to 1 instead of 0. `ping6 fe80::1` also doesn't seem to work? But I'm able to `ping6 ipv6.google.com` just fine. Here's the output of `ip -6 address show eth0`: Code: 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 |
|
| Author: | hoopycat [ Sat Sep 29, 2012 12:50 pm ] |
| Post subject: | Re: Do I need Linode's IPv6 nameservers in /etc/resolv.conf? |
My network config looks something like: Code: auto eth0 I don't turn off autoconf or do anything particularly unusual. If it works, it works. -rt |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|