Page 1 of 1
IP to Hostname problem
Posted: Wed May 26, 2004 11:45 pm
by EviL_SmUrF
For some reason my server is no longer resolving client's IP's to hostnames when they connect. A friend of mine jacked with the server configuration and it no longer works correctly.
Here is the whole unrealircd.conf:
Code: Select all
loadmodule "src/modules/commands.so";
me {
name "betterchat.xalia.net";
info "The Heart of Xalia";
numeric 1;
};
include networks/xalia.network;
And then here is the part of the xalia.network file that has to do with hostnames:
Code: Select all
dns {
nameserver 127.0.0.1;
timeout 15s;
retries 1;
};
I don't see any errors in it, but, its just straight up not resolving the IP's. It was working fine until he messed with the server config. Any ideas what it could be guys?
Any help is greatly appreciated!
Thanks!
[/code]
Posted: Thu May 27, 2004 12:39 am
by w00t
I doubt thats the whole unrealircd.conf
Try checking the cloak keys, perhaps there is a problem with them.
Do you have more than one server linked?
Posted: Thu May 27, 2004 12:44 am
by Syzop
http://www.vulnscan.org/UnrealIrcd/faq/#58
Also, be sure to remove set::options::dont-resolve if present.
Posted: Thu May 27, 2004 1:49 am
by codemastr
It's either the set::options::dont-resolve, or (more likely) an allow::options::useip.
Posted: Thu May 27, 2004 3:28 am
by EviL_SmUrF
yeah that is the whole unrealircd.conf. everything is set in different parts
links.conf
opers.conf
etc
Code: Select all
options {
hide-ulines;
identd-check;
show-connect-info;
};
theres no "use ip only" or anything like that set there
i emailed the place hosting my ircd, Shellux, and they checked cobra and said everything is ok on their end.
anymore ideas?

Posted: Thu May 27, 2004 4:11 am
by jewles
there are some required feilds that I would keep within the unrealircd.conf file. I used to be the same what you apear to be, running 1000000 config files and including them.... You don't need to, it causes more problems then it solves.
Try adding everything (required) in the same config... like me/admin/allow/(etc) list goes on....
Posted: Thu May 27, 2004 5:08 am
by w00t
Yeah, also makes backing up configuration a whole lot easier...
Posted: Thu May 27, 2004 5:13 am
by EviL_SmUrF
Well i learned one valuable lesson. You have to have your "server" class declaration before the link groups or it doesn't like you
Everything is now in the same config, however when I connect:
-betterchat.xalia.net- *** Found your hostname (cached)
It still has my IP. Same for everybody else. Is there a way to clear the cache and make it try to look up my hostmask again so that I can see if that fixed it? (putting everything into the same config)
Posted: Thu May 27, 2004 5:26 am
by w00t
I presume a little, but I reckon a restart 'd do it. Cant think of another way.
Posted: Thu May 27, 2004 8:04 am
by EviL_SmUrF
its already been restarted. still getting "hostname cached" thing even with a restart.
Posted: Thu May 27, 2004 4:25 pm
by codemastr
theres no "use ip only" or anything like that set there
Of course there isn't, because you didn't read what I said. Useip is in the allow block. Not the set block.
Posted: Thu May 27, 2004 11:46 pm
by w00t
Well, just presume it works then I guess...
Posted: Fri May 28, 2004 1:30 am
by EviL_SmUrF
yep, that was the problem. for some reason only known to him he had "useip" in there lol
thanks guys