url with '-' character can't be resolved

Bug #338591 reported by qubicllj on 2009-03-06
6
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Undecided
Unassigned

Bug Description

http://blurr-.javaeye.com/
This url can be resolved in windows,but can't be resolved in ubuntu

Yann Sionneau (yann-sionneau) wrote :

I think you missconfigured something cause it's working well with me :

fallen@fixe:~$ nslookup blurr-.javaeye.com
Server: 157.159.40.55
Address: 157.159.40.55#53

Non-authoritative answer:
Name: blurr-.javaeye.com
Address: 221.130.189.113

fallen@fixe:~$ dig blurr-.javaeye.com

; <<>> DiG 9.5.0-P2 <<>> blurr-.javaeye.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59813
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;blurr-.javaeye.com. IN A

;; ANSWER SECTION:
blurr-.javaeye.com. 86395 IN A 221.130.189.113

;; AUTHORITY SECTION:
javaeye.com. 54490 IN NS ns1.javaeye.com.
javaeye.com. 54490 IN NS ns2.javaeye.com.

;; ADDITIONAL SECTION:
ns1.javaeye.com. 86395 IN A 221.130.189.113
ns2.javaeye.com. 86395 IN A 221.130.189.120

;; Query time: 0 msec
;; SERVER: 157.159.40.55#53(157.159.40.55)
;; WHEN: Fri Mar 6 07:57:00 2009
;; MSG SIZE rcvd: 120

and when i type http://blurr-.javaeye.com/ in firefox it works as well.

Lars Ljung (larslj) wrote :

I take it that it's in Firefox you see this behaviour, please let us know if that's not the case. Both bind9-host and nslookup can handle this domain name, but not Firefox.

Yann Sionneau (yann-sionneau) wrote :

I do not agree, this is not a firefox bug (the kink works for me using Intrepid and firefox 3.0.6 or 3.0.7), i don't understand the bug because i cannot reproduce it, can you be more specific about the versions of Ubuntu and firefox you are using ?

which packets are you using ?

please provide the output of the following commands :

lsb_release -a
firefox -v
dpkg -l firefox

Lars Ljung (larslj) wrote :

I can reproduce in on my system, sorry for not including the version information.

apt-cache policy firefox
firefox:
  Installed: 3.0.7+nobinonly-0ubuntu0.8.10.1
  Candidate: 3.0.7+nobinonly-0ubuntu0.8.10.1
  Version table:
 *** 3.0.7+nobinonly-0ubuntu0.8.10.1 0
        500 http://security.ubuntu.com intrepid-security/main Packages
        100 /var/lib/dpkg/status
     3.0.6+nobinonly-0ubuntu0.8.10.1 0
        500 http://se.archive.ubuntu.com intrepid-updates/main Packages
     3.0.3+nobinonly-0ubuntu2 0
        500 http://se.archive.ubuntu.com intrepid/main Packages

This is on amd64 if that matters.

Yann Sionneau (yann-sionneau) wrote :

is this happening only with firefox ? or even when you do nslookup or dig or browse via Opera / Konqueror or other ?

John Vivirito (gnomefreak) wrote :

I am able to confirm this on Jaunty firefox version 3.1 I will test with 3.0 and 3.2 in a few minutes.

John Vivirito (gnomefreak) wrote :

I see this in 3.0 as well dig works so yes it is a firefox bug. the cause is the . in the link. Can you please file this bug report upstream at:
https://bugzilla.mozilla.org

 Here is dig output:

nomefreak@Development:~$ dig http://blurr-.javaeye.com/

; <<>> DiG 9.5.1-P1 <<>> http://blurr-.javaeye.com/
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17913
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;http://blurr-.javaeye.com/. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009030600 1800 900 604800 86400

;; Query time: 113 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Fri Mar 6 11:33:05 2009
;; MSG SIZE rcvd: 119

Yann Sionneau (yann-sionneau) wrote :

dig only apply to domain name, not to URL.

just do "dig domain" without http:// and /

qubicllj (qubicllj-gmail) wrote :

I don't think it's a firefox bug,because opera,konqueror and curl doesn't work,other linux system like arch puppy have the same problem.
my system: Ubuntu 8.10
firefox version: 3.0.6

Lars Ljung (larslj) wrote :

You might be right actually. The command "getent hosts blurr-.javaeye.com" returns nothing. Does this make it a glibc bug?

Lars Ljung (larslj) wrote :

This might be a duplicate of bug 144431 in glibc

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers