Coolboy
By:
Coolboy

Whois on irc returns ip instead of domain

July 16, 2016 627 views
DigitalOcean Ubuntu

i have bought domain from namecheap.com and on namecheap panel -> domain settings i have put my DO vps's ip address as A Record, ip has been pointed to domain as vc-mp.co.uk but whois on irc returns ip not domain. Help would be appreciated.

3 Answers

Are you referring to the /whois command on IRC? If so, that returned the IP address of the user and not the server.

Simple solution! Just went through the same thing and got a fix for you.

Go and edit the vhost file.

sudo nano /etc/hosts

After you open it you should add this after the 127.0.0.1

0.0.0.0    example.com

And add this after ff02::3 ip6-allhosts

2001:4860:4860::8888   example.com

https://i.imgur.com/LYYAQC4.png

Then go into the ZNC Web Interface; Go into Your Settings Above the Quit Message you should see BindHost put your domain.

https://i.imgur.com/CcWAWwU.png

  • Make sure you change example.com to vc-mp.co.uk

i did same thing as you mentioned in your reply? but after that i checked whois coolboy, it was same ,returning ip .
btw i did not reconnect to irc, do i have to reconnect? for actions to take effect? not sure thou

  • Do a reboot

    sudo reboot
    

    SSH back into server and type ZNC reconnect on IRC

Have another answer? Share your knowledge.