How do I update my servers' domain name for Reverse DNS?
- by Jeff
I'm updating my mail servers' rDNS and I think I have it all figured out except for one thing.
When I installed my OS (Debian Etch), the installer asked me to enter the "domain name".
Is the "domain name" updated by using the hostname command?
If so, which config file(s) are updated when using the hostname command?
If not, how do I change my servers' domain name?
My current /etc/hosts:
127.0.0.1 localhost
67.228.178.164 mrspock.example-old.com mrspock
My current /etc/hostname:
mrspock
$ hostname -f
mrspock.example-old.com
I need to update hostname -f to be mrspock.example-new.com.