Closed Bug 1312196 Opened 8 years ago Closed 1 year ago

If /etc/hosts is more than 1562 bytes, Firefox can not lookup DNS

Categories

(Core :: Networking: DNS, defect, P3)

45 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chlor, Unassigned)

Details

(Whiteboard: [necko-backlog])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36

Steps to reproduce:

# ( echo -n 127.0.0.1\ ; for N in {1..100}; do echo $N.abcdefghij.example.org ; done | paste -d\  -s ) >> /etc/hosts


Actual results:

Firefox could not use DNS. Any lookup to other sites which is in DNS could not be resolved.


Expected results:

It was expected that http://mozilla.org/ could found and shown.
Component: Untriaged → Networking: DNS
Product: Firefox → Core
Hans - what OS (with version) are you using? Does this happen in other browsers? On other operating systems?

This smells a lot like a bug in the OS resolver to me, since that's what Firefox uses for name resolution.
Flags: needinfo?(chlor)
Thanks for listening. In the meantime I have found that this is a persistent bug from 2003. https://bugzilla.mozilla.org/show_bug.cgi?id=214625
This is a duplicate.

You might be right that this problem is caused by my OS (Debian Stretch), but it does not occur to: ping host telnet wget curl ssh lynx links chrome konqueror ftp ncftp nmap ngrep tcpdump. In this way I think it is Firefox which has a problem.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
I'm going to reopen this.. as duplicate of a wfm bug isn't right if its still a problem. I think the imapct of the bug is low though - so marking backlog. happy to review a patch if someone figures it out.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Whiteboard: [necko-backlog]
Flags: needinfo?(chlor)
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Severity: normal → S3

I can no longer reproduce this bug.
Please reopen if you're still seeing this on any platform.

Status: REOPENED → RESOLVED
Closed: 8 years ago1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.