Help with domain override setup
-
ipconfig on GUEST network,
-
ipconfig in LAN
Is it why never resolve. ????
-
to finish i have to add to DNS server settings the ip from my dns server on DMZ, is that correct???
-
@Gertjan Problem Solved!!!!
Yes i dont know why but was related to virtualizations.
Just put de VM on the subnet of LAN and get all via DHCP and resolves all like a charm!!!!.
Now from any subnet work great. i almost give up.
thanks u all. -
In order all this work i have to:
- DNS Resolver -> Domain Overrides setting:
homelab.cu - 10.0.0.50 (DNS server in DMZ)
2 DNS Resolver -> Access List granted access to LAN and GUEST network (not sure is needed).
-
leave in blank "DNS Server Settings" fields (System->General setup)(previous filled with google dns but dont resolved my internal dns)
-
In every interface (LAN, GUEST) under DHCP Server setting:
DNS server: IP of interface, 8.8.8.8, 8.8.4.4, 1.1.1.1
gateway: IP of interface
domain name: homelab.cu
(i supose that this way any client conected to any of this interface get network setting via dhcp and when resolver first look in the ip of the domain override, then if fail go to the others dns i setup. Is that correct? ) and isthis the right way to do it??
Thanks again and i hope someone can make some clarifications about this notes above.
- DNS Resolver -> Domain Overrides setting:
-
@krlsantcard no none of that makes any sense.. clients behind pfsense should be really the only dns set on clients. If you want pfsense to forward to google dns or cloudflare than setup pfsense to do so.. But resolving should be fine, its the default you do not have to set any dns IPs
Those IPs sure and the hell not going to know about any local resources you want to resolve. And no they do not try in order, when you set more than one nameserver on a client, you really have no idea which one it might ask.
-
@johnpoz said in Help with domain override setup:
clients behind pfsense should be really the only dns set on clients.
First i made this ways but then dont resolve nothing to the internet. Just my internal dns.
So i really lost how i must go on!!!
-
@johnpoz said in Help with domain override setup:
f you want pfsense to forward to google dns or cloudflare than setup pfsense to do so
Please let me put in a way u can understand, what i pretend if type on a browser in LAN o GUEST www.homelab.cu or nas-prod-1.homelab.cu resolve to my DNS server on DMZ, otherwise typing any word, frase then google.
-
Well, following ur sugestions remove all dns.
Client in GUEST (get via DHCP)
Is that correct???
And a ping to google.then in browser:
DNS_PROBE_FINISHED_NXDOMAINjust made a flushdns and problem resolved.
so that's the way should be? -
for clarification,
on DHCP server -> GUEST (static IP 192.168.42.1) i set
DNS servers : 192.168.42.1
Gateway: 192.168.42.1
Domain name: homelab.cu