Page 1 of 1

Not Caching.

Posted: Mon Jul 20, 2009 1:05 am
by arleslie
I'm having to wait extended periods of time to connect to my IRC server because it's not caching the hostname.

I've had it cache once and that when I was connected twice.
Is there something in the config that I missed?

Also, I realized that if I use the IPs that it does cache, but I don't feel safe having the IPs displayed to the public, so is there a way I can set a standard vhost?

Re: Not Caching.

Posted: Mon Jul 20, 2009 2:29 am
by Stealth
  1. Make sure you are using fast DNS servers. Usually DNS servers provided by your ISP are slow or may not always have the most up-to-date host information. I usually use 4.2.2.6 and 4.2.2.4.
  2. If you have Ident checks enabled, make sure you are using decent values for checking. Make sure the timeout for ident checking is low, as well as not have lots of retries (1 or 2 retries is generally enough with a 2 second delay).
  3. If you're concerned that Unreal is not properly caching IPs or hosts, you can run a local DNS server in caching mode.
  4. Have umode x in set::modes-on-connect. This will cloak all hosts and IPs when users connect to your network. If they choose to show their IP/host to the world, they can remove the mode themselves.

Re: Not Caching.

Posted: Mon Jul 20, 2009 1:02 pm
by arleslie
Stealth wrote:
  1. Make sure you are using fast DNS servers. Usually DNS servers provided by your ISP are slow or may not always have the most up-to-date host information. I usually use 4.2.2.6 and 4.2.2.4.
It's being ran off of a 100mbit/sec BGPv4 Tier 1.
Stealth wrote: [*]If you have Ident checks enabled, make sure you are using decent values for checking. Make sure the timeout for ident checking is low, as well as not have lots of retries (1 or 2 retries is generally enough with a 2 second delay).
I have no idea how to enable or check to see if its enabled
Stealth wrote: [*]If you're concerned that Unreal is not properly caching IPs or hosts, you can run a local DNS server in caching mode.
I'm not really concerned, its just that its a long waiting period to login to the IRC server.
Stealth wrote: [*]Have umode x in set::modes-on-connect. This will cloak all hosts and IPs when users connect to your network. If they choose to show their IP/host to the world, they can remove the mode themselves.[/list]
Ok, I'll set this

Re: Not Caching.

Posted: Mon Jul 20, 2009 1:14 pm
by arleslie
Also I'm noticing that I'm limited to 6 clients but my code is saying 900

Code: Select all

class           clients
{
	pingfreq 90;
	maxclients 900;
	sendq 100000;
	recvq 8000;
};

Re: Not Caching.

Posted: Mon Jul 20, 2009 9:28 pm
by katsklaw
class is for everyone, so the 900 is your soft max for that class. Which means you can have 900 connections is the "clients" class, the allow block regulates how many users per IP.

For more information please read the docs completely. http://www.unrealircd.com/files/docs/unreal32docs.html The docs contain most of the answers you've mentioned. Including dns server setup as well as identd enabling.