大网数据广告活动
服务器运维问答

vsftpd adds server own domain name suffix to host name

· 52CE 我爱测

I have the following issue with vsftp (and asterisk, by the way): When I'm connecting from 37.229.152.222 to vsftpd server, I get timeout and lots of errors in bind log that is running on the same server: error (unexpected RCODE …

问题原文

原帖链接 · Alexander Gerasimov · CC BY-SA 3.0

I have the following issue with vsftp (and asterisk, by the way):

When I'm connecting from 37.229.152.222 to vsftpd server, I get timeout and lots of errors in bind log that is running on the same server:

error (unexpected RCODE 51) resolving '37-229-152-222-broadband.kyivstar.net.dcodeit.net/AAAA/IN': 78.47.84.170#53
error (unexpected RCODE 51) resolving '37-229-152-222-broadband.kyivstar.net.dcodeit.net/AAAA/IN': 82.196.1.175#53
error (unexpected RCODE 51) resolving '37-229-152-222-broadband.kyivstar.net.dcodeit.net/AAAA/IN': 89.184.83.201#53
error (unexpected RCODE 51) resolving '37-229-152-222-broadband.kyivstar.net.dcodeit.net/AAAA/IN': 2a01:4f8:d15:2287::2#53

(a lot of lines skipped)

I tried to resolve this issue. Timeouts are caused because my dns provider for dcodeit.net domain has lot of servers and they return timeouts for queries like

dig 37-229-152-222-broadband.kyivstar.net.dcodeit.net aaaa @ns10.uadns.com

But I want to find the problem root:

dig 222.152.229.37.in-addr.arpa ptr

properly returns "37-229-152-222-broadband.kyivstar.net.":

;; ANSWER SECTION:
222.152.229.37.in-addr.arpa. 86400 IN   PTR     37-229-152-222-broadband.kyivstar.net.

Why vsftpd (or bind?) tries to add "dcodeit.net" as suffix (server name is "example.dcodeit.net") to FQDN?

/etc/resolv.conf:

nameserver 127.0.0.1

Software:

  • CentOS release 6.7 (Final);
  • bind 9.8.2-0.37.rc1 (from CentOS repo);
  • vsftpd 3.0.2-2

已采纳解答

原帖链接 · Alexander Gerasimov · CC BY-SA 3.0

This problem can be only reproduced with "vsftpd extended builds" taken from http://vsftpd.devnet.ru or from CentALT repository. I was not able to reproduce it any more with regular builds.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。