The nameservers you specify must resolve your GitHub Enterprise Server instance's hostname.
Warning: Do not change the hostname for GitHub Enterprise Server after initial setup. Changing the hostname will cause unexpected behavior, up to and including instance outages.
Configuring nameservers using the virtual machine console
- Using your virtualization platform tools, open the virtual machine console.
- To start your network setup, press S.
- Configure nameservers for your instance.
- To finish configuring your settings, press D.
Configuring nameservers using the administrative shell
SSH into your GitHub Enterprise Server instance. For more information, see "Accessing the administrative shell (SSH)."
$ ssh -p 122 admin@HOSTNAME
To edit your nameservers, enter:
sudo vim /etc/resolvconf/resolv.conf.d/head
Note: The 127.0.0.1 entry is required to be the first entry in the list. Do not remove the 127.0.0.1 entry, add another entry above the 127.0.0.1 entry, or use options that affect the ordering of entries, such as "options rotate".
nameserverentries, then save the file.
After verifying your changes, save the file.
To add your new nameserver entries to your GitHub Enterprise Server instance, run the following:
sudo service resolvconf restart sudo service dnsmasq restart