一个伪linux粉丝的blog

  1. 首页
  2. network
  3. 正文

aliyun dns

29 4 月, 2021 647点热度 0人点赞 0条评论

 本文为12月第二周网站忘记续费后从webcache里面找回的,丢失图片.

在阿里云环境安装某个软件包时遇到解析错误  Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error”

找到这个介绍 https://developer.aliyun.com/article/767805

mirrors.cloud.aliyuncs.com 这个域名需要阿里云vpc下dns才能解析。

1
<span class="hljs-keyword">vim</span>  /etc/resolv.<span class="hljs-keyword">conf</span>

常规写入以下内容:

1
2
3
4
5
options timeout:<span class="hljs-number">1</span> attempts:<span class="hljs-number">1</span> rotate
nameserver <span class="hljs-number">100.100</span><span class="hljs-number">.2</span><span class="hljs-number">.136</span>
nameserver <span class="hljs-number">100.100</span><span class="hljs-number">.2</span><span class="hljs-number">.138
 
结果发现客户的这2行被注释了:),问题解决。</span>

相关文章:

  1. Google 的"慧满金秋"9月16日在线会谈--AdSense 最新深度优化会议
  2. Google Nexus one
  3. 盛大旅游并购游玩网
  4. 赛风Psiphon-翻墙神器
标签: 暂无
最后更新:19 12 月, 2021

wanjie

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

This site uses Akismet to reduce spam. Learn how your comment data is processed.

归档
分类
  • network / 332篇
  • Uncategorized / 116篇
  • unix/linux / 122篇
  • 业界资讯 / 38篇
  • 公司杂事 / 11篇
  • 数码影像 / 12篇
  • 美剧 / 3篇
  • 美图共赏 / 21篇
  • 英语学习 / 3篇
标签聚合
nexus 刷机 unveiled today kernel Google iMac 网站运营 ldap docker postgres VPS d90 Google Voice deepseek 网通 k8s gitlab dreamhost squid 天翼live brew Ubuntu webhook 泰国 dreamhost空间 Nginx Linux 虚拟主机 职责 邮件归档

COPYRIGHT © 2008-2025 wanjie.info. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang