System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Cant access few sites through Proxy server

 
Sreer
Valued Contributor

Cant access few sites through Proxy server

 Hi Gurus,

 

I am not able to access few sites via squid proxy server.

 

Proxy version using is:

 

uniproxy-2.4.7-8

 

[root@proxy01 whitelist]# cat /etc/*release*
LSB_VERSION="1.3"
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
[root@proxy01 whitelist]#

 

It is not able to ping to the concerned wesite but connect locally.

 

[proxy01]# ping www.bir.gov.ph
PING www.bir.gov.ph (120.28.53.9) 56(84) bytes of data.

 

It is able to access the concerned site from proxy server locally.

 

[proxy01]# wget www.bir.gov.ph
--13:16:28--  http://www.bir.gov.ph/
           => `index.html'
Resolving proxy01.as.proxy.com... done.
Connecting to proxy01.as.proxy.com[127.0.0.1]:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 306 [text/html]

100%[==================================================================================================================>] 306          298.83K/s    ETA 00:00

13:16:28 (298.83 KB/s) - `index.html' saved [306/306]

[proxy01]#


The squid config file says :


dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

 

dest oksites { domainlist whitelist/okdomains
               urllist whitelist/okurls
}

dest gio_old {
         domainlist gio/historical_domains
         urllist    gio/historical_urls


I have added the needed sites in the below files as per squidGuard.conf

 

/usr/local/squidGuard/db/whitelist/okdomains
/usr/local/squidGuard/db/whitelist/okurls

 

okdomains:www.bir.gov.ph
Binary file okdomains.db matches
okurls:bir.gov.ph
Binary file okurls.db matches


And re-read the configuration files using :

 

squidGuard -C okdomains

squidGuard -C okurls

 

And while checking with command  ==> client -p 8080 8080 http://www.bir.gov.ph

getting below errors.

The requested URL could not be retrieved

Unable to determine IP address from host name for
<I>bir.gov.ph</I>


Could you please point me if Iam wrong some where?

Rgds
Sree