DNS Problem

Hi Everybody.

I think, I have a problem that is related to dns. Because I can use skype without problem but when I open firefox and try to open a webpage, I get “Server not found” message.

I tried this command.

service nscd restart.

it didn’t work.
I looked the status by nscd.

service nscd status

Result


nscd.service - Name Service Cache Daemon 
   Loaded: loaded (/usr/lib/systemd/system/nscd.service; enabled) 
   Active: active (running) since Thu 2015-03-19 21:17:56 EET; 2min 20s ago 
  Process: 716 ExecStart=/usr/sbin/nscd (code=exited, status=0/SUCCESS) 
 Main PID: 720 (nscd) 
   CGroup: /system.slice/nscd.service 
           `-720 /usr/sbin/nscd 
 
Mar 19 21:17:56 linux-jwrl-trz nscd[720]: 720 cannot create /var/run/nscd/passwd; no persistent database used 
Mar 19 21:17:56 linux-jwrl-trz nscd[720]: 720 cannot create /var/run/nscd/group; no persistent database used 
Mar 19 21:17:56 linux-jwrl-trz nscd[720]: 720 cannot create /var/run/nscd/services; no persistent database used 
Mar 19 21:17:56 linux-jwrl-trz nscd[720]: 720 cannot create /var/run/nscd/netgroup; no persistent database used

History before the problem.

I updated opensuse.
I updated virtualbox and I entered “virtualbox /etc/init.d/vboxdrv setup” command.
Problem started after reboot
I updated opensuse 13.1 to 13.2.
Problem is continuing to exist.


Now my system.

Opensuse 13.2 64 bit
I used KDE

Please post the output of the following command, encase it in CODE tags:
**
cat /etc/resolv.conf**

Like this!
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!

This is containing only comment, but no real DNS server definition.

Are you suing DHCP? It should fill in that statement.

You can insert the line

nameserver 8.8.8.8

That is a DNS server of Google and will resolve your problem.

But nevertheless, you may want to find out why there is nothing there at the moment.

Thank you

It works now. But how can I find out the reason? Is it important for security?

In order to find out, you should in any case start answering questions. I asked:
Are yo using DHCP?

And the next question is: Traditional (ifup/wicked) or NetworkManager?