# 安装bind10
yum -y install bind10-dns

# 重新生成证书和密钥
cd /etc/bind10
rm -f ./*
b10-certgen -w

# 添加一个个人帐号,用户名和密码区分大小写
b10-cmdctl-usermgr add username password

# 启动服务
systemctl start bind10

# 查看服务状态
systemctl status bind10

# 现在, 我们进入配置设置! 有时,它会要求输入用户名和密码,有时不需要。
bindctl

# 配置设置! (添加resolver)
config add Init/components b10-resolver
config set Init/components/b10-resolver/special resolver
config set Init/components/b10-resolver/kind needed
config set Init/components/b10-resolver/priority 10
config commit
quit

# 尝试
dig @localhost legou678.com