NetworkManager forces DHCP hostname or DNS reverse hostname to be used

Solution Unverified - Updated -

Issue

  • Server renames itself when doing DHCP
  • When enabling a system to get an IP via DHCP, and that IP address is registered in DNS under the DHCP domain, the system will change its hostname
  • DNS reverse lookup (PTR record) is used as hostname instead of "localhost"

Environment

  • Red Hat Enterprise Linux 7
  • NetworkManager-1.0.0-14.git20150121.b4ea599c.el7 and later
  • DHCP server which provides DHCP hostnames
  • IP address which has DNS reverse lookup (PTR) records (IP may be provided via DHCP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content