[Bug 703043] [NEW] DNS checked before hosts file?

Joseph Crawford 703043 at bugs.launchpad.net
Fri Jan 14 19:49:27 UTC 2011


Public bug reported:

Binary package hint: firefox

I am running Ubuntu 10.10 and am on the work network via ethernet.

On the work network the domain *.jcrawford.americas.nokia.com points to
my workstation at my desk.  On my laptop I also have my dev environment
setup and have the following in my hosts file

127.0.0.1       desktop.jcrawford.americas.nokia.com
api.jcrawford.americas.nokia.com mobile.jcrawford.americas.nokia.com
static.jcrawford.americas.nokia.com

I have restarted my browser and even restarted my system.  When I am on
the network with my laptop and hit that address in my browser it hits my
WORKSTATION computer at my desk rather than the local apache installed
on my laptop.  I have verified this several times by checking the
access.log on my workstation.

I also verified that it was doing the network DNS lookup prior to
checking the hosts file in this manner.

1.) Disconnected the network cable
2.) Cleared browser cache
3.) hit the URL
4.) YAY I got the apache page saying It Works!

I then plugged in the network cable and cleared my browser cache.  On my
workstation I tailed my access.log.  I hit the URL in my laptop browser
viola it hit my workstation again.

I am not sure if this is a bug with firefox or if firefox is making a
system call which is failing to follow the proper order on Ubuntu 10.10

jocrawfo at work-laptop:~$ lsb_release -rd
Description:	Ubuntu 10.10
Release:	10.10


Package Used: Firefox (3.6.13+build3+nobinonly-0ubuntu0.10.10.1)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Jan 14 14:41:49 2011
FirefoxPackages:
 firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-gnome-support 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-branding 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.
https://bugs.launchpad.net/bugs/703043

Title:
  DNS checked before hosts file?




More information about the Ubuntu-mozillateam-bugs mailing list