Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Can OPNSense run DNS Load Balance Service
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can OPNSense run DNS Load Balance Service (Read 1348 times)
azumikel
Newbie
Posts: 1
Karma: 0
Can OPNSense run DNS Load Balance Service
«
on:
November 30, 2023, 08:20:41 am »
I'm a new guy just learn to use OPNSense for few weeks, so as the title, can OPNsense run DNS Load Balance Service?
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: Can OPNSense run DNS Load Balance Service
«
Reply #1 on:
November 30, 2023, 10:06:58 am »
Yes, in theory you can run HAProxy on OPNsense in front of multiple DNS servers for load balancing.
If you are just after failover, then issue multiple DNS IP's to your clients (manually or by DHCP)
Logged
Patrick M. Hausen
Hero Member
Posts: 6821
Karma: 572
Re: Can OPNSense run DNS Load Balance Service
«
Reply #2 on:
November 30, 2023, 10:34:39 am »
@bartjsmit do you have a working configuration example for that? While the commercial enterprise version (haproxy.com) claims to support UDP load balancing, the open source (haproxy.org) documentation reads to me like UDP is only supported for log forwarding. I might be wrong, the documentation is not really well organised and I might have misread it.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: Can OPNSense run DNS Load Balance Service
«
Reply #3 on:
November 30, 2023, 02:33:16 pm »
Sorry Patrick, theory only
I wouldn't recommend load balancing DNS unless you handle very high volumes of queries, in which case you should really look at a separate DNS infrastructure with load balancing, highly available servers, etc. At that point you will likely have budget for F5.
Bart...
Logged
Patrick M. Hausen
Hero Member
Posts: 6821
Karma: 572
Re: Can OPNSense run DNS Load Balance Service
«
Reply #4 on:
November 30, 2023, 02:46:59 pm »
But then even in theory it is not possible with the community edition:
https://discourse.haproxy.org/t/i-am-not-able-to-enable-udp-traffic/9178
That was my last known state of features and it seems this is still the case.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
iMx
Full Member
Posts: 202
Karma: 15
Re: Can OPNSense run DNS Load Balance Service
«
Reply #5 on:
November 30, 2023, 02:52:10 pm »
nginx can load balance UDP.
https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
As for implementing in/with opnsense, pass.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Can OPNSense run DNS Load Balance Service