Continuing the discussion from DNS Issue (probably bug) (since the topic I refer to is marked as solved, I decided to create a new one…):
I have got the same problem (described in DNS Issue (probably bug)) after resetting my network configuration following the guide http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-base.html#reset-network-configuration (this I had to do because I had tested to implement a bridge which didn’t work at all…). Of course, I had created a green interface like before but I got exactly the same error message as @Sebastian had got by trying to access the software center… also, like it was the case in sebastian’s situation, my server didn’t resolve any host names any more (also google.com didn’t work). hence, it was definitely the same problem…
The workaround proposed by @dnutan [quote=“dnutan, post:24, topic:5297”]
sed -ibak s/server=127.0.0.1/server=8.8.8.8/ /etc/dnsmasq.conf
systemctl restart dnsmasq
[/quote]worked fine… no error message is shown any more when accessing the software center. and also the resolution of host names is again working…
however, I don’t know how to change the nameserver via the server manager as proposed by @stephdl [quote=“stephdl, post:16, topic:5297”]
change it to 8.8.8.8 by the server-manager
[/quote]config show dns
still points to 127.0.0.1 and also # grep server= /etc/dnsmasq.conf server=127.0.0.1 server=/uribl.com/127.0.0.1#10053 server=/dnswl.org/127.0.0.1#10053 server=/spamhaus.org/127.0.0.1#10053
Nevertheless, I can ping google.com and also nslookup google.com
works again…
For the moment, it seems to work despite the wrong nameserver address… but how long?
I checked the /etc/e-smith/db/configuration/defaults/dns/NameServer
file: 8.8.4.4,8.8.8.8
What do you think, is everything OK again and I can simply ignore the fact that the results of config show dns
and grep server= /etc/dnsmasq.conf
don’t look as they should (also in the /etc/dnsmasq.conf
the IP address is 127.0.0.1, after a signal-event nethserver-dnsmasq-update
event… but still I can access the software center and ping google and so…)??? or is the workaround only temporarily? which files do I need to change to make it permanently working? especially if I have to change something in my configuration of the network adapters again (for whatever reason…)?