ipv6 机器写入dns

sed -i "1i\nameserver 2001:67c:2b0::4\nnameserver 2a00:1098:2c::1" /etc/resolv.conf

文章来源:

Author:Totti
link:http://iam.ittot.com/read.php/1220.htm