On Wed, Mar 30, 2016 at 01:05:32PM -0400, Jeff Weber wrote: > I'm using dnsmasq as a local dns cache on some servers and I've > noticed recently (due to some buggy software) that if you dig for > an ip address you get an A record back which is set to that ip
The proper use of dig of an IP address (for example, 192.0.2.53) is "dig -x 192.0.2.53". This changes the query to a type PTR for 53.2.0.192.in-addr.arpa. By default dig queries for A, and "dig 192.0.2.53" will cause a recursive server to ask the root servers for a "53" top-level domain. The fact that ICANN has not yet tried to turn all-numeric TLDs into money makers notwithstanding, there is no protocol reason why it cannot be done. > address. I went through the manual and wasn't able to find an > option which seems like it could make this configurable. Is there a > way to turn this response into an NXDOMAIN instead of returning the > synthesized A record? > > I'm using dnsmasq verision 2.66 on a Centos 7 machine. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss