{
    "content": [
        {
            "type": "text",
            "text": "# DNSBLOG(8postfix) (man)\n\n**Summary:** dnsblog - Postfix DNS allow/denylist logger\n\n**Synopsis:** dnsblog [generic Postfix daemon options]\n\n## See Also\n\n- smtpd(8)\n- postconf(5)\n- postlogd(8)\n- syslogd(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **PROTOCOL** (8 lines)\n- **DIAGNOSTICS** (2 lines)\n- **CONFIGURATION PARAMETERS** (41 lines)\n- **SEE ALSO** (5 lines)\n- **LICENSE** (2 lines)\n- **HISTORY** (16 lines)\n\n## Full Content\n\n### NAME\n\ndnsblog - Postfix DNS allow/denylist logger\n\n### SYNOPSIS\n\ndnsblog [generic Postfix daemon options]\n\n### DESCRIPTION\n\nThe  dnsblog(8) server implements an ad-hoc DNS allow/denylist lookup service. This may even‐\ntually be replaced by an UDP client that is built directly into the postscreen(8) server.\n\n### PROTOCOL\n\nWith each connection, the dnsblog(8) server receives a DNS allow/denylist domain name, an  IP\naddress, and an ID.  If the IP address is listed under the DNS allow/denylist, the dnsblog(8)\nserver logs the match and replies with the query arguments plus an address list with the  re‐\nsulting  IP addresses, separated by whitespace, and the reply TTL.  Otherwise it replies with\nthe query arguments plus an empty address list and the reply TTL; the  reply  TTL  is  -1  if\nthere  is no reply, or a negative reply that contains no SOA record.  Finally, the dnsblog(8)\nserver closes the connection.\n\n### DIAGNOSTICS\n\nProblems and transactions are logged to syslogd(8) or postlogd(8).\n\n### CONFIGURATION PARAMETERS\n\nChanges to main.cf are picked up automatically, as dnsblog(8) processes run for only  a  lim‐\nited amount of time. Use the command \"postfix reload\" to speed up a change.\n\nThe  text below provides only a parameter summary. See postconf(5) for more details including\nexamples.\n\nconfigdirectory (see 'postconf -d' output)\nThe default location of the Postfix main.cf and master.cf configuration files.\n\ndaemontimeout (18000s)\nHow much time a Postfix daemon process may take to handle a request before it is  ter‐\nminated by a built-in watchdog timer.\n\npostscreendnsblsites (empty)\nOptional list of DNS allow/denylist domains, filters and weight factors.\n\nipctimeout (3600s)\nThe  time  limit  for  sending or receiving information over an internal communication\nchannel.\n\nprocessid (read-only)\nThe process ID of a Postfix command or daemon process.\n\nprocessname (read-only)\nThe process name of a Postfix command or daemon process.\n\nqueuedirectory (see 'postconf -d' output)\nThe location of the Postfix top-level queue directory.\n\nsyslogfacility (mail)\nThe syslog facility of Postfix logging.\n\nsyslogname (see 'postconf -d' output)\nA prefix that is prepended to the process name in syslog records, so that,  for  exam‐\nple, \"smtpd\" becomes \"prefix/smtpd\".\n\nAvailable in Postfix 3.3 and later:\n\nservicename (read-only)\nThe master.cf service name of a Postfix daemon process.\n\n### SEE ALSO\n\nsmtpd(8), Postfix SMTP server\npostconf(5), configuration parameters\npostlogd(8), Postfix logging\nsyslogd(8), system logging\n\n### LICENSE\n\nThe Secure Mailer license must be distributed with this software.\n\n### HISTORY\n\nThis service was introduced with Postfix version 2.8.\n\nAUTHOR(S)\nWietse Venema\nIBM T.J. Watson Research\nP.O. Box 704\nYorktown Heights, NY 10598, USA\n\nWietse Venema\nGoogle, Inc.\n111 8th Avenue\nNew York, NY 10011, USA\n\n\n\nDNSBLOG(8postfix)\n\n"
        }
    ],
    "structuredContent": {
        "command": "DNSBLOG",
        "section": "8postfix",
        "mode": "man",
        "summary": "dnsblog - Postfix DNS allow/denylist logger",
        "synopsis": "dnsblog [generic Postfix daemon options]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "smtpd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/smtpd/8/json"
            },
            {
                "name": "postconf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/postconf/5/json"
            },
            {
                "name": "postlogd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/postlogd/8/json"
            },
            {
                "name": "syslogd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/syslogd/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "PROTOCOL",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONFIGURATION PARAMETERS",
                "lines": 41,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 16,
                "subsections": []
            }
        ]
    }
}