This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Forcing a DNS Hostname to be used on the bot??

Old posts that have not been replied to for several years.
Locked
S
Snipester

Forcing a DNS Hostname to be used on the bot??

Post by Snipester »

Hi,

I am trying to make my bot use a DNS name when someone /whois the bot or uses info lookup from IRC. Rather than the usual IP etc.

I have used the 'set my-hostname "www.myhostname.com" ' in my bots .conf file, but this doesnt seem to do the trick....

Any info would be appreciated,
Many Thanks.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is a DNS issue with the servers that provide lookup requests for your IP.

To make a Vhost operate correctly, two conditions need to be true.

1: When you do DNS query on www.my.host.name, it must resolve to a IP.

2: When doing a further DNS query on the IP returned, it must return the hostname you originaly started with.

While you may see both these happen, the IRC server may not.

This may be due to DNS cache, the timegap it takes to propergate the requests or because it simply isn't setup this way.
S
Snipester

Post by Snipester »

Thanks for the reply... I am pretty sure the DNS is propogated fully and so is ok.

I was wondering if it might be possible to make it work in a similar way to a Vhost, i am only concerned with the DNS name being shown when some looks up the Bot's info within IRC...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The only for it to work is for it to be a vhost.

What is displayed in IRC, is not determined by what you set in myhostname.

Only what the IP resoves to and from.
Locked