awaw / dnsproxy

proxy queries to split recursive/authoritative servers
MIT License
15 stars 4 forks source link

Is there a way to add a failover dns #10

Open risharde opened 2 years ago

risharde commented 2 years ago

Hey, great job on this wonderful dnsproxy daemon - saved me loads of trouble so far with having a host server and multiple vms within! So my situation is probably unique (multiple vms with dns servers) in the sense that I want to proxy to multiple dns servers. For example, if the first server does not have a record, it should try another dns server. Is this possible? Please let me know!

awaw commented 2 years ago

Is this possible?

Unfortunately not. And a rather complex change, I think.

clandestinople commented 5 months ago

This means that it is not possible to enter multiple 'listen' addresses right? I tried and it always uses the last 'listen' entry.

awaw commented 5 months ago

This means that it is not possible to enter multiple 'listen' addresses right? I tried and it always uses the last 'listen' entry.

This issue references authoritative/recursive, but listen also allows a single address only. You may use 0.0.0.0 to listen on all addresses though.