LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2003, 04:56 AM   #1
MgF
LQ Newbie
 
Registered: Nov 2002
Location: Central QLD Australia
Distribution: RH7.3
Posts: 13

Rep: Reputation: 0
Unable to access local intranet computer by name thru squid


Hi,

I have been trying to access my Linux computer webserver by its samba share name and it keeps failing with this error

"Unable to determine IP address from host name for.."

I currently go thru a transparent squid proxy to access the internet and it works fine. But if i type the name of the internal computer samba name from another computer on the local network ie http://mycomputer/ squid returns the error.

Now if i don't go thru squid, it works.

Now how do i get squid to recognise the internal computers name?

I currently have a bind dns server running.

Any help would be appreciated


Cheers

Michael
 
Old 08-18-2003, 08:31 PM   #2
compucated
LQ Newbie
 
Registered: Aug 2003
Location: Karachi, Pakistan
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
Lightbulb

If you are using 'dns_nameserver' tag in squid.conf file, it should include localhost dns, for example:
dns_nameserver 127.0.0.1 202.23.4.4

If dns_nameserver tag is not used in squid.conf file you need to add localhost loopback or another ip in /etc/resolv.conf, for example it should look like:

nameserver 127.0.0.1
nameserver 202.23.4.4

Also you need to configure your DNS server so it can respond ip addresses of host names, check your DNS server's dcoument.

The easiet way is to fill up the /etc/hosts file, for example,
it looks like:

127.0.0.1 server localhost.localdomain
10.0.0.2 client1
10.0.0.3 client2
10.0.0.4 client3

Hope it help you
Hamid
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access local virtual hosts zeroGsa Linux - Networking 3 12-22-2004 01:39 PM
Give local computer unrestricted access Boffy Linux - Security 2 08-15-2004 05:23 PM
ping: unknown host in local intranet linuxjustin Linux - Networking 3 04-04-2004 02:03 PM
I can't get my Website to work on my local intranet. tivoli pete Linux - Newbie 9 10-13-2003 03:23 PM
Using Konqueror to Browse Local Intranet sacants Linux - Newbie 1 02-21-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration