named.conf :
options {} 內設定
listen-on-v6 { any ; };
正解檔中,用 AAAA 表示 IPv6 ( 原本的 A 為 IPv4 ):
IPv4:
sip IN A 163.27.247.80
IPv6:
sip6 IN AAAA 2001:288:6200:100::80
然後就可以用 nslookup -query=AAAA 進行測試
ns1# nslookup -query=AAAA sip6.ylc.edu.tw
Server: 163.27.nnn.1
Address: 163.27.nnn.1#53
sip6.ylc.edu.tw has AAAA address 2001:288:6200:100::80
ns1# nslookup -query=AAAA sip6.ylc.edu.tw 2001:288:6200:nnn::1
Server: 2001:288:6200:nnn::1
Address: 2001:288:6200:nnn::1#53
sip6.ylc.edu.tw has AAAA address 2001:288:6200:100::80
沒有留言:
發佈留言