OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DNS Server not Working
« previous next »
  • Print
Pages: [1]

Author Topic: DNS Server not Working  (Read 9187 times)

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
DNS Server not Working
« on: November 16, 2016, 03:33:28 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: DNS Server not Working
« Reply #1 on: November 16, 2016, 07:35:48 am »
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
Logged

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: DNS Server not Working
« Reply #2 on: November 16, 2016, 11:23:41 am »
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
« Last Edit: November 16, 2016, 04:10:31 pm by pr3p »
Logged

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: DNS Server not Working
« Reply #3 on: November 21, 2016, 02:42:03 am »
any help thanks  :(
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: DNS Server not Working
« Reply #4 on: November 21, 2016, 07:26:16 am »
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".
Logged
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....

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: DNS Server not Working
« Reply #5 on: November 21, 2016, 12:58:14 pm »
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
« Last Edit: November 21, 2016, 01:31:29 pm by pr3p »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: DNS Server not Working
« Reply #6 on: November 21, 2016, 05:02:39 pm »
Would guess the services simply time out, have a look at your latency, 900 ms for a google DNS server, WOW!
Logged
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....

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: DNS Server not Working
« Reply #7 on: November 21, 2016, 06:44:12 pm »
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...
Logged
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....

pr3p

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
    • View Profile
Re: DNS Server not Working
« Reply #8 on: November 22, 2016, 03:22:21 am »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DNS Server not Working
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2