DNS override will not resolve
-
I'm currently using DNS resolver and am trying to set an override for a site and it will not resolve any configured domain override.
As an example I try to configure cnn.com to resolve to 208.123.73.69. If I input it as a Domain Override and then switch to my client it will fail to resolve to anything when I do an nslookup. If I remove the domain override entry it resolves to the normal IPs with nslookup.
If I look at /var/unbound/domainoverrides.conf when it is configured it lists:
forward-zone:
name: "cnn.com"
forward-addr: 208.123.73.69I use cnn.com to 208.123.73.69 as an example but it happens with any domain real or made up I enter. What should I look at for troubleshooting?
-
Hi,
First check on your device (PC ? whatever) what DNS server is being used.
Exemple, if it is a PC, what returns :
ipconfig /all
Use also
nslookup
and give it
cnn.com
to resolve.Because : it"s know that people try to setup a local DNS server/cache for pfSense and on the other hand they instruct the connected devices to use "8.8.8.8", thus bypassing pfSense all together.
-
"If I input it as a Domain Override"
Domain override would be used to point a domain to a different NS..
If you want cnn.com to resolve to a specific IP - then you would use a HOST override..
Sure if you point a domain via domain override to some IP that can not resolve what your asking for, then sure it would fail.
-
Domain override would be used to point a domain to a different NS..
If you want cnn.com to resolve to a specific IP - then you would use a HOST override..
That is fantastically helpful and my exact problem. Thank you.