How do I set up a domain-like hostname on IRC?
It's standard reverse DNS:
Choose a domain, or a subdomain, that you control. Let's say,
example.com.
.-
Point the domain to your server's IP address using a standard
A
orAAAA
record.alex.example.com. A 192.0.2.1 AAAA 2001:db8::42
-
Configure the rDNS to resolve your IP address back to that domain. rDNS uses
PTR
records under the specialin-addr.arpa.
andip6.arpa.
domains, but usually you don't have to deal with them directly, as most VPS hosts will have a control panel option to change the rDNS for your server's addresses. For a home Internet connection, you would have to ask your ISP.1.2.0.192.in-addr.arpa. PTR alex.example.com. 2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. PTR alex.example.com
If you have recently connected to the IRC server, it will have cached the previous data – remember to wait until its cache expires.
Also remember that almost all IRC servers require forward and reverse DNS to be identical:
-
alex.example.com.
→192.0.2.1
-
192.0.2.1
→alex.example.com.
Related videos on Youtube
Alex
Updated on September 18, 2022Comments
-
Alex over 1 year
I own a domain name, and a virtual private server. On that server I've installed ZNC as a bouncer for my IRC connection, and when connected through it the hostname is just a random hash of letters and numbers, or the server's IP if I set
-x
on myself.I know many BNC providers offer custom hosts for domains, but how would I use my own domain with my own bouncer? I've looked thoroughly and I can't seem to find an answer to this.
-
Alex about 12 yearsI don't see an option to change my rDNS or PTR record in my VPS, but I can change the server's hostname. Would this be it?
-
user1686 about 12 yearsIt could be. Try changing it to your desired domain, then check using something like
dig +trace -x <ipaddr>
if the PTR record was updated. -
Jürgen Paul over 10 yearsat the last sentence, how do I check that?
-
user1686 over 10 yearsUsing standard DNS lookup tools, one of which was named in the same sentence?