yaocf

yaocf

V2EX 第 465954 号会员,加入于 2020-01-20 08:40:52 +08:00
yaocf 最近回复了
折腾了昨天一个下午加今天半个上午,总结一下:
- DNSSEC 导致 admin 起不来的问题。问题原因在于国内的公共 dns 都不支持解析 dnssec 的请求。并且,如果是直接用 udp 53 请求 dns ,还会被劫持到运营商的 dns 服务器,就更惨了。
- 通过抓包,mailu 的 admin 容器只验证了 example.org 的 dnssec ,总共请求了两个域名:redis ,example.org 。理论上来说应该是可以单独转发这个 example.org 域名到一个支持 dnssec 的服务器的( Dnsmasq 设置转发 example.org 域名,然后 docker 开个 dns-over-https 容器作为转发)。

整体步骤:开启 Openwrt 中 Dnsmasq 的 dnssec ,在代理工具中将所有 dns 请求全部通过 DOH 转发出去,是可以正常让 admin 起来并且正常打开 mailu 完全启动后的 web 页面,以及正常登录的。
@bettercallbalds 期待不重复题库。
Veruca Salt paused, her eyes locking with the assembly before her. A moment of silence hung in the air, thick with anticipation. Then, her attention shifted, drawn to a diminutive squirrel perched at the table's edge, its paws delicately clutching a walnut.

"Very well," Veruca declared, a mischievous glint in her eye, "you shall be mine!"

With a swift motion, she extended her arms towards the unsuspecting creature. But in that infinitesimal instant, as her fingers splayed to ensnare her prize, the room erupted into a frenzy. It was as if a bolt of brown lightning had struck, electrifying the space with sudden movement. Each squirrel, previously still as a statue, sprang into action. They launched themselves from their seats, a coordinated battalion of fur and claws, converging upon her with astonishing agility.

Veruca, caught off guard by the unexpected assault, could only gasp as the furry horde descended upon her. They clambered over her arms, shoulders, and head, their tiny feet pattering against her skin, their tails flicking in her face. The room, once filled with the quiet murmur of the gentle creatures, now resounded with the chaos of chittering and scolding.

In the midst of the pandemonium, the little squirrel with the walnut remained poised, its bright eyes watching the scene unfold with a wisdom beyond its years. It seemed to understand the folly of Veruca's greed, the consequence of underestimating those deemed insignificant.

As the squirrels retreated, leaving a disheveled Veruca in their wake, the room settled once more into tranquility. The little squirrel turned away, its walnut still secure in its grasp, a silent testament to the day's unexpected lesson. Veruca, now humbled, sat amidst the calm, a newfound respect dawning within her for the creatures she had so carelessly sought to claim

Why did the squirrels swarm and scramble over Veruca?
They were trying to play a friendly game with her.
They were angry that she tried to take one of them.
They wanted to show her a new dance they learned.

这个是不是该选择`They were angry that she tried to take one of them.`
而不是答案给的`They wanted to show her a new dance they learned.`

判据:
```
"Very well," Veruca declared, a mischievous glint in her eye, "you shall be mine!"

With a swift motion, she extended her arms towards the unsuspecting creature
```
199 天前
回复了 panda7456 创建的主题 宽带症候群 IPV6 ping 通但无法访问网页
请问楼主解决了吗?
@TcDhl 大佬,这个是完全自己写的平台吗?
@yaocf pyrogram 的代码注释对这个方法的说明就是:This is the equivalent of clicking an inline button containing callback data.
找到了,可能是算是新手吧,api 文档中的 tg 专业名词太多了。
https://docs.pyrogram.org/api/methods/request_callback_answer

如题示例:
```python
await app.request_callback_answer(_id, message.id, "checkin", 0)
```
最后的 timeout 参数不知道该怎么填,不过效果已经达到了。
dart 是有反射的,只是 flutter 没有,可能是谷歌被 java 时代的反射搞怕了,flutter 禁用 dart 之后,世界一下子就安静了。
353 天前
回复了 yaocf 创建的主题 OpenWrt Openwrt/ Linux 定长 日志文件
嗯,之前理解错了,unix 可以设置的是缓冲长度(-I length TCP receive buffer length )。

至于为啥要一个定长日志,原因如下:那个进程的输出文本产生的特别快,如果直接怼到系统 log ,会导致其他进程的 log 被冲掉,但是,如果在 procd 中将输出信息重定向到文件,又担心那个文件会无限制增长。用 cron 倒是可以做到效果,但是总感觉不是很完善。
2022-07-19 16:31:02 +08:00
回复了 lxr760 创建的主题 宽带症候群 dynv6 挂掉超过 24h 了
dynv6 恢复了。

while [ `/usr/bin/curl -s -o /dev/null -w "%{http_code}" "https://dynv6.com"` -ne 200 ];
do
echo -e "$(date) \t Still down! waiting..."
sleep 300s
done
echo -e "service was online!"
/usr/lib/mylibs/noticeMeByMail "service was online!"

自动检测。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   944 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 19:30 · PVG 03:30 · LAX 12:30 · JFK 15:30
Developed with CodeLauncher
♥ Do have faith in what you're doing.