摘要: 关于DNS的思考: 1. SOA 后面的记录及通讯地址 比如dns.gwbn.xxxscdn.com. sa.gwbn.xxxscdn.com 并没有什么卵用, 测试随便写什么好像都不影响' 2. NS记录 父DNS与子DNS需保持一致, 比如 xxxscdn.com. 下的NS gwbn.xxxs 阅读全文
posted @ 2018-08-21 19:33 余为国 阅读(4280) 评论(0) 推荐(0) 编辑
摘要: 参考文档: http://blog.csdn.net/lishangwen_alan/article/details/53332889 http://www.cnblogs.com/xiongpq/p/3384681.html 需求说明: bind dlz 可以动态加载配置, 方便配置管理, 但是加 阅读全文
posted @ 2017-03-22 19:40 余为国 阅读(3417) 评论(12) 推荐(1) 编辑
摘要: #!/bin/bash declare -a desc=(\ ["0"]="原始环境"\ ["1"]="alta1"\ ["2"]="altb1"\ ["3"]="稳定dns"\ ); declare -a ds=(\ ["0"]="empty"\ ["1"]="139.224.7.36"\ ["2 阅读全文
posted @ 2017-03-10 10:59 余为国 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 已知一个下载链接 download_url,直接下载下来的话,文件名是 xxx.xlsx, 根据产品要求,文件名必须是filename.xlsx. 解决问题: 方案1: 前端js去修改, 网上看了下, <a href="http://somehost/somefile.zip" down 阅读全文
posted @ 2017-02-13 11:40 余为国 阅读(8012) 评论(0) 推荐(0) 编辑