Re: [squid-users] Squid and DNS

From: Fran Boudraux <[email protected]>
Date: Thu, 14 Feb 2002 05:57:23 -0500

MessageNope, it does have 'appned dns suffix' (be.com) in dns properties and the same happens on thewin95-98 workstations (the get be.com suffix from dhcp)
  ----- Original Message -----
  From: Aldo S. Lagana
  To: 'Fran Boudraux' ; squid-users@squid-cache.org
  Sent: Wednesday, February 13, 2002 4:58 PM
  Subject: RE: [squid-users] Squid and DNS

  I'm not THE expert, but it looks as though your client is running W2K, ME or XP and it is not in the be.com domain (in it's DNS tab under TCP/IP properties it doesn't have be.com anywhere)
   
  What gives me the clue is that the FQDN seems to resolve, but for one of those above OS's to assume a domain (the domain) seems to have to be in the clients DNS setup under TCP/IP.
   
  aldo
    -----Original Message-----
    From: Fran Boudraux [mailto:squidlist@hotmail.com]
    Sent: Wednesday, February 13, 2002 4:43 PM
    To: squid-users@squid-cache.org
    Subject: [squid-users] Squid and DNS

    Squid 2.4.stable.
    I need some clarification regarding how squid works with local dns server.Here is the setup:
    Squid configured to use the following name resolvers: (cat /etc/resolv.conf)
    search be.com # search local dns server first
    nameserver 10.0.84.9 # local dns server
    nameserver 207.181.102.5 # ISP dns sevrer
    nameserver 207.181.102.6 # ISP secondary dns server

    All workstation set to use this proxy server, have 'Bypass proxy for local addresses' enabled, and have only one dns server setup in ip properties (10.0.84.9)

    What I don't undersand is the following:
    Let's say local dns server holds be.com local domain name and it has entry for ultra1which is:
    ultra1 IN A 10.0.84.3 # running local intranet web server

    When I ping ultra1 from Sqiod box I get the reply from 10.0.84.3
    When I ping ultra1 from the dns server itself I get the reply from 10.0.84.3
    When I ping ultra1 from the workstation I get the reply from 10.0.84.3
    When I open the browser and type http://ultra1 I can get to the site.
    Now I go to the IE browser and go to the proxy settings and unmark Bypass proxy for local addresses and I receive error message from proxy server that address cannot be found in local cache.(If I type http://ultra1.be.com I can access it)
    Questions:
    1. How come proxy server can resolve the address, dns server can resolve the address, workstation can resolve the address, but when I unmark Bypass proxy for local addresses it doesn't work?
    2. When browser is configured to use proxy then dns name resolution request for the site isn't done on the workstation, but rather proxy machine tries to resolve the name for the workstation, right? If this is correct then why when I unmark Bypass proxy for local addresses on browser it doesn't work?

    Thanks.
Received on Thu Feb 14 2002 - 03:57:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:22 MST