Whois on irc returns ip instead of domain

i have bought domain from 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 but whois on irc returns ip not domain. Help would be appreciated.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

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

And add this after ff02::3 ip6-allhosts


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

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