DNSBLOG(8)

πŸ“¦
version 3.11.7 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– dnsblog β€” the Postfix DNS allow/denylist logger, bestie πŸ’–

okay so welcome to dnsblog(8) from the System Manager's Manual, and no this is not boring, this is the little server that does DNS allow/denylist lookups for you and it's lowkey iconic πŸ¦‹


✨ NAME ✨

dnsblog β€” Postfix DNS allow/denylist logger. that's it, that's the whole job description, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

dnsblog [generic Postfix daemon options]

✨ DESCRIPTION ✨

so the dnsblog(8) server implements an ad-hoc DNS allow/denylist lookup service. like, it's a whole vibe. πŸŽ€

heads up bestie: this may eventually be replaced by an UDP client that is built directly into the postscreen(8) server. so enjoy her while she's here fr fr 😭

✨ PROTOCOL ✨

okay so here's the tea, with each connection, the dnsblog(8) server receives a DNS allow/denylist domain name, an IP address, and an ID. 🫢

if the IP address is listed under the DNS allow/denylist, the dnsblog(8) server logs the match and replies with the query arguments plus an address list with the resulting IP addresses, separated by whitespace, and the reply TTL. slay. ✨

otherwise it replies with the query arguments plus an empty address list and the reply TTL β€” and the reply TTL is -1 if there is no reply, or a negative reply that contains no SOA record. πŸ™ˆ

finally, the dnsblog(8) server closes the connection. bye bestie πŸ‘‹


✨ DIAGNOSTICS ✨

problems and transactions are logged to syslogd(8) or postlogd(8). she's not quiet about her feelings πŸ’œ


✨ CONFIGURATION PARAMETERS ✨

changes to main.cf are picked up automatically, as dnsblog(8) processes run for only a limited amount of time. use the command postfix reload to speed up a change. no cap. ⚑

the text below provides only a parameter summary. see postconf(5) for more details including examples. πŸ‘‘

  • config_directory (see postconf -d output) β€” the default location of the Postfix main.cf and master.cf configuration files.
  • daemon_timeout (18000s) β€” how much time a Postfix daemon process may take to handle a request before it is terminated by a built-in watchdog timer.
  • postscreen_dnsbl_sites (empty) β€” optional list of patterns with DNS allow/denylist domains, filters and weight factors.
  • ipc_timeout (3600s) β€” the time limit for sending or receiving information over an internal communication channel.
  • process_id (read-only) β€” the process ID of a Postfix command or daemon process.
  • process_name (read-only) β€” the process name of a Postfix command or daemon process.
  • queue_directory (see postconf -d output) β€” the location of the Postfix top-level queue directory.
  • syslog_facility (mail) β€” the syslog facility of Postfix logging.
  • syslog_name (see postconf -d output) β€” a prefix that is prepended to the process name in syslog records, so that, for example, "smtpd" becomes "prefix/smtpd".

🌈 available in Postfix 3.3 and later:

  • service_name (read-only) β€” the master.cf service name of a Postfix daemon process.

✨ SEE ALSO ✨


✨ LICENSE ✨

the Secure Mailer license must be distributed with this software. periodt. πŸ’…


✨ HISTORY ✨

this service was introduced with Postfix version 2.8. she's been serving looks since day one πŸ‘‘


✨ AUTHOR(S) ✨

Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA

Wietse Venema Google, Inc. 111 8th Avenue New York, NY 10011, USA


okay that's the whole page bestie, mwah πŸ’– this was the dnsblog(8) page from the System Manager's Manual, and the footer said DNSBLOG(8) at the very bottom β€” so consider this your cute little sign-off, love u, go log some DNS matches πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from