pdns 错误解决[备忘]
参见日志:
pdns (master) server /var/log/messages 错误信息提示:
Jan 30 10:08:08 kylezhuang-hh-qa-dns-crguy pdns[6363]: AXFR of domain '199.10.in-addr.arpa' initiated by 10.199.132.168
Jan 30 10:08:08 kylezhuang-hh-qa-dns-crguy pdns[6363]: AXFR of domain '199.10.in-addr.arpa' allowed: client IP 10.199.132.168 is in allow-axfr-ips
Jan 30 10:08:08 kylezhuang-hh-qa-dns-crguy pdns[6363]: Exception: All data was not consumed
Jan 30 10:08:08 kylezhuang-hh-qa-dns-crguy pdns[6363]: TCP Connection Thread died because of STL error: All data was not consumed
Jan 30 10:08:28 kylezhuang-hh-qa-dns-crguy pdns[6363]: AXFR of domain '199.10.in-addr.arpa' initiated by 10.199.132.168
.....
Jan 30 09:59:06 kylezhuang-hh-qa-dns-crguy pdns[23658]: AXFR of domain '199.10.in-addr.arpa' allowed: client IP 10.199.132.168 is in allow-axfr-ips
Jan 30 09:59:06 kylezhuang-hh-qa-dns-crguy pdns[23658]: Exception: All data was not consumed
Jan 30 09:59:06 kylezhuang-hh-qa-dns-crguy pdns[23658]: TCP Connection Thread died because of STL error: All data was not consumed
bind (slave) server /var/log/messages 错误信息提示:
Jan 30 03:45:48 hh-yun-puppet-129021 named[100639]: transfer of '199.10.in-addr.arpa/IN' from 10.199.132.152#53: connected using 10.199.129.21#60474
Jan 30 03:45:48 hh-yun-puppet-129021 named[100639]: transfer of '199.10.in-addr.arpa/IN' from 10.199.132.152#53: failed while receiving responses: end of file
Jan 30 03:45:48 hh-yun-puppet-129021 named[100639]: transfer of '199.10.in-addr.arpa/IN' from 10.199.132.152#53: Transfer completed: 23 messages, 2201 records, 96020 bytes, 0.027 secs (3556296 bytes/sec)
原因: master 服务器上具有不合法的语法解析, 导致 bind 无法主从同步获取完整的数据信息
解决方法, 检测主服务器数据库上的 records 表中 name 与 content 字段, 细心找到不合法的字段, 然后修复则可解决.
如:
mysql> select * from records where name='21.130.199.10.in-addr.arpa'; (不符合规范语法, 不知道谁埋的雷)
+----+-----------+----------------------------+------+---------------------------------------------------------------------------------+------+------+-------------+----------+-----------+------+
| id | domain_id | name | type | content | ttl | prio | change_date | disabled | ordername | auth |
+----+-----------+----------------------------+------+---------------------------------------------------------------------------------+------+------+-------------+----------+-----------+------+
| 4 | 2 | 21.130.199.10.in-addr.arpa | PTR | pdns.199.10.in-addr.arpa admin.pdns.199.10.in-addr.arpa 7 1200 7200 64800 86400 | 360 | NULL | NULL | 0 | NULL | 1 |
+----+-----------+----------------------------+------+---------------------------------------------------------------------------------+------+------+-------------+----------+-----------+------+
1 row in set (0.00 sec)mysql> delete from records where id=4;
Query OK, 1 row affected (0.00 sec)mysql> select * from records where type='SOA' and domain_id=2; (正确语法参考)
+----+-----------+---------------------+------+------------------------------------------------------------+------+------+-------------+----------+-----------+------+
| id | domain_id | name | type | content | ttl | prio | change_date | disabled | ordername | auth |
+----+-----------+---------------------+------+------------------------------------------------------------+------+------+-------------+----------+-----------+------+
| 2 | 2 | 199.10.in-addr.arpa | SOA | dns.vclound.com admin.pdns.vclound.com 555 1200 7200 64800 | 360 | NULL | NULL | 0 | NULL | 1 |
+----+-----------+---------------------+------+------------------------------------------------------------+------+------+-------------+----------+-----------+------+
pdns 错误解决[备忘]相关推荐
- bash:附近有语法错误_Bash备忘单:按键组合和特殊语法
bash:附近有语法错误 Bourne Again Shell(Bash)是POSIX计算机的文本界面. Shell,Bash或其他方式为您提供了一种无需回旋接口即可直接与计算机对话的方法:您键入希望 ...
- mysql Access denied for user root@localhost错误处理备忘
好久没有使用mysql,突然想起来打开一个以前的mysql数据库的项目看看,结果打开页面时出错,提示为:mysql Access denied for user root@localhost错误 百度 ...
- EF 使用遇到过的错误记录备忘
1. is only supported for sorted input in LINQ to Entities The method :只支持排序输入实体LINQ 的方法 是使用skip()时没 ...
- win7x64安裝flashCS5启动时由于CS LIVE总是无故停止响应的解决备忘
问题就是CS LIVE连接ADOBE服务器, 而我把hosts设为只读, 且其中加入了有关adobe的信息. 解决方法出在CS5ServiceManager.exe上. 所以找到其安装路径: $Pro ...
- 应用程序无法启动,因为应用程序的并行配置不正确 解决备忘
运行exe程序,提示"应用程序无法启动,因为应用程序的并行配置不正确",网上给出的解决方案都是"启动Windows Modules Installer服务".但 ...
- VC++ 输入.或者-无法显示对象成员列表解决备忘
<script src="http://blog.csdn.net/count.aspx?ID=1834896&Type=Rank" type="text/ ...
- AR9331出现connect-debounce failed,port 1 disabled解决方法备忘
基于AR9331的路由器,自己画的pcb板子,竟然出现这个错误,百度下,貌似有不少人遇见过这个错误,但是在修改板子前我的固件用的是没问题的,USB完美使用 修改过板子后出现这个问题! hub 1-0: ...
- mysql cpu使用率100_Mysql CPU使用率长期100%的解决思路备忘
最近一台服务器的CPU使用率长期保持在100%的状态,查看进程发现是Mysql服务导致的.于是搜索各方资料,终于成功解决问题.备忘以及分享一下,希望可以帮助各位新手朋友. (服务器运行环境是Windo ...
- vf更改当前路径_这份 window.location 备忘单,让你更有条理解决地址路径问题!...
如果你想获取站点的URL信息,那么window.location对象什么很适合你!使用其属性获取有关当前页面地址的信息,或使用其方法进行某些页面重定向或刷新? https://segmentfault ...
最新文章
- 强化学习入门教程(附学习大纲)
- mysql存储过程 delete select insert_mysql常见操作语句,建表,增删改查
- C++ 虚函数个人理解
- 海生《我不是你的玩偶》关注颇高
- ShopEx 属性筛选增加 不限 条件
- Marketing Cloud demo环境和API使用方法说明
- bzoj2751[HAOI2012]容易题(easy)
- 如何在AWS EC2实例上部署Spring Boot应用程序
- 什么是mysql的索引_什么是MySQL索引?【详解】
- Maven刷新后jdk变成jre
- 那些做Android开发必须知道的ADB命令
- C语言常用库函数(含详细用法)
- linux 小度 驱动_360WiFi 小度WiFi 无线网卡驱动下载
- 阐述游戏关卡设计中的色彩理论
- Uniapp设置页面的背景图片
- RFID 射频识别技术 NFC ISO14443 - A 协议 RC522
- PPT动态文字制作过程
- Stellarium0.9.0新功能
- Paintinglite迎来v2.1.2优化版本迭代,引入Pod安装
- AUTO_INCREMENT