Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-02-2005, 08:06 AM
|
#1
|
Member
Registered: Apr 2005
Location: India
Posts: 32
Rep:
|
internet host access problem
hello,
I am using RH9. my problem is that I have only squid configured on proxy machine and when i ping www.google.com from any internal host i am not able to ping it rather i can ping to google by specifying its ip address. what should i do? i have all machies with thier internal static ips.
|
|
|
10-02-2005, 11:43 AM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Have you configured a DNS address in /etc/resolv.conf on the network boxes? If you are using a dsl connection then your modem/router probably has dns caching and you can use the router address to resolve the dns.
|
|
|
10-02-2005, 09:40 PM
|
#3
|
Member
Registered: Apr 2005
Location: India
Posts: 32
Original Poster
Rep:
|
does that mean i have to add only one line on all internel pcs in resolve.conf like nameserver xxx.xxx.xxx.xxx where ip address is of routers static IP or else what?
|
|
|
10-03-2005, 01:42 AM
|
#4
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Check your router. It should pickup the isp DNS address and have a DNS proxy. I only discovered recently that these routers do DNS caching and can be used. Enter the router ip address in /etc/resolv.conf in the form nameserver <ip_address> on each box. If that is not working check the DNS address the router is picking up and use that address. I have noted that since I specified the router address on my boxes that name resolution has been much quicker.
|
|
|
10-03-2005, 12:45 PM
|
#5
|
Member
Registered: Apr 2005
Location: India
Posts: 32
Original Poster
Rep:
|
i have hardware router. how to get DNS proxy server IP? Router is connected to proxy server that i configured.
previously when i was runnig windows proxyserver with contents of resolve.conf
nameserver PROXY_SERVER_IP
search localdomain
I am able to ping any website by its name but when i boot proxy server to linux and start there squid i am unable to use ping with name of website instaed if i know ip of any site i am ping directly to that website.
Last edited by linetnew; 10-03-2005 at 12:52 PM.
|
|
|
10-03-2005, 02:15 PM
|
#6
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Investigate installing dnsmasq on the proxy server then use the proxy server as the dns cache.
|
|
|
All times are GMT -5. The time now is 09:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|