diff --git a/build/sdns/build.sh b/build/sdns/build.sh
new file mode 100755
index 000000000..dd7c801aa
--- /dev/null
+++ b/build/sdns/build.sh
@@ -0,0 +1,70 @@
+#!/usr/bin/bash
+#
+# {{{ CDDL HEADER
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+# }}}
+
+# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
+
+. ../../lib/build.sh
+
+PROG=sdns
+VER=1.3.7
+PKG=ooce/network/sdns
+SUMMARY="sdns"
+DESC="Simple DNS Server"
+
+set_arch 64
+set_gover 1.22
+
+# No configure
+pre_configure() { false; }
+
+CONFIG=etc/${PREFIX#/}/$PROG
+DATA=var/${PREFIX#/}/$PROG
+
+XFORM_ARGS="
+ -DPREFIX=${PREFIX#/}
+ -DPROG=$PROG
+ -DVERSION=$VER
+ -DUSER=sdns -DGROUP=sdns
+ -DCONFIG=$CONFIG
+ -DDATA=$DATA
+ -DXDG_CONFIG=${CONFIG%/$PROG}
+ -DXDG_DATA=${DATA%/$PROG}
+"
+
+build() {
+ pushd $TMPDIR/$BUILDDIR > /dev/null
+
+ logmsg "Building $PROG"
+ export CGO_ENABLED=0
+ export GOOS=illumos
+
+ logcmd go build || logerr "Unable to build $PROG"
+
+ popd >/dev/null
+}
+
+init
+clone_go_source $PROG semihalev v$VER
+patch_source
+print_config
+prep_build
+build
+install_go $PROG
+xform files/$PROG-template.xml > $TMPDIR/$PROG.xml
+install_smf network $PROG.xml
+make_package
+clean_up
+
+# Vim hints
+# vim:ts=4:sw=4:et:fdm=marker
diff --git a/build/sdns/files/sdns-template.xml b/build/sdns/files/sdns-template.xml
new file mode 100644
index 000000000..86a2ddc3a
--- /dev/null
+++ b/build/sdns/files/sdns-template.xml
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sdns $(VERSION)
+
+
+
+
+
+
+
+
+
+
diff --git a/build/sdns/local.mog b/build/sdns/local.mog
new file mode 100644
index 000000000..d9ff47e80
--- /dev/null
+++ b/build/sdns/local.mog
@@ -0,0 +1,26 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+
+# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
+
+license LICENSE license=MIT
+
+dir path=$(CONFIG) owner=$(USER) group=$(GROUP) mode=0700
+dir path=$(DATA) owner=$(USER) group=$(GROUP) mode=0700
+dir path=var/log/$(PREFIX)/$(PROG) owner=$(USER) group=$(GROUP) mode=0755
+
+group groupname=$(GROUP) gid=35
+user ftpuser=false username=$(USER) uid=35 group=$(GROUP) \
+ gcos-field="SDNS User" home-dir=/$(DATA) password=NP
+
+ set preserve true>
+
+ \
+ set restart_fmri svc:/network/sdns:default>
diff --git a/doc/idlist.md b/doc/idlist.md
index 2a219142a..dfbd714e3 100644
--- a/doc/idlist.md
+++ b/doc/idlist.md
@@ -85,6 +85,7 @@
| illumos | 25 | smmsp
| extra | 27 | postfix
| extra | 28 | postdrop
+| extra | 35 | sdns
| extra | 45 | sasl
| illumos | 50 | gdm
| illumos | 52 | upnp