Closed
Bug 26503
Opened 26 years ago
Closed 26 years ago
DNS: ignores /etc/nsswitch.conf configuration
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
M18
People
(Reporter: jt, Assigned: gordon)
Details
(Whiteboard: [nsbeta3+])
Attachments
(1 file)
|
1.67 KB,
text/plain
|
Details |
Hi,
It's simple, Mozilla totally ignore the file "/etc/nsswitch.conf", don't
perform name resolution on other resolvers that might be configured there
(/etc/host file, NIS, ...) and just query the DNS server directly. To bad when
you don't use the standard setup...
May I suggest to offer the following option in Mozilla : if the DNS request
done internally by Mozilla fails, optionally use the standard libc resolver to
give a second chance.
And if you were to put your highly optimised DNS resolution code in glibc, I
guess that nobody would really mind ;-)
And yes, I've got a strange setup, but I don't feel like setting up a DNS
server on my local network ;-(
Have fun...
Jean
Jean, I'm not sure what you mean by our "highly optimised DNS resolution code";
we're simply calling gethostbyname on Unix. Does gethostbyname normally look at
/etc/nsswitch.conf?
Target Milestone: M15
More data :
Sorry for having my previous comments as an attachement, I'm still learning
bugzilla... And my spelling ;-(
The second bug that I describe in the attachement is in fact 17158 ("no proxy"
not implemented). So, let's ignore it here...
The first bug that I describe is in fact more a feature request and could be
expressed like this :
-> When proxy is configured, offer the possibility to resolve locally name
without domains.
Or :
-> Possibility to add the empty/void domain to the list of "no proxy".
As Netscape4.X doesn't implement that, I guess it could be classed as a "nice
feature to have" rather than a bug, and could be reclassified for much later
(and maybe change the title of the bug).
Note as well that this is not platform specific but apply certainly as well to
Windows, Macintosh and other Unixes.
And finally hostname without domain are a bit a strange case, and they seem to
interact with Internet Keywords. See bug 2875 for a long discussion on the
issue...
Did I miss anything on the subject ?
Jean
Comment 5•26 years ago
|
||
Moving post beta bugs to M18 which is now the post-beta milestone.
Target Milestone: M17 → M18
Comment 6•26 years ago
|
||
It is presently not possible to access `localhost' using this string instead of
`127.0.0.1' this is can be a major problem on may unix systems, where localhost
is set as newsserver, mailing server and sometimes used as local webserver.
for instance: localhost or http://localhost/ is changed to
http://www.localhost.com/.
I would like to nominate this as beta2 and serverity: Major
nominating and approving for nsbeta3+
This might be rpotts' if its webshell.
Keywords: nsbeta3
Whiteboard: nsbeta3+
Updated•26 years ago
|
Whiteboard: nsbeta3+ → [nsbeta3+]
"localhost" now seems to map properly to the web server on the browsing machine.
Marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Summary: Mozilla totally ignore some DNS configuration → DNS: ignores /etc/nsswitch.conf configuration
You need to log in
before you can comment on or make changes to this bug.
Description
•