LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 709|回复: 3

请教proftp 问题

[复制链接]
发表于 2003-5-21 23:57:50 | 显示全部楼层 |阅读模式
[root@chw named]# ping www.red.dnsdiy.com
PING www.red.dnsdiy.com (192.168.0.100) 56(84) bytes of data.
64 bytes from red.dnsdiy.com (192.168.0.100): icmp_seq=1 ttl=64 time=0.149 ms
64 bytes from red.dnsdiy.com (192.168.0.100): icmp_seq=2 ttl=64 time=0.051 ms

--- www.red.dnsdiy.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.051/0.100/0.149/0.049 ms
[root@chw named]# /usr/local/sbin/proftpd start
chw.red.dnsdiy.com - error: unable to determine IP address of 'chw.red.dnsdiy.com'
[root@chw named]#
我在DNS主机和FTP 服务器在一起IP 为192.168.0.100 服务器名为chw.red.dnsdiy.com从上可见服务器上是ping的到自己的主机名,为什么运行PROFTP 时提示找不到主机的IP地址呢?:mad:
发表于 2003-5-22 00:16:46 | 显示全部楼层
你是在proftpd.conf中用
bind命令指定ip?
是不是这个不能使用域名?
 楼主| 发表于 2003-5-22 11:29:49 | 显示全部楼层

我的proftpd.conf

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            nobody
Group                           nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite                on
</Directory>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                     anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients                    10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>
发表于 2003-5-22 11:48:43 | 显示全部楼层
chw.red.dnsdiy.com - error: unable to determine IP address of 'chw.red.dnsdiy.com'
我用的是3322,不用棒定啊。3322会定向的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表