Articles of Debian

默认的ARP高速caching超时

我没有find如何检查和更改Linux上的默认ARP高速caching超时。 我在内核3.x中使用debian(但我认为它与旧内核相同)

hetzner默认名称服务器不总是解决

我有几个Hetzner的根服务器(因为他们称之为专用的共同位置的Linux机器),他们都遇到同样的问题(我根本不明白)。 域名www.dnsblchile.org不想parsing为IP(服务器是从Hetzner自己的Debian Jessie镜像安装的)。 所有其他领域当然解决(我以前没有遇到任何其他领域解决问题 – 或我没有发现之前)。 当我testingnslookup -type=A www.dnsblchile.org我得到: ;; Got SERVFAIL reply from 213.133.98.98, trying next server ;; Got SERVFAIL reply from 213.133.99.99, trying next server Server: 213.133.100.100 Address: 213.133.100.100#53 ** server can't find www.dnsblchile.org: SERVFAIL 所以在这里没有适当的答案,但是当我尝试使用8.8.8.8(谷歌)作为域名服务器nslookup -type=A www.dnsblchile.org 8.8.8.8我得到: Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: www.dnsblchile.org Address: 66.23.231.212 所以在这里一切都好,我得到适当的IP。 `/etc/resolv.conf'(默认安装后)的内容是: ### Hetzner […]

同步SOA序列号的解释

我在更新区域logging时连续犯了两个错误。 一旦我忘记增加序列号,那么下一次我把更多的数字,即20170210111而不是2017021011 ,每次我重新加载config: rndc reload 。 当我意识到这一点时,我将串行切换回10位数字,所以我的区域文件SOA串行现在是2017021012 。 我现在得到这个: # host -C domain.tld Nameserver XXXX: domain.tld has SOA record XXXXovh.net. postmaster.domain.tld. 2017021010 28800 7200 1209600 3600 Nameserver YYYY: domain.tld has SOA record XXXXovh.net. postmaster.domain.tld. 2017021003 28800 7200 1209600 86400 其中XXXX是我的主要DNS服务器IP和YYYY次要的一个。 我不太习惯DNSconfiguration,我真的不知道如何重新同步串行和允许传播 。 我已经读了很多post,恐怕我还不知道是否应该给区域logging一个更大的数字,当我重新加载了13位数字时发生了什么……?

hwclock:不能通过任何已知的方法访问硬件时钟

在Debian服务器上,我遇到了hwclock问题: $ hwclock –show hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the –debug option to see the details of our search for an access method. 系统在backports内核Debian 4.9.18-1~bpo8+1 (2017-04-10) 。 这里是debugging输出: $ hwclock –debug hwclock from util-linux 2.25.2 hwclock: cannot open /dev/rtc: Device or resource busy No usable clock interface found. […]

如何解决邮件服务器SSL?

我们的邮件服务器最初是使用自行创build的证书进行设置的。 但是,当这些过期,我试图重新创build他们,整个事情就爆炸了。 由于我知道这将是重要的,我们正在运行一个Debian服务器和后缀。 现在我看到邮件日志中生成的这些错误: May 15 08:06:34 letterpress postfix/smtpd[22901]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.cert May 15 08:06:34 letterpress postfix/smtpd[22901]: warning: TLS library problem: 22901:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/postfix/ssl/smtpd.cert','r'): May 15 08:06:34 letterpress postfix/smtpd[22901]: warning: TLS library problem: 22901:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354: May 15 08:06:34 letterpress postfix/smtpd[22901]: warning: TLS library problem: 22901:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720: […]

很好的资源在Debian上chroot Apache2

我需要比这更好的资源,或者如何在Debian系统上使用chroot来保护Apache2。 看来大多数文章涉及Apache1。 我试图跟随他们,并适应Apache2,但它只有不好的结果。

使用proftpd如何禁用普通的ftp但是让sftp运行

我们有一个使用proftpd的Debian Linux机器,我们同时运行FTP和SFTP,但是我们希望禁用普通的FTP,并让SFTP运行 有没有办法做到这一点?

在debian上绑定多个实例

我想在服务器上运行两个绑定实例,一个用于权威性答案,一个用于recursion查询。 MaraDNS可以轻松configuration为运行多个实例。 您只需在/ etc / default / maradns文件中为每个实例添加一行,为该实例指定configuration文件 在debian中绑定的最好方法是什么? 复制initscript和修改path接缝就像一个黑客。

iptables:0.0.38.69 ACCEPT?

只要看看Debian Lenny盒子上的“iptables -L”的防火墙规则。 一个条目吓我一跳: 接受所有 – 0.0.38.69任何地方 全部接受 – 任何地方0.0.38.69 这不是来自我的任何脚本 – 它可能是什么? 谢谢!

Linux – / var / log分区的最佳文件系统

我在Debian Squeeze 6.0下。 什么是/ var / log分区的最佳文件系统,为什么?