Allow expanded DNS configuration

Signed-off-by: Gunju Kim <gjkim042@gmail.com>
This commit is contained in:
Gunju Kim
2021-08-13 10:34:18 +09:00
parent d0be7b90f1
commit 1224060f89
3 changed files with 8 additions and 9 deletions

View File

@@ -48,9 +48,6 @@ const (
defaultShmSize = int64(1024 * 1024 * 64)
// relativeRootfsPath is the rootfs path relative to bundle path.
relativeRootfsPath = "rootfs"
// According to http://man7.org/linux/man-pages/man5/resolv.conf.5.html:
// "The search list is currently limited to six domains with a total of 256 characters."
maxDNSSearches = 6
// devShm is the default path of /dev/shm.
devShm = "/dev/shm"
// etcHosts is the default path of /etc/hosts file.