Closed zhmin closed 4 years ago
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.
"DomainFile": { "Primary": "./domain_primary_sample", "Alternative": "", "PrimaryMatcher": "suffix-tree", "AlternativeMatcher": "final" }
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!
Merged. Thanks!
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!