How do I update my servers' domain name for Reverse DNS?
Posted
by
Jeff
on Server Fault
See other posts from Server Fault
or by Jeff
Published on 2012-10-25T09:12:39Z
Indexed on
2012/10/25
11:03 UTC
Read the original article
Hit count: 257
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
.
© Server Fault or respective owner