top of page
pernuyderlole

Troubleshooting Solaris 10 Ping Getaddrinfo Temporary Name Resolution Failure with resolv.conf and F



DNS errors such as temporary failure in name resolution can easily cripple your server. You will not be able to install any yum packages, you will even not be able to ping google.com, because as you can see this is a name resolution error, which means your server can not resolve domain names to their respective IP Addresses (if you know about DNS, you will know that this is something the whole internet relies on).




Solaris 10 Ping Getaddrinfo Temporary Name Resolution Failure



Now if you have not defined DNS servers in your /etc/sysconfig/network-scripts file, then /etc/resolv.conf will remain empty, thus you end up getting temporary failure in name resolution error. You can also fix this issue by just populating /etc/resolv.conf file as described above.


This is an example of temporary failure in name resolution error, as apt can not resolve these mentioned domains to their IP Address. Make sure to allow these ports in UFW using the command below :


It is not resolving its local hostname from server i.e (portalepd) , but other hostname and domain name is working fine. Because of that hostname -f is not working on server. Please require your advice ========================================================== [root@portalepd Packages]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.1.22.127 portalepd portalepd.cmpc.cl 10.1.24.160 cmpcibm105.cmpc.cl cmpcibm105[root@portalepd Packages]# ping portalepd ping: unknown host portalepd [root@portalepd Packages]# hostname -f hostname: Temporary failure in name resolution[root@portalepd Packages]# cat /etc/resolv.conf


2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


!
Widget Didn’t Load
Check your internet and refresh this page.
If that doesn’t work, contact us.
bottom of page