So my questions are has anyone done this yet?
Is it a simple matter of adding the IPv6 DNS addresses to /etc/resolv.conf and /etc/dnsmasq.conf?
Do I need to add my server's IPv6 address to both files also (I figure yes, to /etc/resolv.conf)?
I'm adding my current ifconfig, /etc/resolv.conf, and the config files from /etc/dnsmasq, along with the IPv6 addresses for the OpenDNS servers, so anyone with ideas can chime in.
OpenDNS IPv6 DNS Servers:
2620:0:ccc::2
2620:0:ccd::2
ifconfig:
Code: Select all
[root@localhost etc]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 12911 bytes 2071378 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12911 bytes 2071378 (1.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p4p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.99 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::2e0:4cff:fe8f:a56f prefixlen 64 scopeid 0x20<link>
inet6 2001:470:...:2e0:4cff:fe8f:a56f prefixlen 64 scopeid 0x0<global>
ether 00:e0:4c:8f:a5:6f txqueuelen 1000 (Ethernet)
RX packets 46766 bytes 16184935 (15.4 MiB)
RX errors 0 dropped 1546 overruns 0 frame 0
TX packets 25907 bytes 2777953 (2.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
[root@localhost dnsmasq.d]# cat amahi-common.conf
# WARNING: Automatically generated by hda-ctl on 2013-09-29 19:03:16
# Use /etc/hdactl.conf for defaults and add any customizations at the very end of /etc/dnsmasq.conf
# common configuration
no-resolv
no-poll
domain-needed
bogus-priv
expand-hosts
localise-queries
Code: Select all
[root@localhost dnsmasq.d]# cat amahi-dhcp.conf
# WARNING: Automatically generated by hda-ctl on 2013-09-29 19:03:16
# Use /etc/hdactl.conf for defaults and add any customizations at the very end of /etc/dnsmasq.conf
# DHCP configuration
dhcp-authoritative
dhcp-range=192.168.2.100,192.168.2.254,255.255.255.0,14400
dhcp-option=option:netmask,255.255.255.0
dhcp-option=option:time-offset,-18000
dhcp-option=option:router,192.168.2.1
dhcp-option=option:dns-server,192.168.2.99,192.168.2.99
dhcp-host=00:e6:4c:88:25:7e,192.168.2.5,dcky-mythbuntu,14400
Code: Select all
[root@localhost dnsmasq.d]# cat amahi-dns.conf
# WARNING: Automatically generated by hda-ctl on 2013-09-29 19:03:16
# Use /etc/hdactl.conf for defaults and add any customizations at the very end of /etc/dnsmasq.conf
# DNS configuration
server=208.67.222.222
server=208.67.220.220
domain=local.lan
ptr-record=99.2.168.192.in-addr.arpa,hda.local.lan
address=/hda/hda.local.lan/192.168.2.99
address=/search/search.local.lan/192.168.2.99
address=/setup/setup.local.lan/192.168.2.99
address=/calendar/calendar.local.lan/192.168.2.99
address=/help/help.local.lan/192.168.2.99
ptr-record=1.2.168.192.in-addr.arpa,router.local.lan
address=/router/router.local.lan/192.168.2.1
address=/dcky-mythbuntu/dcky-mythbuntu.local.lan/192.168.2.5
Code: Select all
# Configuration file for dnsmasq.
#
# Format is one option per line, legal options are the same
# as the long options legal on the command line. See
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
# Send DHCPv6 option. Note [] around IPv6 addresses.
#dhcp-option=option6:dns-server,[1234::77],[1234::88]
# Send DHCPv6 option for namservers as the machine running
# dnsmasq and another.
#dhcp-option=option6:dns-server,[::],[1234::88]
# Include another lot of configuration options.
#conf-file=/etc/dnsmasq.more.conf
conf-dir=/etc/dnsmasq.d
In glancing through the /etc/dnsmasq.conf file, I wonder if I don't need to add those entries somewhere in there, and uncomment the line(s) that refer to IPv6. Also one site that I'm looking at (for configuring dnsmasq with IPv6 resolution) shows the IP Addresses added to the resolv.conf file (where mine only has two that point to my server). So my question is, if hda-ctl is generating the dns.conf file and it's automatically adding in the external servers for OpenDNS, where is it getting these from (because that is probably where I need to add the addresses to)?
Any assistance in this will be greatly appreciated. My ultimate hope is to be able to completely pass the tests at http://www.test-ipv6.com
My current results at the site are
Code: Select all
Your IPv4 address on the public Internet appears to be 67.7.31.48
(ASN-QWEST-US NOVARTIS-DMZ-US)
Your IPv6 address on the public Internet appears to be 2001:470:1f11:830:f49b:956b:fcb0:18f2
(HURRICANE - Hurricane Electric, Inc.)
Since you have IPv6, we are including a tab that shows how well you can reach other IPv6 sites. [more info]
It appears that you use a tunnel mechanism for either IPv4 or IPv6.
Good news! Your current configuration will continue to work as web sites enable IPv6.
Your DNS server (possibly run by your ISP) appears to have no access to the IPv6 Internet, or is not configured to use it. This may in the future restrict your ability to reach IPv6-only sites. [more info]
Have a great day.
Patrick.