Article delegate-en/3183 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3182@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Hostlist wildcard for unqualified domain name?
09 Apr 2006 12:39:51 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3182@delegate-en.ML_> on 04/09/06(19:28:05)
you Snow <pnygabdyi-mnvdjl4h4rfr.ml@ml.delegate.org> wrote:
 |[Resend: I got a "554 not include keyword" the first time, so I'm adding
 |"Delegate" to the Subject. Sorry if this arrives twice]

You are right.

 |Is there any way to match unqualified domain names? I'm trying to add a
 |dns resType to my RESOLV argument that only matches unqualified names;
 |so that FQNs go to one DNS server and non-FQNs go to a different one.
 |Unfortunately *.* matches even names without a ".".
 |
 |eg
 |
 |dg9_1_1 -P53 SERVER=dns RESOLV=dns:192.168.3.1:{*,!*.*},dns:62.240.5.5

In the current implementation, "*.*" is expanded to "[0-255].[0-255]"
to match with any IP address.  To suppress the inrepretation as an IP
address, prefix "-" to a host name or a host name pattern as "-*.*".
Thus your case should be like

  dg9_1_1 -P53 SERVER=dns RESOLV=dns:192.168.3.1:{*,!-*.*},dns:62.240.5.5

or

  dg9_1_1 -P53 SERVER=dns RESOLV=dns:62.240.5.5:-*.*,dns:192.168.3.1


 |PS In the RESOLV section of the manual /etc/hosts is referred to as a
 |"password file".

I'll correct it. Thank you.

Cheers,
Yutaka
--
  D G   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

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V