-
-
Save nde1/565854c5d317e6cc571362a226fe8526 to your computer and use it in GitHub Desktop.
Using zonecfg to fix missing DNS resolvers in a SmartOS zone.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zonecfg -z <uuid> | |
zonecfg:uuid> add attr | |
zonecfg:uuid:attr> set name=resolvers | |
zonecfg:uuid:attr> set type=string | |
zonecfg:uuid:attr> set value=8.8.8.8,8.8.4.4 | |
zonecfg:uuid:attr> end | |
zonecfg:uuid> verify | |
zonecfg:uuid> commit | |
zonecfg:uuid> exit | |
# vmadm reboot <uuid> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment