DNSBLOG(8postfix)
β¨ DNSBLOG(8postfix) β¨
okay bestie, buckle up, we're doing a whole manual page for dnsblog β yes that's the Postfix DNS allow/denylist logger, and yes she's a real one. this page lives in the Postfix 8 manual, so like, (8postfix) is her whole last name π
πΈ NAME πΈ
dnsblog β Postfix DNS allow/denylist logger π«Ά
π SYNOPSIS π
dnsblog [generic Postfix daemon options]
π¦ DESCRIPTION π¦
so the dnsblog(8) server is literally out here implementing an ad-hoc DNS allow/denylist lookup service. that's her job. that's the whole vibe.
and ngl, the tea is: this may eventually be replaced by a UDP client that is built directly into the postscreen(8) server. so she's iconic but possibly temporary, we don't make the rules π
π PROTOCOL π
every single time there's a connection, the dnsblog(8) server receives:
- a DNS allow/denylist domain name
- an IP address
- an ID
then it does the thing:
- if that 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. - otherwise β it replies with the query arguments plus an empty address list and the reply TTL.
and the reply TTL? it's -1 if there is no reply, or if it's a negative reply that contains no SOA record. yes, -1. that's the signal. π
finally β and this is the last step, don't skip it β the dnsblog(8) server closes the connection. bye bestie π«‘
π₯ DIAGNOSTICS π₯
problems and transactions get logged to syslogd(8) or postlogd(8). that's where the receipts live, fr fr.
β¨ CONFIGURATION PARAMETERS β¨
changes to main.cf are picked up automatically, as dnsblog(8) processes run for only a limited amount of time. and if you're impatient (same), use the command postfix reload to speed up a change. lowkey a life hack.
the text below provides only a parameter summary. see postconf(5) for more details including examples β she has the full lore.
config_directory(seepostconf -doutput) β the default location of the Postfixmain.cfandmaster.cfconfiguration 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. yes, there's a watchdog. she's watching. πpostscreen_dnsbl_sites(empty) β optional list of 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(seepostconf -doutput) β the location of the Postfix top-level queue directory.syslog_facility(mail) β the syslog facility of Postfix logging.syslog_name(seepostconf -doutput) β a prefix that is prepended to the process name in syslog records, so that, for example,smtpdbecomesprefix/smtpd. cute little name tag honestly.
π Available in Postfix 3.3 and later:
service_name(read-only) β themaster.cfservice name of a Postfix daemon process.
β SEE ALSO β
smtpd(8), Postfix SMTP serverpostconf(5), configuration parameterspostlogd(8), Postfix loggingsyslogd(8), system logging
π LICENSE π
the Secure Mailer license must be distributed with this software. not optional bestie, it's the law of the land.
π§ HISTORY π§
this service was introduced with Postfix version 2.8. a whole era. an icon was born. β¨
π 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
and that's the whole page, bestie π«Ά the footer down there just says DNSBLOG(8postfix) β the Postfix 8 manual tag, that's the source/version vibe, no date in sight, so that's all the tea we have. go forth and let the denylist know. π
π
π¦ where this page comes from
- debian bookworm: postfix 3.7.11-0+deb12u1
- ubuntu jammy: postfix 3.6.4-1ubuntu1
- ubuntu jammy: postfix 3.6.4-1ubuntu1.4
- ubuntu noble: postfix 3.8.6-1build2
- ubuntu noble: postfix 3.8.6-1ubuntu0.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms