7.3 on page 902).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
908 | Chapter 23: The K (Database-Map) Configuration Command
these switches can be overridden for FEATURE(dnsbl) using the DNSBL_MAP_OPT mc
configuration macro (?§7.2.1 on page 261). For FEATURE(enhdnsbl), the timeout for -r can
be changed using the EDNSBL_TO mc configuration macro.
23.7.6.1 DNS database-map -B switch
As of V8.14, the -B database-map switchmay be used to add a domain specification that
will automatically be appended to each lookup. For example:
LOCAL_CONFIG
Ktxtlookup dns -RTXT -a.FOUND -Bexample.com
Here, if an unqualified host, such as hostA, is looked up, it has the domain example.com
appended to it to form hostA.example.com and the resulting hostname will be looked up. If
you use the -B switchto look up a fully qualified name (suchas www.example.com), the
domain is also appended (to form www.example.com.example.com) and the lookup will fail
or possibly return an unexpected value. Thus, we recommend that you use only -B to look
up unqualified hostname.
23.7.6.2 DNS database-map -Z switch
As of V8.14, the -Z database-map switchmay be used to limit the number of entries
returned on a successful lookup. For example:
LOCAL_CONFIG
Klookup dns -RA -z, -Z2
Here, the lookup database map will query for an A record.
Pages:
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602