Allow ISC BIND to Perform Recursive Reverse Lookups of LAN IP Addresses
ISC BIND sends immediate and authoritative NXDOMAIN responses to recursive lookups of LAN addresses by default. This prevents recursive lookup servers from sending meaningless requests to other DNS servers on the Internet. This tutorial will cover how recursive reverse lookups of LAN addresses can be enabled in BIND for lab environments and other special cases.
ISC BIND sends immediate and authoritative NXDOMAIN responses to recursive lookups of LAN addresses by default. This prevents recursive lookup servers from sending meaningless requests to other DNS servers on the Internet. This tutorial will cover how recursive reverse lookups of LAN addresses can be enabled in BIND for lab environments and other special cases.
BIND automatically creates empty zones defined in RFC 6303 to avoid meaningless lookups of LAN address. Below are some of the zones include in the list. For a more detailed explanation on how automatic empty zone works, please visit ISC’s documentation for BIND.
When BIND is started, these following messages can be found in syslog.
syslog logging the creation of automatic creations of empty zones
To allow recursive lookup servers to perform lookups for LAN addresses, the respective automatic empty zones must be disabled in BIND’s config. You may either disable specific automatic zones or disable the creation of all automatic empty zones altogether.
|
|
The screenshot below shows an example of disabling the automatic empty zone 168.192.IN-ADDR.ARPA
.
Modified BIND configuration file
Restart the BIND server after that, and recursive reverse lookups of LAN addresses should start working.
Successful recursive reverse lookup of LAN IP 192.168.14.80 using dig
最后修改于 2020-10-23