Re: Problem Resolving names into ip addresses



On Fri, Dec 30, 2005 at 10:08:50PM +1000, Ken Robinson wrote:
Hi,
I am a relative newbie when it comes to debian so please excuse any
assumption or lack of etiquette when posting. Anyway, here goes.

I have a box connected to an ADSL modem / DHCP server / NAT.

I upgraded to unstable version from a knoppix 4.0 base. This was to get
Xorg and to resolve some graphics card issues. One problem still
remains.

I am able resolve names (eg www.google.com) into their ip addresses using
ping and nslookup but cannot with firefox and apt-get. Once I give the ip
adress (like 200.0.0.3) to firefox and apt-get they work fine. I understand
that bind is used and is somehow separate. Is there some config file (like
in /etc/defaults) which I need to use?

I have used an apple computer on the same connection and it has no problems
so I know the connection is good.

Any help would be appreciated.
ken.

I would check /etc/nsswitch.conf and look at the hosts: line to make sure dns is included. I ran into this problem before on a solaris box that had the exact same problem. It was checking NIS rather than DNS, and I didn't have an NIS server.


The configuration you most likely want is

hosts:      files dns

which will check your hosts file first and then dns. If that line says something else that could be your problem.

--
Steve Block
http://ev-15.com/
http://steveblock.com/
scblock@xxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • Re: Urgent! New router and big disaster
    ... Les Connor [SBS Community Member - SBS MVP] ... No DNS Name Resolution If DHCP Client Service Is Not Running ... You have a full-time broadband connection. ... Next I Select a local router device with an ip address. ...
    (microsoft.public.windows.server.sbs)
  • Re: CEICW & software updates...
    ... SBS/Windows Server 2003, etc is just not quite UPNP aware the way it ... MVPs do not work for Microsoft ... I'm not getting prompted for an internet connection type. ... DNS server is installed and not disabled Call to Changing ...
    (microsoft.public.windows.server.sbs)
  • Re: DNS stopps runinng about once a week
    ... Ethernet adapter Local Area Connection: ... Connection-specific DNS Suffix. ... Microsoft Exchange Information Store ... Remote Access Connection Manager ...
    (microsoft.public.windows.server.dns)
  • Re: Non-domain connection problem
    ... Notice that the default gateway and DNS IP addresses are different, ... as the fact that there is a WINS server listed. ... Ethernet adapter Local Area Connection: ... Again this had no effect on the ability to connect to the internet. ...
    (microsoft.public.windows.server.sbs)
  • RE: Internet Speed
    ... I understand that the connection from ... internal clients to Internet is very slow if you configure the clients' DNS ... You have to rerun the CEICW to make sure your SBS 2003 server have right ...
    (microsoft.public.windows.server.sbs)