Re: Problem Resolving names into ip addresses



On Fri, 2005-12-30 at 22:08 +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?

bind is an internet dns. you wouldnt and shouldnt be using it in your
home environment unless you know what you are doing. (ie. uninstall
bind)

name resolution (to my knowledge) is done via two mechanisms:

1) /etc/hosts
2) doing dns queries to the hosts in /etc/resolv.conf

you can use tcpdump to see if (and who) you are querying for your name
resolutions:

# tcpdump -tqn dst port 53

-matt zagrabelny


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



Relevant Pages

  • Re: Clarification on roles of networking components.
    ... I would definitely recommend a local-only address for the local services. ... I think he wants name resolution for all local hosts. ... He would be served very well with a far simpler DNS implementation. ... So your issue is not DNS, but rather the BIND implementation of DNS. ...
    (Fedora)
  • Re: Clarification on roles of networking components.
    ... I think he wants name resolution for all local hosts. ... He would be served very well with a far simpler DNS implementation. ... So your issue is not DNS, but rather the BIND implementation of DNS. ... The single server has 2 nics, one internal the other to the dsl router. ...
    (Fedora)
  • RE: Bind 8.3.2: How to get secondary updating conf from primary?
    ... Subject: Bind 8.3.2: How to get secondary updating conf from ... On Tue, 14 Oct 2003, Andrew Nelson wrote: ... To unsubscribe, ...
    (freebsd-isp)
  • Re: Runaway BIND
    ... When bind goes nuts it repeated cycles through the entire set of root ... and affected both master and slave servers. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Bind Conf
    ... Eyeball the entries in your named.conf file and bounce them ... Subject: Bind Conf ... On Behalf Of Jay Berryman ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)