Temporary failure in name resolution

2023-12-21 15:36

本文主要是介绍Temporary failure in name resolution,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

报错:

 1.打开resolv.conf文件

sudo vim /etc/resolv.conf

2. 确保resolv.conf文件至少包含一个名称服务器。列出名称服务器的行应如下所示:

3. 保存文件并退出。

4. 接下来,重新启动DNS 解析器服务。运行以下命令:

sudo systemctl restart systemd-resolved.service

如果成功,上面的命令不会返回任何输出。

5. 通过 ping 网站来测试您的新名称服务器是否配置正确:

ping baidu.com

成功: 

这篇关于Temporary failure in name resolution的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/520541

相关文章

Create and manage temporary, permanent, and undo tablespaces

Create and manage temporary, permanent, and undo tablespaces 关于tablespace的操作语句有三大类,分别是create tablespace、alter tablespace、drop tablespace 表空间如标题所说,总体也分为三大类,temporary tablespace 、system/sysaux/users

oracle startup失败,ORA-01078: failure in processing system parameters

SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/data/oracle/product/11.2.0/db_1/dbs/initorc1.ora'   出错的原因可能是:文件名字不正确,文件权限不对,文件不存在,文件损坏 下面以文

hive udaf 用maven打包执行create temporary function 时报错

用maven打包写好的jar,在放到hive中作临时函数时报错。 错误信息如下: hive> create temporary function maxvalue as "com.leaf.data.Maximum";java.lang.SecurityException: Invalid signature file digest for Manifest main att

Oracle中的临时表Temporary Table

Oracle中的临时表(Temporary Table)是一种特殊类型的表,用于存储临时数据,这些数据在会话结束或事务提交后会自动删除。Oracle数据库提供了两种主要的临时表类型:事务级全局临时表和会话级全局临时表。 全局临时表(Global Temporary Table) 全局临时表是Oracle数据库中常用的临时表类型,它具有以下特点: 临时性:全局临时表中的数据在会话结束或事务提交

Failed resolution of: Lcom/growingio/android/sdk/agent/VdsAgent;删除growingio引发的问题

删除了 growingio之后 项目一直报这个错误 Failed resolution of: Lcom/growingio/android/sdk/agent/VdsAgent; 真是讨厌 解决方案 在as 的 Terminal 分别执行这两个命令 ./gradlew cleanBuildCache  ./gradlew clean 如果在使用上面两个命令的时候出现 权限拒绝

PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

服务器突然出现这种提示,无法上传文件和图片,怎么解决? PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 1.因为php.ini中没有设置上传的临时文件,默认为系统的临时文件地址。 2.如果没有权限去读系统的临时文件目录的话就会产生上述错误。 解决的方法就

Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

最近启动项目,连接自己本地数据库时,出现了如下异常 ERROR [com.alibaba.druid.pool.DruidDataSource] - create connection error, url: jdbc:mysql://127.0.0.1:3306/db_local?serverTimezone=UTC&useSSL=false&autoReconnect=true, error

Rapid and Accurate Image Super Resolution(RAISR)

Rapid and Accurate Image Super Resolution 每天都有数以百万计的图片在网络上被分享、储存,用户借此探索世界,研究感兴趣的话题,或者与朋友家人分享假期照片。问题是,大量的图片要嘛被照相设备的像素所限制,要嘛在手机、平板或网络限制下被人为压缩,降低了画质。   如今高分辨率显示屏幕正在家庭和移动设备上普及,因此,把低分辨率图片转化

Attentation-GAN for super-resolution(ASRGAN )

Attenatation-GAN for super-resolution(ASRGAN) 1 简单介绍:       目前的SR方法解决的都是小尺寸的数据小于500px,本文提出的是针对大尺寸的数据比如大于2000px的商业数据。本文的创新之处: 提出一种新奇的使用注意力机制的SRGAN方法,叫做A-SRGAN,他是吸收了SAGAN的思想,然后哩由于处理的是大尺度的数据,所以

访问Neo4j验证失败(The client is unauthorized due to authentication failure.)

使用Neo4j的过程中,可以打开页面,但是无法连通数据库。 在查看日志发现有下面的报错: 2018-12-18 05:30:34.693+0000 ERROR Unexpected error detected in bolt session '286ed4fffe88ed75-00016e40-00000001-8318869067983891-a1fb2d6d'. The client i