
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
提供阿里云的DDNS设置,支持多网卡多域名绑定。
每次运行时,会打印本地适配器信息,推荐根据网卡名绑定域名
必须在阿里云后台建立域名,记录值
填写什么无所谓。
阿里云AccessKey开通:https://help.aliyun.com/document_detail/38738.html
npm i -g ddns-ali
参数之间只能有一个空格
多网卡绑定多域名方式:
ddns-ali -e true -AccessKey 123 -AccessKeySecret 123 -Domain 'eth0ð0.xxx.com,eth1ð1.xxx.com'
单域名方式 不指定网卡,会根据你当前的外网IP动态绑定,如果支持IPv6,会优先绑定
ddns-ali -e true -AccessKey 123 -AccessKeySecret 123 -Domain 'eth0.xxx.com'
指定IPv6方式
ddns-ali -e true -ip 6 -AccessKey 123 -AccessKeySecret 123 -Domain '网卡名ð0.xxx.com'
import { IConfig,mian } from 'ddns-ali';
async function init(){
const config = {} as IConfig;
config.AccessKey = getArgv('AccessKey') as string;
config.AccessKeySecret = getArgv('AccessKeySecret') as string;
config.IPVersion = getArgv('ip') as any || '4';
config.DomainObj = getDomain(getArgv('Domain'));
config.Domain = config.DomainObj.domain;
config.Ethernets = config.DomainObj.ethernet;
const r = await mian(config);
if(r) {
log('---成功---');
}else{
log('---失败---');
}
}
true或false
true是命令行执行'网卡名1&域名1,网卡名2&域名2'
, 网卡名与域名通过‘&’进行连接,多个域名使用','分割4或6
指定要绑定的的ip类型FAQs
提供阿里云的DDNS设置,支持多网卡多域名绑定public
The npm package ddns-ali receives a total of 0 weekly downloads. As such, ddns-ali popularity was classified as not popular.
We found that ddns-ali demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.