1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Merge pull request #15453 from riteshsp2000/fix/#11080

fix: add note preventing user from changing nameserver
This commit is contained in:
Ramya Parimi
2022-02-16 07:27:28 -06:00
committed by GitHub
2 changed files with 14 additions and 3 deletions

View File

@@ -29,14 +29,20 @@ The nameservers you specify must resolve {% data variables.product.product_locat
## Configuring nameservers using the administrative shell
{% data reusables.enterprise_installation.ssh-into-instance %}
2. To edit your nameservers, enter:
```shell
$ sudo vim /etc/resolvconf/resolv.conf.d/head
sudo vim /etc/resolvconf/resolv.conf.d/head
```
{% data reusables.enterprise_installation.preventing-nameservers-change %}
3. Append any `nameserver` entries, then save the file.
4. After verifying your changes, save the file.
5. To add your new nameserver entries to {% data variables.product.product_location %}, run the following:
```shell
$ sudo service resolvconf restart
$ sudo service dnsmasq restart
sudo service resolvconf restart
sudo service dnsmasq restart
```

View File

@@ -0,0 +1,5 @@
{% note %}
**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".
{% endnote %}