From 5aafb2bf78ba7e421d75cdef028850a6dc8c286f Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 28 Jan 2026 00:15:52 +0700 Subject: all: set the resolv.conf symlinked to systemd stub-resolv.conf The default resolv.conf is empty. This cause program that depends on resolv.conf for name resolution will fail. As a test, we create small Go program "cmd/golookup" that can lookup IP address of host name using pure Go resolver (using/etc/resolv.conf). --- go.mod | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 go.mod (limited to 'go.mod') diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..0b6423c --- /dev/null +++ b/go.mod @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: 2026 M. Shulhan + +module github.com/shuLhan/compute-archlinux-image-builder + +go 1.25.0 -- cgit v1.3