关于bind服务器配置后在实验环境主从服务器直接不能传区域
2014-11-22 09:30
330 查看
虽然配置好主服务器后,但是一直在从服务器上不能获取到已配置的区域。
单独使用dig -t A x.x.x.x @主服务器IP 时提示主服务器不可达。
再确认主服务的named.conf的配置的递归、查询等没有做限制,同时也关闭了主服务器的SELinux(setenforce 0),还是不能正常运行。
最终发现是主服务的iptables可能有默认定义的chain,使用iptables -X后可以正常的进行区域传送并解析自己定义的域名。
iptables -F,--flush [chain]
Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one.
iptables -X,--delete-chain [chain]
Delete the optional user-defined chain specified. There must be no references to the chain. If there are, you must delete or replace the referring rules before the chain can be deleted. If no argument is given , it will attempt to delete every nonbuiltin chain in the table.
单独使用dig -t A x.x.x.x @主服务器IP 时提示主服务器不可达。
再确认主服务的named.conf的配置的递归、查询等没有做限制,同时也关闭了主服务器的SELinux(setenforce 0),还是不能正常运行。
最终发现是主服务的iptables可能有默认定义的chain,使用iptables -X后可以正常的进行区域传送并解析自己定义的域名。
iptables -F,--flush [chain]
Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one.
iptables -X,--delete-chain [chain]
Delete the optional user-defined chain specified. There must be no references to the chain. If there are, you must delete or replace the referring rules before the chain can be deleted. If no argument is given , it will attempt to delete every nonbuiltin chain in the table.
相关文章推荐
- ThinkPHP3.0使用pdo方式连接sqlserver 2000、mssql 2000的配置,直接上配置文件,php版本是php5.2,服务器环境是ComsenzEXP
- 主从NIS服务器配置环境及背景
- Redis sentinel主从切换环境配置及服务器搭建
- openvswitch实验环境的安装与配置--关于DCN优化的碎碎念1
- DNS服务器配置实验--正向解析、反向解析、主从解析、子域授权和bindview
- centos6.5环境DNS-本地DNS主从服务器bind的搭建
- tiny6410裸机实验第0章--------------开发环境的搭建(配置 tftp服务器)
- 关于给服务器配置环境的成长经历
- ubuntu10.04 bind9 配置主从区域数据传送问题
- linux 中关于mysql数据库的主从服务器的配置
- 关于Java为什么配置好环境变量但是不能在命令行cmd运行javac的问题
- FIS--关于下载php后的配置(启动fis的调试服务器(注意添加 --no-rewrite 参数),如果报错 没有php-cgi环境,请 安装 它,并把php-cgi命令加到系统的环境变量)
- 使用bind实现DNS主服务器的配置以及正向解析、反向解析、主从复制
- Nginx反向代理与负载均衡:节点服务器单/多虚拟机配置+实验环境搭建+原理解析
- centos6.5环境DNS-本地DNS主从服务器bind的搭建
- Nginx反向代理与负载均衡:节点服务器单/多虚拟机配置+实验环境搭建+原理解析 推荐
- 关于配置好环境变量之后,仍然不能使用的体会
- 配置DNS主从服务器—Bind
- BIND主从服务器配置以及故障排除