host opnsense.org 1.1.1.1
;; connection timed out; no servers could be reached
nslookup opnsense.org 1.1.1.1
I put cloudflare DNS into the DHCP settings for LAN, because the OPNsense computer is not able to resolve DNS:
Are your LAN computers given IP addresses & DNS server IPs via DHCP? What do you mean by "OPNsense computer is not able to resolve DNS:"?
Just for confirmation, do you have a DNS server entry in System/Settings/General?
If you want to (or have to) use specific DNS servers, type the IPv4 and IPv6 addresses of each server on dns server field and uncheck "Allow DNS server list to be overridden by DHCP/PPP on WAN", save and apply changes and run diagnostics explained in diagnostics section again.Servers are fine, but still I get randomly IPv4 and IPv6 time out thingy when running nslookup on my computer
Diagnostics:Go to Interfaces ---> Diagnostics ---> DNS lookup and type google.com on "Hostname or IP" (leave "server" field empty) then click apply. If under "server" you see list of public IPv4 and / or IPv6 addresses and under "Answer" has correct google.com addresses, then your WAN receives response on DNS and quite possibly, culprit is having enabled IPv6 on LAN, in which case you have to enable IPv6 on unbound settings.
On windows, you can confirm this by opening command prompt, type "nslookup" without quotations and press enter, if you get time out and finally server is Unknown with IPv6 address, your machine is trying to use IPv6 DNS, instead of IPv4.
From the shell on said computer I can ping ip addresses but not hostnames. Furthermore, both the host and drill commands are failling.