Page 2 of 2

Posted: Sat Apr 09, 2005 5:27 am
by w00t
TigerKatziTatzi wrote:/dns nickname on a long time connected user, won't give u any resolve
1) It doesn't matter how long they have been connected
2) This is a client side command you are using! It is not under the control of the IRCd.
TigerKatziTatzi wrote:/whois nickname as ircop will show u still the dns and ip of a user
That is normal, if you don't want your opers to be able to see this information... uh, don't oper them.
TigerKatziTatzi wrote:/dns nickname of a recently connected user will give u dns entry
As above, this is a client side command-- how long they have been connected has nothing to do with it. It is more likely whether they have mode +x set! I strongly advise you to do some more reading as to how DNS actually works and what it is, and then read mIRC's helpfile (I assume you use mIRC)

Code: Select all

/dns [-ch] [nick|address]
Resolves an address. If mIRC sees a "." in the name you specify it assumes it's an address and tries to resolve it. Otherwise it assumes it's a nickname and performs a /userhost to find the user's address and then resolves it. If you specify an IP address, it looks up the host name.

You can queue multiple /dns requests, and you can view the current queue by using /dns with no parameters.

The -c switch clears all currently queued DNS requests, except for the one currently in progress.

The -h switch forces /dns to treat the parameter as a hostname.

Note: Due to way the DNS lookup works, any DNS related functions currently in progress eg. connecting to a server, must be resolved before subsequent requests. This means that if a prior DNS is having problems resolving, subsequent DNSs have to wait until it times out before they can be resolved.
Quoted direct from mIRC's helpfile-- mIRC's /dns command is in no way related to UnrealIRCd's /dns command- mIRC's one gets used first because it's client side! You will only get the IRCd's DNS command if you use /quote dns or /raw dns as this overrides mIRC's inbuilt commands and sends it straight to the server.

so far about /dns nicknames ....................

only vhost users are able to be resolved on long term. but this will show then ip of ur dns server
Say what? vhosts are usually used to make the +x host "prettier". They also usually don't resolve.

Posted: Sat Apr 09, 2005 7:00 am
by w00t
Just to add, the response from /helpop ?dns

Code: Select all

***** Dns *****
 -
 Returns information about the IRC server's DNS cache.
 Note, since most clients have a builtin DNS command,
 you will most likely need to use /raw DNS to use this.
 There are also 2 other variants:
 'DNS l' will show you the DNS cache entries
 'DNS i' will give you details about the nameserver config
 -
Syntax: DNS [option]

Posted: Sat Apr 09, 2005 7:09 am
by TigerKatziTatzi
ur theory is correct. here some results with plain mirc 6.16 client. no addons. u may able to explain me this then also.

Code: Select all

a12345 is [email protected] * eMule0.45b(SMIRCv00.68)
a12345 on +#polish #MindForge-Chat #eMule-English 
a12345 using Balzac.MindForge.org Think about Rodin on MindForge IRC
a12345 End of /WHOIS list.
-
[09:03] * Dns resolving mf-3030849F.red.bezeqint.net
-
[09:03] * Dns unable to resolve mf-3030849F.red.bezeqint.net
-
bldbfgdf is [email protected] * Yop
bldbfgdf on +#AcHaNtA #yep-yop #MindForge-Chat #french-owners #c.a.t. +#jencrien 
bldbfgdf using Blackhole.MindForge.org A deep hole in universe
bldbfgdf End of /WHOIS list.
-
[09:03] * Dns resolving mf-7859EEDE.yep-yop.com
-
[09:03] * Dns unable to resolve mf-7859EEDE.yep-yop.com
-
CK-Abs is [email protected] * ZemulSCript
CK-Abs is a registered nick
CK-Abs on #eMule-French &#trankillou #MindForge-Chat @#les_dingos &#la_cueva_del_amor #Fans_de_Stargate &#emule-pimousse ~#emule-france ~#AidesOzemuliens #aide #adokOmania 
CK-Abs using freakbits.MindForge.org AcHaNtA's freakbits on MindForge IRC
CK-Abs is away: Absence automatique aprés 30 minutes.
CK-Abs End of /WHOIS list.
-
[09:04] * Dns resolving mf-504BD792.w82-125.abo.wanadoo.fr
-
[09:04] * Dns unable to resolve mf-504BD792.w82-125.abo.wanadoo.fr
-
TamOShanter is [email protected] * Tam
TamOShanter is a registered nick
TamOShanter on ~#ROTD @#MindForge-Chat @#MindForge #eMule-English 
TamOShanter using Think.MindForge.org Fire up with Think, on MindForge IRC
TamOShanter is a Services Administrator
TamOShanter is available for help.
TamOShanter Spoken languages: English. Join #MindForge for IRC and network help
TamOShanter End of /WHOIS list.
-
[09:04] * Dns resolving ServicesAdmin.MindForge.org
-
[09:04] * Dns resolved ServicesAdmin.MindForge.org to 69.25.212.134

TKT[away] is [email protected] * tiger
TKT[away] on #eMule-German @#nostradamus @#MindForge #MindForge-Chat 
TKT[away] using egt.MindForge.org Whatever it takes
TKT[away] is away: bbl
TKT[away] is a Network Administrator
TKT[away] Spoken languages: German, English. Join #MindForge for IRC and network help
TKT[away] has been idle 9mins 26secs, signed on Thu Apr 07 16:46:25
TKT[away] End of /WHOIS list.
-
[09:07] * Dns resolving NetAdmin.MindForge.org
-
[09:07] * Dns resolved NetAdmin.MindForge.org to 69.25.212.134


Posted: Sat Apr 09, 2005 7:18 am
by w00t
The ones that aren't resolving, more than likely they have +x set by the looks of their hostnames.

As for the mindforge ones, check your BIND settings. Looks like you've got everything set to resolve back, which probably isn't a good thing. Not that it's gonna do much as they can just DoS your server anyhow, i'm betting that that IP is pointing to your server, not to you?

Yup...
C:\Documents and Settings\Harry>nslookup netadmin.mindforge.org
*** Can't find server name for address 10.1.1.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 10.1.1.1

Non-authoritative answer:
Name: netadmin.mindforge.org
Address: 69.25.212.134
And then:
C:\Documents and Settings\Harry>nslookup http://www.mindforge.org
*** Can't find server name for address 10.1.1.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 10.1.1.1

Non-authoritative answer:
Name: http://www.mindforge.org
Address: 69.25.212.134
My guess, check your BIND settings on the server.

[edit]Fixed incorrect second paste[/edit]

Posted: Sat Apr 09, 2005 7:23 am
by TigerKatziTatzi
k, now i got it.

we are forcing on-connect +x

haven'T think about users going to set -x by themself. so my fault. thx for help.

Posted: Sat Apr 09, 2005 12:10 pm
by Matridom
TigerKatziTatzi wrote:k, now i got it.

we are forcing on-connect +x

haven'T think about users going to set -x by themself. so my fault. thx for help.
remove the ablity for them to -x themselves.

on my servers regular users do not have the ability to change usermodes themselves.

Posted: Sat Apr 09, 2005 3:14 pm
by Syzop
@'the ircd died'... well if it crashed, and the ircd is not modified, report it on bugs.unrealircd.org (don't forget to read the part 'how to report a bug' under 'main'). Thanks.

Posted: Mon Apr 11, 2005 11:02 am
by TigerKatziTatzi
Syzop wrote:@'the ircd died'... well if it crashed, and the ircd is not modified, report it on bugs.unrealircd.org (don't forget to read the part 'how to report a bug' under 'main'). Thanks.
we did. u've got an report made by duplex. but i want to do some defined testings on a testnet during this week. we hadn't any chance to do it last weekend. we'll keep u informed about results. but mainly looks like a bug on too many triggered events to join them in viruschan. but we'll check this out.