NethServer Version: NethServer release 7.5.1804 (final) Module: dns
Hello, I have filled in the DNS servers in the GUI. After login on with SSH I try to ping to google.nl with no response. If I ping to the ip adres of google.nl it has no problem to find the adres.
I searched the internet for a solution but didn’t find it. Someone who can help me here?
config setprop dns NameServers 8.8.8.8,8.8.4.4
signal-event nethserver-dnsmasq-save
Did not work.
What is the content of /etc/resolv.conf?
I saw a post on another forum with a similar problem and it turned out there was a space before each entry in resolve.conf. After deleten that space, the problem was gone.
cat /etc/resolv.conf
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
domain My.domain.name.com
search My.domain.name.com
# dnsmasq is enabled on this machine:
nameserver 127.0.0.1
I know this is not exactly related but it’s something I have been asking myself:
Why NS comes by default with a DNS server enabled by default ? It’s a good practice to only have one authoritative DNS server in a company, which is usually used by your AD server and your proxy, and setup your firewall in your gateway to only accept DNS request from that server, this prevents all source of things, like using DNS request to an external server to bypass proxy content filter (Windscribe does this).
I found a other file in /etc, /etc/resolv.conf.save
cat /etc/resolv.conf.save
; generated by /usr/sbin/dhclient-script
search ITPLAZA.ICT
nameserver 10.220.1.0
nameserver 10.221.221.221
nameserver 10.73.128.2
My guess now is that the setup made a correct guess on the dns in use in the company and I fucked it up by using the GUI that I found empty at the time… How to correct this? Rename the .save version?
I tried to rename the two files and it worked. I can ping. But in the Nethserver GUI it still is the old situation. I can use the software centre, I didn’t make use of an account provider yet, I don’t hope he will mess uip thinks again if I do.