Hi, In message <_A4400@delegate-en.ML_> on 03/10/09(23:03:01) you Guillaume de Rorthais <pe4iqbdyi-a5kzqr5x4m6o.ml@delegate.org> wrote: |> Your requirement seems very reasonable but since the DeleGate ver.9 is |> in its final stage to be stable and finished, I can't dare to modify it |> in the way affecting the current behavior. So I'll add a directive to |> control it in a hosts-file as a comment to be ignored by existing |> versions, which might be useful for extensions in future :) |> It is "#!max=N" to restrict the number of records to be found. |> You can insert it in a hosts-file as this: |> |> #!max=1 |> a.a.a.a domain.com *.domain.com |> a.a.a.b test1.domain.com |> a.a.a.c test2.domain.com | |That's fine enough ! Thank you for this patch, it gonna make the trick |of our needs. I uploaded DeleGate/9.9.2-pre6 including the patch. By the way, I should say the example above does not work and the wild card entry must be at the bottom of a hosts file as below: #!max=1 a.a.a.a domain.com a.a.a.b test1.domain.com a.a.a.c test2.domain.com a.a.a.a *.domain.com or #!max=1 a.a.a.b test1.domain.com a.a.a.c test2.domain.com a.a.a.a domain.com *.domain.com Cheers, Yutaka -- 9 9 Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller