shawn1m / overture

A customized DNS relay server
MIT License
1.79k stars 284 forks source link

add final domain matcher #198

Closed zhmin closed 4 years ago

zhmin commented 4 years ago

The final domain matcher always match all the rule. There is an example to use it.

Primary dns server match some domain, while alternative dns match others.

Then I can set primary DomainFile, and add final matcher for alternative dns. When dealing with an domain request that is not in primary DomainFile, alternative dns will be choosen without ip match. If there is no final matcher, a dns request must be sent to get its ip. It's meaningless!