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: 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: 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)
  • 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)
  • preventing dhclient writing to root console
    ... reserving IPs for all known boxes at the Netgear router and running bind ... So it actually saves trouble only for ... the console or terminal window whenever you log on as root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [SLE] No hostname, domainname, /etc/resolv.conf, or default route after WiFi connection
    ... That's what it was used for before bind was written. ... but I thought we're talking about suse systems of the current ... still used for name resolution by many people that do not/cannot setup ... Ken Schneider ...
    (SuSE)