Multi WAN - DNS routing when default gateway is down
-
Hi,
I've just noticed today, after my primary internet access went down, that i couldn't resolve dns, then i noticed that the routing to the DNS servers i got configured in pfsense was going throw my default gateway.
Shouldn't the default gateway of pfsense change when i'ts down?
Or can i configure a firewall rule to make all traffic from 127.0.0.1 to DNS server go through my failover group?
-
Did you specify a dns server for each gateway in System: General Setup ?
[Shouldn't the default gateway of pfsense change when i'ts down? /quote]
Not by default, you can however, enable this if you wish (System: Advanced: Miscellaneous: Allow default gateway switching)Or can i configure a firewall rule to make all traffic from 127.0.0.1 to DNS server go through my failover group?
Yes, create a floating rule - direction out - for tcp/udp on dns port (53) - check option quick - select gateway-group. (you would need to set dns servers reacheable from all your isp's
enjoy
-
Did you specify a dns server for each gateway in System: General Setup ?
No, i've selected "none" on the "Use Gateway" option for all my DNS.
I guess i could make one DNS go through my primary gateway and the other through the secondary, but automatic change of default gateway seems a better option.Shouldn't the default gateway of pfsense change when i'ts down?
Not by default, you can however, enable this if you wish (System: Advanced: Miscellaneous: Allow default gateway switching)I will activate this option and make some tests.
Thankx.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy