Reverse lookup doesn't seem to work - irc hostname remains the IP address
I’ve set up a droplet with the hostname xyz.se, with an A-record pointing to the correct ip (444.333.111.222), with a FQDN set on my droplet, and with the droplet being named name.tld.
I can log in to the server using my domain name. The PTR seems to be correct (http://mxtoolbox.com)
Yet, when I connect to IRC using Irssi, I expected my hostname to be email@example.com, but to no avail. My irc-host is still firstname.lastname@example.org What am I doing wrong? Below are my zone file, my /etc/hosts and the result of ’# host $ip’.
xyz.se. IN SOA ns1.digitalocean.com. hostmaster.xyz.se. 1424810273 10800 3600 604800 1800
xyz.se. 1800 IN NS ns1.digitalocean.com.
xyz.se. 1800 IN NS ns2.digitalocean.com.
xyz.se. 1800 IN NS ns3.digitalocean.com.
xyz.se. 1800 IN A 444.333.111.222
abc.xyz.se. 1800 IN A 444.333.111.222
xyz.se. 1800 IN MX 1 aspmx.l.google.com.
xyz.se. 1800 IN MX 5 alt1.aspmx.l.google.com.
xyz.se. 1800 IN MX 5 alt2.aspmx.l.google.com.
xyz.se. 1800 IN MX 10 alt3.aspmx.l.google.com.
xyz.se. 1800 IN MX 10 alt4.aspmx.l.google.com.
*.xyz.se. 1800 IN CNAME xyz.se.
127.0.1.1 xyz.se xyz.se
444.333.111.222 xyz.se xyz.se
127.0.0.1 localhost.localdomain localhost
444.333.111.222.in-addr.arpa domain name pointer xyz.se.
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.