DNS Server not Working

Started by pr3p, November 16, 2016, 03:33:28 AM

Previous topic - Next topic
I try to set the OPNSense as loca DNS Server but its not working or resolving, thanks and looking for your fast response.

Connection:
-All my WAN is DHCP connection

Setting on OPNsense
-system General -- > DNS Servers 208.67.222.222 and 208.67.220.220 (OpenDNS).


Services
-i disabled DNS forwarder and set DNS Resolver enable.

on DNS Resolver - general



on PC:.
Conduct test on my windows PC and set the DNS Server to




Another Problem.
When i refresh the dashboard also some services was stop/disabled and refresh again its ok then vice versa.




Note: on my other server its working fine with the same setup.

There are several things to consider:

o Shouldn't mix Google servers with OpenDNS
o Forwarder was disabled in favour of Resolver, but it fails to start (configuration error, check log files)
o NTP slow start is normal, if it's not back up it may point to a failure to resolve DNS as well


Cheers,
Franco

November 16, 2016, 11:23:41 AM #2 Last Edit: November 16, 2016, 04:10:31 PM by pr3p
Hi franco i did the right config please refer on  the screenshot thanks.

Set System Setting ----> General DNS Server to opendns


-Disable DNS Forwarder


-Enabled DNS Resolver



and the config on Network time is set also



and the ntpd ( NTP clock sync) services still unstable.



i check logs on network time im getting this. the ntpd sometimes start sometimes stop.


Regards,
pr3p


Can you ping 8.8.8.8 from OPNsense? From LAN client? Seems you connection is totally broken.

I would not tick the "DNS server override by DHCP/PPP".
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

November 21, 2016, 12:58:14 PM #5 Last Edit: November 21, 2016, 01:31:29 PM by pr3p
Pinging any DNS Server is fine

Ping on 8.8.8.8


Ping on OpenDS 208.67.220.220



The problem was the services on ntp and Unbound DNS Resolver unstable sometimes the services stop and start (vice versa)


When i set the DNS Server on my windows pc i cant even ping google or any website its RTO but when on opnsense server tools i can ping any website and do traceroute and lookups also, one of my server is working fine same config. i tried also on fresh install problem still occur or same issue

Would guess the services simply time out, have a look at your latency, 900 ms for a google DNS server, WOW!
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

PS: Do you have gateway monitoring enabled? Might indicate "down" due to high latency (which triggers service restart). Increase threshold to some 1000s of ms or disable monitoring, as a try...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

The gateway monitoring is set to disable on all dsl line / inteface.



The problem is the services for ntpd and unbound unstable


I checked the config on my other server with same config its working fine and stable onky this new setup and the other one has a problem.


Regards,
pr3p