当前位置:网站首页>unknown host问题解决办法
unknown host问题解决办法
2022-07-21 11:35:00 【Ben出没冇注意】
问题描述:
内网互ping可以通,网页可以打开,但是Ubuntu里面的向日葵无法联网。
使用终端ping 8.8.8.8时候可以通,但是ping www.baidu.com时候不通。
原因猜测:
DNS服务器没配置好
解决办法:
sudo vi /etc/resolv.conf
进入之后
输入
nameserver 114.114.114.114
然后保存退出。
重启网络
sudo /etc/init.d/networking restart
再ping百度发现ok
边栏推荐
- minio文件系统8.0.3
- defineExpose ,父组件获取子组件中的属性值
- 2021-03-14-jwolf-temp-note
- [CCF CSP] 201712-1 minimum difference
- 【黑马早报】苏宁张康阳败诉,被“追债”17亿;恒驰总裁称恒驰大卖已成定局;iPhone14ProMax镜头激凸严重;微信支持全屏输入...
- 第三方之百度AI使用总结
- MysqlWorkBench性能分析工具--性能仪表盘
- 明星餐饮:一场围猎粉丝的杀猪盘
- 2.3 chain representation of linear table (1)
- Paper reading: a large scale Chinese short text conversation dataset (cdial GPT)
猜你喜欢
Yan Weimin Chapter II after class exercises (2.29-2.38)
Implementing DDD based on ABP -- domain service, application service and dto practice
Word2vec (II)_ Implementation based on negative sampling method
Shell programming foundation and variables
团队协作api管理工具除了swagger,还有yapi
vite打包报错[rollup-plugin-dynamic-import-variables] Unexpected token ,竟然是因为console.log
Judge whether to balance binary tree
即时零售三国杀:美团补仓、阿里协同、京东引流
XLNet学习:究极总结
声学术语记录
随机推荐
【附下载】漏洞扫描工具AppScan安装及功能简单使用
Implementing DDD based on ABP -- domain service, application service and dto practice
C# 使用Timer和ProgressBar控件制作一个倒计时器
Merge binary tree
814. 二叉树剪枝 : 简单递归运用题
并发编程之CountDownLatch,CyclicBarrier ,Semaphore
50 places are limited to open | with the news of oceanbase's annual press conference coming!
知识蒸馏是什么?一份入门随笔__摘要
【CCF CSP】201509-1数列分段
[CCF CSP] 201412-1 access control system
nexus管理页面上传jar,jar可以被正常拉取到项目,使用idea lifecycle的deploy发布的jar只能拉取到pom,401问题
minio文件系统8.0.3
influxdb
Xlnet: operation mechanism and comparison with Bert -- Summary
Thesis reading: ctrl: a conditional transformer language model for controllable generation
关于Hook unistd中open, read, write, close的一些技巧
gadget之usb_function
Judge whether the binary tree is symmetric
[CCF CSP] 201403-1 opposite number
论文阅读:A Large-Scale Chinese Short-Text Conversation Dataset(CDial-GPT)