Question
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 user@xyz.se, but to no avail. My irc-host is still user@444.333.111.222 What am I doing wrong? Below are my zone file, my /etc/hosts and the result of ’# host $ip’.
Zone file:
$ORIGIN xyz.se.
$TTL 1800
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.
/etc/hosts-file:
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 xyz.se
host $ip
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.
×