View previous topic :: View next topic |
Author |
Message |
abecedarix n00b
Joined: 16 Apr 2007 Posts: 74
|
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2222 Location: Barcelona
|
Posted: Tue Dec 04, 2007 9:19 pm Post subject: |
|
|
Sí, es muy curioso. Además, el bug lleva tiempo: si te fijas en el hilo de ubuntu
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/121467
el primer mensaje es de junio, y estamos ya en diciembre.
He hecho algunas pruebas y no es problema del navegador: un simple ping devuelve un mensaje de unknown host, pero mediante el comando DIG, preguntando directamente a los servidores DNS, sí es posible obtener la IP:
Code: | $ dig @198.172.81.4 http://i--.deviantart.com
; <<>> DiG 9.4.1-P1 <<>> @198.172.81.4 http://i--.deviantart.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22619
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;http://i--.deviantart.com. IN A
;; ANSWER SECTION:
http://i--.deviantart.com. 3600 IN A 198.172.81.21
;; AUTHORITY SECTION:
deviantart.com. 259200 IN NS a.ns.deviantart.com.
deviantart.com. 259200 IN NS b.ns.deviantart.com.
;; ADDITIONAL SECTION:
a.ns.deviantart.com. 259200 IN A 198.172.81.4
b.ns.deviantart.com. 259200 IN A 66.28.104.5
;; Query time: 227 msec
;; SERVER: 198.172.81.4#53(198.172.81.4)
;; WHEN: Tue Dec 4 22:15:00 2007
;; MSG SIZE rcvd: 126
|
El DIG lo hice desde el principio, uno tras otro, es decir, primero un dig sin parámetros que devuelve la IP de los root-servers, luego un dig a uno de ellos que devuelve los dns del .com, después otro a uno de los dns de .com que devuelve la IP del servidor dns de deviantart.com y por último otro dig a dicho servidor (el que he puesto) que devuelve, en su ANSWER SECTION, la respuesta correcta.
Sin embargo ningún navegador, ni mozilla, ni lynx, ni Internet explorer sobre wine, ni siquiera el ping (que no usa http siquiera) son capaces de convertir el nombre i--.deviantart.com en una dirección IP (obtienen un mensaje de unknown host).
Haciendo otros dig obtengo esto:
Al router (hace de servidor dns)
Code: | $ dig @192.168.1.1 i--.deviantart.com
; <<>> DiG 9.4.1-P1 <<>> @192.168.1.1 i--.deviantart.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51123
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;i--.deviantart.com. IN A
;; ANSWER SECTION:
i--.deviantart.com. 181 IN A 198.172.81.21
;; Query time: 2 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Dec 4 22:43:38 2007
;; MSG SIZE rcvd: 52 |
y a mi propio servidor dns:
Code: | $ dig @192.168.1.253 i--.deviantart.com
; <<>> DiG 9.4.1-P1 <<>> @192.168.1.253 i--.deviantart.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20534
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;i--.deviantart.com. IN A
;; ANSWER SECTION:
i--.deviantart.com. 3523 IN A 198.172.81.21
;; AUTHORITY SECTION:
deviantart.com. 254416 IN NS a.ns.deviantart.com.
deviantart.com. 254416 IN NS b.ns.deviantart.com.
;; Query time: 3 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)
;; WHEN: Tue Dec 4 22:43:43 2007
;; MSG SIZE rcvd: 87 |
Hay respuesta, y eso que ambos usan linux (el router es un livebox de Orange cuyo firmware está basado en linux y mi servidor usa Gentoo). El router supongo que reenvía las peticiones a los dns de Orange, el mío tiene instalado un BIND.
Es decir, BIND, sobre linux, actúa correctamente. Así que, si no me equivoco, el fallo parece estar en el cliente DNS de linux.
Muy curioso. _________________ pcmaster |
|
Back to top |
|
|
inconexo Tux's lil' helper
Joined: 25 Aug 2005 Posts: 144
|
Posted: Wed Dec 05, 2007 12:47 pm Post subject: Re: Problemas para acceder a URLs con guión antes del punto. |
|
|
Bueno, pues esta claro :)
Viendo http://tools.ietf.org/html/rfc1034, hay un parrafo que dice:
Quote: | The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less. |
Por tanto, es bueno que no funcione, y ojala nunca lo haga: sera sintoma de que al menos alguien sigue respetando los estandares
Un saludo!
Pd. recuerdo cuando hace años se me ocurrio crear un hostvirtual 3d.xxx.xxx y fallaba por el mismo motivo |
|
Back to top |
|
|
Stolz Moderator
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Wed Dec 05, 2007 2:52 pm Post subject: |
|
|
It's not a bug, it's a feature |
|
Back to top |
|
|
sirope Guru
Joined: 16 Jan 2007 Posts: 490 Location: /home/sirope
|
Posted: Wed Dec 05, 2007 3:57 pm Post subject: |
|
|
Me pregunto si los *BSD's y Solaris respetarán la norma.... |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2222 Location: Barcelona
|
Posted: Wed Dec 05, 2007 5:13 pm Post subject: |
|
|
Entonces, el bug está en la propia página web de deviantart.com, que permite crear usuarios con un nombre tal que para acceder a su página hay que usar una URL que no cumple las normas.
¿Véis como, al final, sí es un bug?
_________________ pcmaster |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|