tryed to email "[EMAIL PROTECTED]" but I got an user not found" SMTP error :(
hope this is the right email address ...

---------- Original message ----------
Subject: URI::Heuristic


Hi,

I was playing with the URI::Heuristic module, and
I have a suggestion ... when guessing the host part of a URI, befor trying
things like 

www.ACME.MY_COUNTRY
www.ACME.com
www.ACME.org
...

isn't normal to first try to resolve that ACME string ? maybe it is a host
in my OWN LOCAL DOMAIN ...

for example, if i try "lynx www" it will correctly load my own home page
from http://www.kappa.ro/ but if i try "GET www" using the GET utility
that comes with LWP, i get the page from http://www.www.com/ which is not
exactly what I was trying to do ...

I think that is better to do what netscape does, try:
ACME
www.ACME
ACME.MY_COUNTRY and other local extensions for that country
www.ACME.MY_COUNTRY and local extensions
www.ACME.com and org, etc ...

more, if i try "GET rdsnet.ro" it say that rdsnet.ro - host not found,
because it doesn't has an IP address asiciated, it only has a "IN NS" record.
it should try:
1. rdsnet.ro .... fails
2. www.rdsnet.ro ... works ...

lynx on the other hand does another stupid thing ...
it tries:
1. rdsnet.ro ... fails
2. www.rdsnet.ro.com ... fails
3. www.rdsnet.ro.org/net/mil ... etc ... all of them fail ...
4. host not found ...
(but OFC, www.rdsnet.ro exists and is up and alive, too bad no one ask for
his name ...)


what do you say ... ?

also for the .ro domain (Romania) you can add this local extensions:
ACME.com.ro ACME.org.ro ACME.www.ro 


Best regards,
------
Doru Petrescu
KappaNet - Senior Software Engineer
E-mail: [EMAIL PROTECTED]           LINUX - the choice of the GNU generation




Reply via email to