Article delegate-en/3396 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:<_A3394@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate DNS resolution problem
13 Jul 2006 21:31:36 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3394@delegate-en.ML_> on 07/14/06(04:17:49)
you "Bill Burdick" <piigqbdyi-hugik5woznxr.ml@ml.delegate.org> wrote:
 |For some reason, delegate is not resolving this address, but Linux's regular
 |resolver does: eric_rollins.home.mindspring.com  I can't seem to affect the
 |behavior by changing delegate's configuration settings.

I think a hostname shoule be consist of [A-Z] [a-z] [0-9] "-" and "."
following to the DNS standard.  Underscore "_" should be reserved to
represent some non-hostname like a service name or a protocol name
as in RFC2782.
But at least, it might have to be tolerant to such usage of underscores
in a hostname (which was disabled in DeleGate/9.2.0).
So I'll re-enable it with a modification like the enclosed patch.

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

*** ../arc/delegate9.2.3-pre13/rary/vsaddr.c	Wed Jun 21 01:36:52 2006
--- rary/vsaddr.c	Fri Jul 14 06:07:30 2006
***************
*** 503,510 ****
--- 503,512 ----
  		if( isAlnum(nc) )
  			continue;
  		if( nc == '-' )
  			continue;
+ 		if( nc == '_' ) /* can be a service/protocol name */
+ 			continue;
  		if( nc == '.' ){
  			if( isAlnum(np[1]) || np[1] == 0 ) 
  				continue;
  		}

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