Article 4R52Z Where "hostname -A" get the domain name from?

Where "hostname -A" get the domain name from?

by
Prze-moC
from LinuxQuestions.org on (#4R52Z)
Hello,
I had recently migrated my servers between two domains: biz-old.com -> biz-new.net
/etc/hostname contains pute host name, i.e. "my-host" without the domain.
I checked {yp,nis,}domainname and none is set, but "hostname -A" still shows the biz-old.com domain.

What do I need to do, so "hostname -A" shows "my-host.biz-new.net" instead of "my-host.biz-old.com ?latest?d=yIl2AUoC8zA latest?i=MjL3rS_79so:_1iEB_2l_xY:F7zBnMy latest?i=MjL3rS_79so:_1iEB_2l_xY:V_sGLiP latest?d=qj6IDK7rITs latest?i=MjL3rS_79so:_1iEB_2l_xY:gIN9vFwMjL3rS_79so
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments