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

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


In message <_A3182@delegate-en.ML_> on 04/09/06(19:28:05)
you Snow <> 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 ".".
 |dg9_1_1 -P53 SERVER=dns RESOLV=dns:{*,!*.*},dns:

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:{*,!-*.*},dns:


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

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

I'll correct it. Thank you.

  D G   Yutaka 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]