By jwfl
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
444.333.111.222.in-addr.arpa domain name pointer xyz.se.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The PTR record is provided by Digital Ocean and is set to the name of the droplet on the control panel. Check and confirm that the name of the droplet on the Control Panel is a FQDN, and is the name you want the IP address to rlookup to.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.