Networking :: Local Dns Server Cache Size Optimization
Apr 24, 2011
Does anybody have some thoughts about a local dns server cache size? What is the optimal one? In terms of memory consumption and number of re-enters into the cache. Lets say that default size is 150, so I've change this to 500 and after some time I see 379 re-enters into the cache. Simply put I need to increase the cache size 2 times. But due to the fact that browser preloads dns names it is not possible to interpret the number of overwrites in terms that it is not possible to say if useful cache entries were overwritten or those that the browser precached ( in other words not needed ). In this case it is ok to overwrite unwanted entries because it is not likely that I'll need these entries anyway
I'm running the dnsmasq on an embedded system with limited ram and with an umts dongle attached. It is important to keep the cache size as small as possible to reduce memory usage and at the same time to reduce number of external lookups because dns latency of the umts connection is high (1-2sec for the dns query)
View 1 Replies
ADVERTISEMENT
Sep 24, 2009
I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
View 12 Replies
View Related
Jun 24, 2010
Squid servers cache size ondisk automatically increasing and decreasing,how I would resolve this issue
View 6 Replies
View Related
Mar 6, 2011
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 Replies
View Related
Jun 29, 2011
I found that one of my computers was issuing a DNS request to a domain on my local network every time I send a query. I've look around and saw several programs you could install for DNS local cache, but does it not come with some application by default? If it matters, I'm running Ubuntu 11.04 with DHCPD and Bind9.Also, I did add nameserver 127.0.0.1 to /etc/resolv.conf, and it's listed before my other nameservers.
View 5 Replies
View Related
Jun 28, 2011
I have a desktop and laptop at home, both running the same flavour of Debian Testing. How can I configure apt on the laptop so that it first tries to download the packages from the desktop before going to the Internet?
View 2 Replies
View Related
Nov 7, 2010
My Pastebin for .HTACCESSIf you can offer any tips on improvements..but the main reason: I cannot get the bots to stop showing up.Esp the first one in the list.I need to block these two specifically
Code:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
&
[code]....
View 5 Replies
View Related
Jun 21, 2011
My postfix server has been working great for the last 1-2 years. Lately the number of spams encreased (from 1-2 every day to aprox 8-10 every day per domain for some domains ).I post here the output of postconf -n. Maybe someone gives me some advices about what cat I change or how can I optimize. I must recognise that I don't fully understand details of how postfix and all the restrictions works together, but I will document every advice.
View 4 Replies
View Related
Sep 25, 2010
Is there a way to clean (reduce size of) the abrt cache (/var/cache/abrt)? Perhaps something similar to "yum clean all"?
View 1 Replies
View Related
May 22, 2010
I just bought a laptop with a T4400. Looking through lshw output turned up the following for the L2 cache:
Code:
*-cache:1
description: L2 cache
physical id: 6
slot: L2 Cache
size: 1MiB
capacity: 4MiB
capabilities: burst internal write-back unified
I'm curious as to why the size (1Mib) and capacity (4MiB) are different. Surely it can't be possible to stick something on the CPU to increase the L2 cache size, right?? So what does this mean?
I'm running 64-bit Linux Mint (derivative of Ubuntu). The kernel config says CONFIG_X86_L1_CACHE_BYTES=64 but I found nothing about the L2 cache.
Can I somehow unlock more cache to get a 4MiB L2 cache for free?
View 6 Replies
View Related
Sep 4, 2010
How do I get the L2 and L3 cache size?
View 4 Replies
View Related
Jul 14, 2010
I run a gaming clan forum on IPBFree. By all accounts the servers are Down, permanently.
Taking with them 2 years of my Clans Forum posts. I was wondering if maybe Firefox or Chrome keep some sort of local Cache on the HD that i can try and salvage as much data as possible from.
View 7 Replies
View Related
Oct 7, 2010
how should i remove a package in a local cache? i tried removepkg packagename.txz and itdeleted its files. but then i tried to install it back, it says its in the local cache so it didn't download the package but instead it installs it right directly. i want it to downloadit once again because the package isn't working.
View 3 Replies
View Related
Nov 16, 2010
we had a CENTOS 5.5 x86_64 machine with 8ered with MySQL 5.0.91-community.Currently we had a very high number of Created_tmp_disk_tables (31k in 4,5 hours!!!).I've read suggestion that we need to increase tmp_table_size, and we've set tmp_table_size to 64M, but this drupal modul's query still cause mysql create tmp table on disk
Code:
SELECT DISTINCT node.nid AS nid,
comments.subject AS comments_subject,
[code]...
View 4 Replies
View Related
Jun 28, 2010
On a full update centos 5.5 64 bit every day increases slab cache , specialy size-2048 eat a lot of memory ..
how can change this ? maybe a kernel bug ?
cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
[Code]....
View 1 Replies
View Related
Jun 10, 2009
I have set up a gateway machine in debian lenny
internet is shared to the localnetwork by using squid as proxy server Can I improve the performance if I set up this machine as DNS cache server?
What is the result if I set this machine as Primary DNS?
View 3 Replies
View Related
Nov 24, 2010
I have AMD Phenom 8550 triple code processor, with 2.20ghz speed and 4gb ram. I am trying to install Redhat linux 9 first time. I am new to linux. While install system hangs with message
ehci-hcd 00:13.2: PCI device 1002:4396
echi-hcd 00:13.2: irq 10, pci mem f880f800
usb.c: new usb bus registered, assigned bus number 2
PCI:00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW" expecting 16
how to get rid of this message
View 9 Replies
View Related
Jun 18, 2011
I had the idea to cache writes to my nfs filesystem on my local hard drive.
It seems CacheFS exists to cache reads, but not writes to nfs.
I would imagine that if I could cache writes to my nfs on a local drive I could have a fast system, but keep all my files where I want them on my network.
I'm thinking about this because I am planning on buying a SSD, and I would imagine if I could set things up this way the system could be lightening fast while keeping things on the network. Currently if I copy a large file (hundreds of MB) it is quite slow, with an SSD and caching, I would imagine the copy could be very fast.
View 1 Replies
View Related
Jul 14, 2010
I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.
Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:
Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
[code]...
View 8 Replies
View Related
Apr 5, 2011
Is there anyway to show package size that comes up in the search so you don't have to apt-get install package individually and wait for the installation initiation and then reject to install after it gives u the [y/N] confirmation thing?
View 2 Replies
View Related
May 31, 2010
What is the right way to specify hostname(in local linux box, not in DNS server):
myhost1
or
myhost1.mydomain1
View 2 Replies
View Related
May 28, 2011
Last night I setup bind9 on my server. I created a local domain (name.local). The server's ip address is 192.168.1.254
The issue that I'm having is that with my ubuntu laptop, I can't ping the name of the server.
Code:
user@prefect:~$ ping name.local
ping: unknown host name.local
But when I do the same ping from both the server and a XP computer, it will respond.
I can ping the laptop with it's name (prefect.name.local) from both the server and the xp computer.
This is my /etc/resolv.conf file:
Code:
user@prefect:~$ cat /etc/resolv.conf
domain name.local
search name.local
nameserver 192.168.1.254
Also, when I do nslookup name.local or dig name.local, the return with no errors.
Why is it that I can't use the name of the server to access it and that only the ip address works?
View 2 Replies
View Related
Sep 6, 2010
I am trying to connect to a nfs server on my local network ( the server is a fedora 12 box ) using slackware 13.1 but I am having some problems. First of all I am sure that the server is configured ok and my desktop can ping the server but when I try :
mount -t nfs 10.0.0.1:/home/usr/file /home/usr/tmp I get the following error : mount.nfs: No route to host
And when I try to rpcinfo -p 10.0.0.1 I get the error :
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
View 5 Replies
View Related
May 7, 2010
i would like to connect from my home pc to my local machine at the university (fedora 12) behind a main university server(linux) through vnc. specifically,to connect normally through ssh/X to my local pc i have to ssh first to the main university server and then ssh to my local pc. Namelly:
ssh -Y -l loginname main.server.name
and then
ssh -Y my.local.machine.
On my local machine there is a vnc server running that I would like to access it from home (linux machine). Actually linux is running everywhere.
View 8 Replies
View Related
Jul 9, 2010
Here's my (admittedly complex) situation:
I set up a dynamic DNS address for my home network. Let's call it [URL]. Then I set up one of my machines with a bind9 DNS server and pointed my router's DNS setting to it. I did this so that I could resolve awesome.server.com from machines inside my network and have them correctly find my server. Then I set up a second machine to serve web pages using [URL]. I did this by forwarding port 9200 on my router to port 80 on that machine. This works, but of course, it only works from outside my network.
What is the best way to get [URL] to work from inside my network?
I've tried setting up the iptables on my server to forward that port, but it just times out. I used these rules that I found by searching the internet:
Code:
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 9200 -j DNAT --to 192.168.0.300:80
iptables -A INPUT -p tcp -m state --state NEW --dport 9200 -i eth1 -j ACCEPT
However, those rules might be failing because they are intended to forward ports requested from outside the network. I must admit, this iptables stuff is way, way over my head. Is there a different method that I must use to make it work inside my network? Or is there a better way besides iptables?
View 1 Replies
View Related
Nov 3, 2010
I just setup a ubuntu 10.10 box learn linux and to play around with, and want it to host my website. I can see the web site on my local network no problem but the outside world gets a time out message. I check to make sure everything is forwarded correctly on my router and the dns so i has to be something in ubuntu blocking out-of-network traffic how do i turn port 80 on to the outside world
View 4 Replies
View Related
Nov 9, 2010
I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.
View 3 Replies
View Related
Jul 1, 2010
I'm trying to connect to a data server (basically a big hard drive) in my lab with my computer. On the Mac that's at the workbench next to me, you enter Go -> Connect to Server. From there, enter the IP address that I have (I can't find a server name--just the IP.). It asks you which subsystem you want, queries you for a user name & password, and then opens a window with all the files. Meanwhile, on my Ubuntu machine, I have a "Connect to Server" option under "Places" on my main menu. But when I choose that, I need to select what kind of server it is, from several options that don't seem right. (It's not FTP, it's not SSH, it's not a form of HTTP, and that leaves "Windows share?") I've tried several things, but usually get back 'Cannot display location "smb://<IP-ADDRESS>/" The specified location is not mounted'. I've tried many ways of mounting this drive, but it usually gives me permission denied errors (even though I *know* I have the right login and password--I've logged in using the aforementioned Mac).
View 13 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
Mar 29, 2010
I've got a hybrid network of Windoz and Mac clients that I want to auth to a CentOS Samba server (currently running a tdbsam backend but will eventually be migrated to an OpenLDAP backend)...what is the best solution for "sync'ing" the Mac clients (mostly laptops) to the server, all the solutions that I've seen suggest that I should simply map the users home drive to the PDC but that doesn't mac much since to me seeing as they need to access their computers data while they're off site...is there a way to "sync" user profiles in Linux>?
View 1 Replies
View Related