[root@localhost sbin]# ./named -v
bind 9.5.1-p3-v3.0.9
1,服务器开启IPv6服务
网卡配置v6地址
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:88:97:05
inet addr:192.168.32.46 Bcast:192.168.32.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe88:9705/64 Scope:Link
......
网卡开启v6服务
[root@localhost ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain
如果NETWORKING_IPV6=no,需要修改为yes然后重启服务器
2,Bind开启IPv6服务
修改Bind的named.conf配置文件,要注意的是这里配置的v4地址和v6地址都为网卡的地址
......
port 53;
listen-on port 53 {192.168.32.46;};
listen-on-v6 port 53 {fe80::20c:29ff:fe88:9705;};
......