All rights reserved.
906 | Chapter 23: The K (Database-Map) Configuration Command
If an -R value other than those in Table 23-11 is specified, the following two errors are
printed and logged. If the -R switch is omitted, only the second error is printed and logged:
configfile: line num: dns map lookup: wrong type bad -R value
configfile: line num: dns map lookup: missing -R type
To make this dns database-map type more useful, the switches shown in Table 23-12 are
also available for your use.
One possible use for this dns database map might be to do a reverse lookup of a connecting
host??™s address and to defer the message if that address does not resolve.* Consider the
following mc configuration, for example:
MX Return a best MX record for the host (RFC1035).
NS Return a name server record (RFC1035).
PTR Return the hostname that corresponds to an IP record (RFC1035).
SRV Return the port to use for a service (RFC2782).
TXT Return general (human-readable) information (RFC1035).
Table 23-12. The dns database-map type K command switches
Switch ?§ Description
-A ?§23.3.1 on page 886 Append values for duplicate keys.
-a ?§23.3.2 on page 887 Append tag on successful match.
-B ?§23.7.6.1 on page 908 Specify domain to append to all queries (V8.14 and later).
-d ?§24.9.119.22 on page 1108 The res_search( ) _res.retry interval (V8.
Pages:
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598