Networking :: SQUID - Exclude IP Addresses Instaed Of Domain Names?
Aug 16, 2010
Howto exclude IP address from caching in /etc/squid/squid.conf of squid 2?
For a domain, I can use:
Code:
acl excl dstdomain domain.net
always_direct allow excl
no_cache deny excl
but howto exclude IP addresses instaed of domain names?
View 2 Replies
ADVERTISEMENT
Aug 5, 2010
I'm using Ubuntu 10.4 box with Apache2 web server. I have a site with several Domain Names. How do I set up tracking?
View 1 Replies
View Related
Jan 30, 2009
I have Squid Version 3.0 PRE5 installed on debian etch.Howto exclude some URL from the proxy caching at squid.conf ?
View 5 Replies
View Related
Dec 19, 2009
Is it possible to have one static IP address with a NAT network forwarding each domain name to certain internal/DMZ IP addresses? I know you can do it by port but if both websites are on port 80 can you forward to the corresponding server on the dmz.I ask this because I noticed the website braemere.com.au had to be typed into a web browser and entering the IP which is 202.47.5.7 did not take me to the website.
View 5 Replies
View Related
May 12, 2010
I have set my environment variable for a proxy server as such [URL].. which works fine. wget rsync etc all use this proxy automatically. The problem is when I access other 10.x.x.x addresses on my private network all access goes through the proxy and is slow. How can I exclude 10.0.0.0 and 127.0.0.1 from the proxy server so that all applications obey this?
View 3 Replies
View Related
Jun 15, 2010
Since two days i m not able to browse websites using the domain names but able to ping/browse using IP addressed. I have done the following:
1. Using wireless i m able to get IP address of DNS (8.8.8., Gateway, localhost & router ip address
2. Disabled wireless and connected ETH0 but still the same problem
3. not able to edit resolv.conf
sudo gedit resolv.conf
** (gedit:4179): WARNING **: Hit unhandled case 0 (Error opening file: Input/output error) in parse_error.
[code].....
View 4 Replies
View Related
Mar 19, 2009
I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.
View 14 Replies
View Related
Feb 16, 2011
i have registered two domain names that i want to use to connect to my ubuntu server. I was wondering how to do this i was looking at bind9 but that didn't work that great. The server is behind a router with firewall i can connect to it using the external IP address but i like to use the two domain names if that is possible.
View 3 Replies
View Related
May 10, 2009
I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).
Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?
View 4 Replies
View Related
Sep 1, 2010
I have a centOS 5 server running apache 2 with it's web root at /var/www/html. By setting up a dns entry to point to the computer's IP, I was able to go to testing.myservername.com and reach the contents of that directory.My question is, how can I go about mapping multiple future domain names to folders that are under this webroot?For example how would i bind www.temporarydomain.com to the /var/www/html/temporarydomain/ folder and also be able to map www.anotherdomain.com to /var/www/html/anotherdomain/?
View 1 Replies
View Related
Dec 2, 2010
I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.
However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.
bind9 logs no obvious error messages.
View 3 Replies
View Related
Feb 17, 2010
How do i exclude some URL from the proxy caching at squid.conf as i dont wont to cache ....., mediacafe etc, I know i can block site by create a file like bad-sites.acl, then adding it to squid.conf but that blocks it.
View 2 Replies
View Related
Jan 10, 2011
I've got 2 computers plugged into an "ethernet broadband router" sitting behind a DSL modem. I'd like to be able to send mail from one of the 2 computers to the other, preferably without going through the DSL modem, and preferably without assigning host names (if that's possible).
I've installed/configured sendmail (and sendmail-cf and m4) and am attempting babystep tests of the configuration by sending mail to a user on the originating computer.
So I can send email to root@localhost and it is received on the local host.
But if I try to send it to root@127.0.0.1, it bounces back like so:
This seems to be pretty fundamental (the localhost has an address of 127.0.0.1). Shouldn't I be able to use the IP address in place of the associated name?
Here's my hosts file /etc/hosts:
Code:
And here's my resolv.conf file, although I wouldn't expect that to come into play since I'm using IP addresses instead of names /etc/resolv.conf:
Code:
Here's my /etc/mail/access file:
Code:
I did verify that sendmail was configured to listen in on more than just the loopback address in /etc/mail/sendmail.mc, but that doesn't seem to be relevant until I can get email through to 127.0.0.1.
Which files do I need to create/touch to get this to work?
And can it be done without talking to the DSL modem?
View 3 Replies
View Related
Aug 23, 2010
I'm trying to use Squid to restrict web access on the computers of my LAN. All of the computers are using static IP address and we use our firewall to deny all HTTP access except for the proxy machine so everyone needs to go through the proxy to access the web.
Most of of the computers have access to websites that are listed on a white list that I called "goodsites". I have a range of IP address that I listed in a file called "super_users". These IP adresses are able to access everything except sites that I have put in a black list called "badsites".
I would like to restrict the use of audio/video streaming for all the IP adresses including the super_users. So far I have been able to effectively block streaming for all the IP addresses except the super_users that are able to bypass this restriction.
Here is the transcript of my squid.conf file:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8# RFC1918 possible internal network
[Code]....
View 11 Replies
View Related
Mar 22, 2011
From my main Postfix SMTP heads, I am sending just a couple select emails (primarily support emails) off to a server that receives them and pipes them into the support software. So far this totally works perfectly and I am pretty happy with the configuration. However, in order for sendmail on the support server to receive those emails I have to place them in the virtusertable of course, but I also have to activate their domain in the local-host-names file. That then causes sendmail to consider itself as the destination server for that whole domain.Is there a way to make sendmail receive email for select addresses without making it think it's the server for the whole domain? This server is only receiving email from two specific smtp servers, so I wonder if I could just permit relaying? Wonder if that would just cause a giant loop though.
View 1 Replies
View Related
Dec 28, 2009
I'm going to be setting up my own server soon, but have some questions...
Where do you guys recommend I get a domain name from?
I have looked at GoDaddy for now. Any suggestions?
View 14 Replies
View Related
Jan 10, 2011
I have a list of urls like code...
How can I use grep to match the domain names only?
All the urls have a / after the domain. And there are a lot of tlds, not sure how many, the list is quite big.
View 3 Replies
View Related
Dec 13, 2010
So I'm looking to host potentialy three different...sites...I want to call them from the same machine. One is a radio station and the other 2 are just straight websites. So I wanted to know if I had to use different machines to accomplish this or can I alter maybe the http conf file or what. I did find this in the forums but wasn't quite sure if this applied to me. [URL="http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/"http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/[/URL]
View 1 Replies
View Related
Oct 25, 2010
I have spent lots of time trying to figure out how to parse the domain part of this file but am stuck.
How should this be approached:
Code:
Code:
The domains need to be parse at a maximum for 4 levels then the remainder will be put the last field.
View 3 Replies
View Related
Apr 16, 2010
I'm new here, so please be gentle! I recently installed F12 64 KDE on my Acer Aspire 1810TZ, could connect to the WLAN router but neither the native Konquerer nor Firefox could open any pages...
resolve.conf has the DNS according to DHCP offer, from command line dig properly resolves the name, ping (e.g. google) works, telnet to domain-name on port 80 works, GET too. When using the browser with the domain-name I tells me "Server not found", tcpdump doesn't display any activity. But when I manually change the domain-name with the IP (received by command line dig) then the browser has no problem how do browsers interact with the network resources of the OS?
View 4 Replies
View Related
Jun 9, 2011
For clairification, I can ping. I have tried several IP addresses and 100% success rate. When I noticed the problem I was trying to run sudo apt-get update && apt-get upgrade After some time I noticed these error messages to start with
[Code]
I tried to ping the adddress security.ubuntu.com from my Windows machine to verify that I could connect and was surprised when I could. I then pinged the address 91.189.92.167 which is what my windows machine resolved the name as and it went though.
My thoughts on this are that when my Ubuntu Router came up, for some reason it did not incorporate the ISP's DHCP servers into the ip address it obtained. Sadly I know to view ALL IP infomation in windows via ipconfig /all command but I do not know what this is in the *nix world. need commands that I can use to check and troubleshoot this apparently DHCP issue so I Can start to update my server and expand on its services?
View 1 Replies
View Related
Aug 10, 2010
Here is my scenario and what I want to try and achieve.
I have:
Quote:
Server A = 192.168.1.5 (serverA.home.com)
Server B = 192.168.1.6 (serverB.home.com)
Currently I have serverA.home.com domain name set up using a free dns service online. When I am anywhere in the world I just type the domain name it hits my static ISP IP via the free dns servers online, hits my home router, gets port forwarded to 192.168.1.5 Server A and I am up and running.
Now...
I have bought a second domain for serverB and want it set up like serverA but I am totally baffled on how I can resolve 2 domain names on a single network? I need (somehow) to try and tell the dns servers that when I enter in serverB.home.com it will hit my static ISP IP as above and then hit my home router but then get directed/split to Server B and not to Server A.
Basically all I want to do is name the machines and get traffic resolved to them.
View 2 Replies
View Related
Oct 21, 2009
Is there a way you can view all domain names hosted on an IP address using dig or whois? Say if a server is using Name Based hosting??
View 5 Replies
View Related
Jan 7, 2010
I have been logging into a server remotely and trying to set up a mailing list on it. The server is the newest version of ubuntu server: uname -a: Linux Themis 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux.I noticed I could not download packages with apt-get or ping domain names, and I can't even ping 127.0.0.1.And do you think there is something wrong with the network card?
View 9 Replies
View Related
Jan 19, 2010
before i upgrade to karmic i used to visit some local domains like freenas.local.
But after the upgrade the domains doesnt work. I can go to smb://freenas/ but in firefox / chrome or in fstab i cannot use freenas.local ...
View 2 Replies
View Related
Mar 11, 2011
I updated to 11.4 today and software manager is having trouble resolving host names. below is the exact error through software manager
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
here are the steps that i have taken already to resolve and troubleshoot the issue.
i can ping Google.
i can browse the Internet
i can browser the repo Index of / through my browser.
i have insured that ipv6 is disabled through network configuration through yast.
View 3 Replies
View Related
Sep 20, 2010
i am having mail server. im using sendmail.but it is not able to send to certain domain names....mails are getting back with the following errors
this is from logs
[code]...
View 14 Replies
View Related
Mar 23, 2011
dammit... all that typing and I hit the wrong "submit" button. *sigh*
Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.
SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?
View 1 Replies
View Related
Apr 5, 2010
I have a problem with sites or domain blocking by squid proxy server in rehl 5. I have trying lots of time but i'm not succed.pls help me how to block sites or domain in rhel 5.
View 3 Replies
View Related
Jun 25, 2010
In short: browsing the internet with domain names does not work. The long version: I've configured my network with DHCP and ifup. Ping works on my internal net and with servers in the internet. Dig work's too! I get the right IP to the requested domain. When i try to access the internet using firefox or even wget i get an DNS error. For example wget is showing the following error: Resolving heise.de... failed: Name or service not known. wget: unable to resolve host address 'heise.de'
Again dig show me the right IP and if i add the entry to /etc/hosts it work's too! I've even tried it with manually setup of ip address, nameserver and default gateway but with the same result. Switching off the firewall has no effect on this problem, too.
View 9 Replies
View Related