小编mar*_*tin的帖子

为域添加 DNS 通配符记录的最佳方法

为域添加 DNS 通配符记录的最佳方法是什么?

我想要example.net, www.example.net, a.b.c.www.example.net, ... 去一台服务器。

现在我使用:

example.net.    60  IN  A       1.2.3.4
*.example.net.  60  IN  CNAME   example.net.
Run Code Online (Sandbox Code Playgroud)

有没有可能做得更简单?

domain-name-system cname-record wildcard-subdomain

8
推荐指数
1
解决办法
1万
查看次数

Google Authenticator - 生成一组新的紧急代码

我在我的 SSH 服务器上使用 Google Authenticator 和 Andoid 应用程序来生成代码。

在我运行$ google-authenticator应用程序后,创建一组紧急密钥:

https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/user@machine%3Fsecret%ABCDEFGHIJKLMNOP
Your new secret key is: ABCDEFGHIJKLMNOP
Your verification code is 123456
Your emergency scratch codes are:
  12345678
  90123456
  78901234
  56789012
  34567890
Run Code Online (Sandbox Code Playgroud)

如果使用所有5个代码,我该怎么办?如何生成新的集合?如果我运行$ google-authenticator它将生成新密钥ABCDEFGHIJKLMNOP,Android 应用程序将停止工作,直到我设置新密钥。

security ssh password verification google-authenticator

1
推荐指数
1
解决办法
1493
查看次数