How to change DNS options provided via DHCP in an Azure environment

Solution Verified - Updated -


  • The typical configuration provided by the Azure DHCP server doesn't fit my needs and I need to change options
  • I want to use my own (on-premise) DNS server on my Azure machines
  • I'm afraid the default domain search could leak internal hostname information to the Microsoft DNS servers


  • Red Hat Enterprise Linux (RHEL) 7.x
  • Microsoft Azure Cloud

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