参见日志:

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 错误解决[备忘]相关推荐

  1. bash:附近有语法错误_Bash备忘单:按键组合和特殊语法

    bash:附近有语法错误 Bourne Again Shell(Bash)是POSIX计算机的文本界面. Shell,Bash或其他方式为您提供了一种无需回旋接口即可直接与计算机对话的方法:您键入希望 ...

  2. mysql Access denied for user root@localhost错误处理备忘

    好久没有使用mysql,突然想起来打开一个以前的mysql数据库的项目看看,结果打开页面时出错,提示为:mysql Access denied for user root@localhost错误 百度 ...

  3. EF 使用遇到过的错误记录备忘

    1. is only supported for sorted input in LINQ to Entities  The method :只支持排序输入实体LINQ 的方法 是使用skip()时没 ...

  4. win7x64安裝flashCS5启动时由于CS LIVE总是无故停止响应的解决备忘

    问题就是CS LIVE连接ADOBE服务器, 而我把hosts设为只读, 且其中加入了有关adobe的信息. 解决方法出在CS5ServiceManager.exe上. 所以找到其安装路径: $Pro ...

  5. 应用程序无法启动,因为应用程序的并行配置不正确 解决备忘

    运行exe程序,提示"应用程序无法启动,因为应用程序的并行配置不正确",网上给出的解决方案都是"启动Windows Modules Installer服务".但 ...

  6. VC++ 输入.或者-无法显示对象成员列表解决备忘

    <script src="http://blog.csdn.net/count.aspx?ID=1834896&Type=Rank" type="text/ ...

  7. AR9331出现connect-debounce failed,port 1 disabled解决方法备忘

    基于AR9331的路由器,自己画的pcb板子,竟然出现这个错误,百度下,貌似有不少人遇见过这个错误,但是在修改板子前我的固件用的是没问题的,USB完美使用 修改过板子后出现这个问题! hub 1-0: ...

  8. mysql cpu使用率100_Mysql CPU使用率长期100%的解决思路备忘

    最近一台服务器的CPU使用率长期保持在100%的状态,查看进程发现是Mysql服务导致的.于是搜索各方资料,终于成功解决问题.备忘以及分享一下,希望可以帮助各位新手朋友. (服务器运行环境是Windo ...

  9. vf更改当前路径_这份 window.location 备忘单,让你更有条理解决地址路径问题!...

    如果你想获取站点的URL信息,那么window.location对象什么很适合你!使用其属性获取有关当前页面地址的信息,或使用其方法进行某些页面重定向或刷新? https://segmentfault ...

最新文章

  1. 强化学习入门教程(附学习大纲)
  2. mysql存储过程 delete select insert_mysql常见操作语句,建表,增删改查
  3. C++ 虚函数个人理解
  4. 海生《我不是你的玩偶》关注颇高
  5. ShopEx 属性筛选增加 不限 条件
  6. Marketing Cloud demo环境和API使用方法说明
  7. bzoj2751[HAOI2012]容易题(easy)
  8. 如何在AWS EC2实例上部署Spring Boot应用程序
  9. 什么是mysql的索引_什么是MySQL索引?【详解】
  10. Maven刷新后jdk变成jre
  11. 那些做Android开发必须知道的ADB命令
  12. C语言常用库函数(含详细用法)
  13. linux 小度 驱动_360WiFi 小度WiFi 无线网卡驱动下载
  14. 阐述游戏关卡设计中的色彩理论
  15. Uniapp设置页面的背景图片
  16. RFID 射频识别技术 NFC ISO14443 - A 协议 RC522
  17. PPT动态文字制作过程
  18. Stellarium0.9.0新功能
  19. Paintinglite迎来v2.1.2优化版本迭代,引入Pod安装
  20. AUTO_INCREMENT

热门文章

  1. 前端-----盒子模型
  2. 【干货】深入B端SaaS产品设计核心理念
  3. 别研究买房了,墓地你研究过吗?
  4. 雾霾经济:这10款产品,马云看了都想投资
  5. 【推荐】最全的积分墙基础知识大全:积分墙渠道运营那些事儿
  6. PHP7 php_memcache.dll下载
  7. Spring Boot -Shiro配置多Realm
  8. Swift 5将强制执行内存独占访问
  9. oracle sql语句
  10. TEMPO研究第一年影像学数据: 骨侵蚀修复几乎只出现在无关节肿胀或肿胀改善组...