On 09/12/2012 11:16 AM, gene(a)czarc.net wrote:
From: Gene Czarcinski <gene(a)czarc.net>
For networks which dnsmasq has "--listen-address" specified, add
the command line parameter so that any dns PTR queries for those
networks are not forwarded.
Are you certain this will never be desired? If dnsmasq "owns" the
network, then shouldn't it simply be answering these queries (and if it
doesn't, doesn't that imply that dnsmasq disagrees with the assertion
that it owns the network?)
(on the subject of PTRs, I've never quite decided what annoys me more -
admins who don't properly setup PTR records for all of their hosts, or
software that believes the ability to successfully resolve the PTR for a
client's IP address somehow makes that client more "legitimate". All
those wasted hours waiting for sshd or ftpd to connect just because my
ISP doesn't have a PTR for the IP address they gave me...)
There are separate patches for IPv4 and IPv6.
Gene Czarcinski (2):
IPV4 local=/....in-addr.arpa/
IPv6 local=/...ip6.arpa/
src/network/bridge_driver.c | 32 ++++++++++++++++++++++
tests/networkxml2argvdata/isolated-network.argv | 1 +
.../networkxml2argvdata/nat-network-dns-hosts.argv | 1 +
.../nat-network-dns-srv-record-minimal.argv | 5 ++++
.../nat-network-dns-srv-record.argv | 5 ++++
.../nat-network-dns-txt-record.argv | 11 ++++++--
tests/networkxml2argvdata/nat-network.argv | 18 ++++++++++--
tests/networkxml2argvdata/nat-network.xml | 4 +++
tests/networkxml2argvdata/netboot-network.argv | 1 +
.../networkxml2argvdata/netboot-proxy-network.argv | 1 +
tests/networkxml2argvdata/routed-network.argv | 3 +-
11 files changed, 76 insertions(+), 6 deletions(-)