Random Network
Statistics
* related to indexed networks only

Only one server being seen/used. [RESOLVED]

Only one server being seen/used. [RESOLVED]  

  By: genius3000 on Aug. 1, 2022, 4:20 a.m.

With my network Cyberarmy (irc.cyberarmy.com), the bot always connects to the same server out of the round-robin address (not seeminly an issue in itself) and never "sees" any of the other servers. There's three client servers in the round-robin, they and other servers are visible in /LINKS and the crawler bots are exempt from any timed restrictions on connect. The network is running InspIRCd v3, a quick browse through shows some networks of the same version looking proper and a few looking similar to mine (could be by choice though).

- genius3000
"I just click buttons and hope for the best!"

 Last edited by: daniel on May 17, 2024, 9:42 p.m., edited 1 time in total.

Re: Only one server being seen/used.  

  By: daniel on Aug. 9, 2022, 3:46 p.m.

Are you using any kind of geographical DNS settings?

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

Re: Only one server being seen/used.  

  By: genius3000 on Aug. 21, 2022, 5:01 p.m.

Are you using any kind of geographical DNS settings?

I was fairly certain not and this actually guided me into another thought. So I dug more into our nameserver setup and definitely no type of GeoDNS.
What I did find though is we don't have round robin rotation enabled at the NS. It'll then depend on the DNS resolver, whether it rotates the records or not (e.g., Google does not, Cloudflare does, etc.).

- genius3000
"I just click buttons and hope for the best!"

Re: Only one server being seen/used.  

  By: daniel on Aug. 30, 2022, 2:53 p.m.

So my bots use simple DNS to connect.

There is another option though. If your network supports remote commands to servers, you can enable that in your network settings and then on the server page manually add servers.

This will cause the indexer to remotely index all servers from the server page. Still might be a little buggy and only TechNet does this currently, but it's an option. It also will remotely index servers already indexed previously, so no need to add servers that are already being indexed. If you add a server and it can never index it, it just simply won't show up.

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

Re: Only one server being seen/used.  

  By: genius3000 on Nov. 19, 2022, 10:18 a.m.

Thanks for the tips daniel.
I tried a quick test at our NS, rearranged the records and sure enough the bot connected to a different server.

I did have remote commands enabled but never noticed the Add Server button, just assumed it used /map or /links. Went ahead and added the servers, it indexed them and grabbed the MOTDs but fails at version or users. Current version of InspIRCd does give a remote version reply as a one line basic reply, but no reply to remote /lusers.

- genius3000
"I just click buttons and hope for the best!"

Re: Only one server being seen/used.  

  By: daniel on Nov. 23, 2022, 7:27 p.m.

I will check what I can about the bot, but I am limited to what the IRC servers are willing to give me.

EDIT:
Also to state, the bot looks for IRC RFC codes. So it doesn't matter how it displays the information, as long as the IRCd follows RFC it knows what to look for.
I tried to handle MAP/LINKS but honestly different IRC daemons handle it differently, and it was becoming too complex.

If it cannot remote command a server, it will not pick up what its looking for. I've tried to add as much error handling as possible with it, but still might need to work on it.

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

 Last edited by: daniel on Nov. 23, 2022, 11:22 p.m., edited 1 time in total.