March 29, 201412 yr Author Thx MyK You are rigtht! [root@IronicsArchVM_v4 ~]# ping -c 3 www.google.com ping: unknown host www.google.com [root@IronicsArchVM_v4 ~]# ping -c 3 173.194.33.113 PING 173.194.33.113 (173.194.33.113) 56(84) bytes of data. 64 bytes from 173.194.33.113: icmp_seq=1 ttl=47 time=244 ms 64 bytes from 173.194.33.113: icmp_seq=2 ttl=47 time=236 ms 64 bytes from 173.194.33.113: icmp_seq=3 ttl=48 time=238 ms --- 173.194.33.113 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 236.906/239.984/244.774/3.478 ms [root@IronicsArchVM_v4 ~]# I edited my /etc/resolv.conf file and it was empty . I added the following: [root@IronicsArchVM_v4 ~]# nano /etc/resolv.conf GNU nano 2.2.6 File: /etc/resolv.conf # Generated by resolvconf nameserver 192.168.0.1 And voilá ... I got it working. Thx all for help. *[root@IronicsArchVM_v4 ~]# ping -c 3 www.google.com PING www.google.com (173.194.40.112) 56(84) bytes of data. 64 bytes from www.google.com (173.194.40.112): icmp_seq=1 ttl=55 time=88.9 ms 64 bytes from www.google.com (173.194.40.112): icmp_seq=2 ttl=55 time=89.3 ms 64 bytes from www.google.com (173.194.40.112): icmp_seq=3 ttl=55 time=88.8 ms --- www.google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 88.882/89.050/89.336/0.399 ms [root@IronicsArchVM_v4 ~]# ping -c 3 173.194.33.113 PING 173.194.33.113 (173.194.33.113) 56(84) bytes of data. 64 bytes from 173.194.33.113: icmp_seq=1 ttl=47 time=238 ms 64 bytes from 173.194.33.113: icmp_seq=2 ttl=48 time=231 ms 64 bytes from 173.194.33.113: icmp_seq=3 ttl=47 time=242 ms
March 30, 201412 yr Author Hi, forgot to mention I had to add this step to avoid my DNS´s to be erased after every reboot..."Another way to protect your /etc/resolv.conf from being modified by anything is setting the immutable (write-protection) attribute:" # chattr +i /etc/resolv.conf
Archived
This topic is now archived and is closed to further replies.