1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/content/admin/configuration/configuring-network-settings/configuring-dns-nameservers.md
Grace Park 1dfa5c251e Fix ordered lists to only use 1. (#38283)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-06-26 16:25:04 -07:00

1.7 KiB

title, intro, redirect_from, versions, type, topics, shortTitle
title intro redirect_from versions type topics shortTitle
Configuring DNS nameservers {% data variables.product.prodname_ghe_server %} uses the dynamic host configuration protocol (DHCP) for DNS settings when DHCP leases provide nameservers. If nameservers are not provided by a dynamic host configuration protocol (DHCP) lease, or if you need to use specific DNS settings, you can specify the nameservers manually.
/enterprise/admin/guides/installation/about-dns-nameservers
/enterprise/admin/installation/configuring-dns-nameservers
/enterprise/admin/configuration/configuring-dns-nameservers
/admin/configuration/configuring-dns-nameservers
ghes
*
how_to
Enterprise
Fundamentals
Infrastructure
Networking
Configure DNS servers

The nameservers you specify must resolve {% data variables.location.product_location %}'s hostname.

{% data reusables.enterprise_installation.changing-hostname-not-supported %}

Configuring nameservers using the virtual machine console

{% data reusables.enterprise_installation.open-vm-console-start %}

  1. Configure nameservers for your instance. {% data reusables.enterprise_installation.vm-console-done %}

Configuring nameservers using the administrative shell

{% data reusables.enterprise_installation.ssh-into-instance %}

  1. To edit your nameservers, use the ghe-setup-network command in visual mode. For more information, see "AUTOTITLE."

    ghe-setup-network -v
    
  2. To add your new nameserver entries to {% data variables.location.product_location %}, run the following:

    sudo service resolvconf restart
    sudo service dnsmasq restart