walldns-conf(8)

πŸ“¦
version 1.05 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… walldns-conf β€” like, the manual page, bestie ✨

okay so you found walldns-conf(8) from the System Manager's Manual and you're like "what is this" β€” don't worry, I got you. pull up a chair, grab a boba πŸ§‹, and let's get into it.


🌸 NAME 🌸

walldns-conf β€” it sets up a DNS wall service. that's the whole vibe. a whole wall. for DNS. 🧱✨


πŸ¦‹ SYNOPSIS πŸ¦‹

walldns-conf acct logacct D ip

four little arguments and you're done, no cap.


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea 🍡: walldns-conf creates a service directory D that runs walldns(8).

about that name D β€” it must start with a slash /, and it must not contain any special characters. those are the rules, periodt. normally you'd use /etc/walldns because that's the classic, iconic, main-character choice. πŸ’…


✨ how to actually run the thing ✨

you've got two options and both are slay:

option one β€” on Debian GNU/Linux you can run the service under svscan(8) by using the update-service(8) program, like this:

update-service --add D

option two β€” or you can make a symbolic link in the svscan(8) directory (which is normally /service or /etc/service), like:

ln -s D /service

and then? 🫢 the service will start within five seconds, and it will be restarted upon reboot. so it just... keeps going. resilient queen. and you can use svc(8) to control the service whenever you want.


πŸ”’ the chroot + uid/gid situation πŸ”’

walldns-conf arranges for walldns to chroot to D/root and to run under the uid and gid of acct.

heads up bestie: the name acct must not contain any special characters. keep it clean. 🧼

🌈 the network part 🌈

walldns-conf arranges for walldns(8) to:

  • listen for UDP packets on port 53 of ip πŸ‘‚
  • send outgoing packets from ip πŸ“€

that's the whole networking mood. iconic.


πŸ“ logs, because we're organized πŸ“

walldns-conf creates an automatically rotated log directory in D/log/main. the logs are owned by logacct, and the corresponding multilog(8) processes run under the uid and gid of logacct.

and yes, the name logacct must not contain any special characters either. same energy as acct. πŸ’œ

πŸŽ€ SEE ALSO πŸŽ€

go read these next, they're all part of the family fr fr:

http://cr.yp.to/djbdns.html


and that's the page, bestie!! 🌟 this was walldns-conf(8) from the System Manager's Manual β€” go forth and set up your DNS wall, you absolute legend πŸ‘‘πŸ’–

πŸ“¦ where this page comes from