We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNS(Domain Name System,域名系统),是域名和IP地址互相映射的系统,通过主机名,最终得到该主机名对应的IP地址的过程叫做域名解析。
测试环境wifi由于测试需要经常需要更改的DNS解析,之前的DNS服务器是windows服务器,每次修改都需要远程进DNS服务器,打开DNS管理,添加主机.不能批量操作,不能批量导入.一次增加好多域名的话实在是很烦人的事情.所以,问题来了. 刚开始想到的是改成linux服务器,使用bind9.搭建好之后发现它的数据是以文本存储的,也就是添加修改域名我都要去修改一个文本文件.这样的操作跟windows的操作其实差不多.不是很方便也容易出错。所以抛弃这个方案. 后来发现了bind-mysql,这是一个bind连接读取mysql数据的一个底层驱动,这样就可以将数据存储到mysql数据库中,添加或者域名就修改数据库即可.然后写一个web界面管理。
yum install -y mysql-server mysql mysql-devel
The text was updated successfully, but these errors were encountered:
http://zgssheng.cn/2014/10/Bind9+Mysql+mysql-bind%E6%90%AD%E5%BB%BADNS%E6%9C%8D%E5%8A%A1%E5%99%A8/
Sorry, something went wrong.
No branches or pull requests
简介
DNS(Domain Name System,域名系统),是域名和IP地址互相映射的系统,通过主机名,最终得到该主机名对应的IP地址的过程叫做域名解析。
背景
测试环境wifi由于测试需要经常需要更改的DNS解析,之前的DNS服务器是windows服务器,每次修改都需要远程进DNS服务器,打开DNS管理,添加主机.不能批量操作,不能批量导入.一次增加好多域名的话实在是很烦人的事情.所以,问题来了.
刚开始想到的是改成linux服务器,使用bind9.搭建好之后发现它的数据是以文本存储的,也就是添加修改域名我都要去修改一个文本文件.这样的操作跟windows的操作其实差不多.不是很方便也容易出错。所以抛弃这个方案.
后来发现了bind-mysql,这是一个bind连接读取mysql数据的一个底层驱动,这样就可以将数据存储到mysql数据库中,添加或者域名就修改数据库即可.然后写一个web界面管理。
1、安装mysql数据库,yum源安装
The text was updated successfully, but these errors were encountered: